Skip to content

Commit

Permalink
[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/adb
Browse files Browse the repository at this point in the history
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  apex/Android.bp
  crypto/Android.bp
  crypto/tests/Android.bp
  fastdeploy/Android.bp
  libs/adbconnection/Android.bp
  libs/libadbd_fs/Android.bp
  pairing_auth/Android.bp
  pairing_auth/tests/Android.bp
  pairing_connection/Android.bp
  pairing_connection/tests/Android.bp
  proto/Android.bp
  tls/Android.bp
  tls/tests/Android.bp
  tools/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Id2087906a4e095ad8380cc646299b3739d82aed9
  • Loading branch information
bbadour committed Feb 13, 2021
1 parent 8df5407 commit 4a6774b
Show file tree
Hide file tree
Showing 15 changed files with 143 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
default_applicable_licenses: ["packages_modules_adb_license"],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "packages_modules_adb_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}

tidy_errors = [
"-*",
"bugprone-inaccurate-erase",
Expand Down
9 changes: 9 additions & 0 deletions apex/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

apex_defaults {
name: "com.android.adbd-defaults",
updatable: true,
Expand Down
9 changes: 9 additions & 0 deletions crypto/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_defaults {
name: "libadb_crypto_defaults",
cflags: [
Expand Down
9 changes: 9 additions & 0 deletions crypto/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
// limitations under the License.
//

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_test {
name: "adb_crypto_test",
srcs: [
Expand Down
9 changes: 9 additions & 0 deletions fastdeploy/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

java_library {
name: "deployagent_lib",
sdk_version: "24",
Expand Down
9 changes: 9 additions & 0 deletions libs/adbconnection/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
// =========================================================
// libadbconnection_client/server implement the socket handling for jdwp
// forwarding and the track-jdwp service.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_library {
name: "libadbconnection_server",
srcs: ["adbconnection_server.cpp"],
Expand Down
9 changes: 9 additions & 0 deletions libs/libadbd_fs/Android.bp
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
// libadbd_fs
// =========================================================
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_library {
name: "libadbd_fs",
defaults: ["adbd_defaults"],
Expand Down
9 changes: 9 additions & 0 deletions pairing_auth/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_defaults {
name: "libadb_pairing_auth_defaults",
cflags: [
Expand Down
9 changes: 9 additions & 0 deletions pairing_auth/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
// limitations under the License.
//

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_test {
name: "adb_pairing_auth_test",
srcs: [
Expand Down
9 changes: 9 additions & 0 deletions pairing_connection/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_defaults {
name: "libadb_pairing_connection_defaults",
cflags: [
Expand Down
9 changes: 9 additions & 0 deletions pairing_connection/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
// limitations under the License.
//

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_test {
name: "adb_pairing_connection_test",
srcs: [
Expand Down
9 changes: 9 additions & 0 deletions proto/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_defaults {
name: "libadb_protos_defaults",
cflags: [
Expand Down
9 changes: 9 additions & 0 deletions tls/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_defaults {
name: "libadb_tls_connection_defaults",
cflags: [
Expand Down
9 changes: 9 additions & 0 deletions tls/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
// limitations under the License.
//

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_test {
name: "adb_tls_connection_test",
srcs: [
Expand Down
9 changes: 9 additions & 0 deletions tools/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "packages_modules_adb_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_modules_adb_license"],
}

cc_binary_host {
name: "check_ms_os_desc",

Expand Down

0 comments on commit 4a6774b

Please sign in to comment.