[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/ExtServices
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
apex/Android.bp
apex/testing/Android.bp
tests/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ibc09ab4efe77b31b83f69f38432dbb68c389a7f6
diff --git a/Android.bp b/Android.bp
index 9493437..e0173a0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["packages_modules_ExtServices_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "packages_modules_ExtServices_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_library {
name: "ExtServices-core",
srcs: [
diff --git a/apex/Android.bp b/apex/Android.bp
index 0c6c4c2..63e63ad 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -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_ExtServices_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_modules_ExtServices_license"],
+}
+
apex {
name: "com.android.extservices",
defaults: ["com.android.extservices-defaults"],
diff --git a/apex/testing/Android.bp b/apex/testing/Android.bp
index 88a4724..3dbc5fb 100644
--- a/apex/testing/Android.bp
+++ b/apex/testing/Android.bp
@@ -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_ExtServices_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_modules_ExtServices_license"],
+}
+
apex_test {
name: "test_com.android.extservices",
visibility: [
diff --git a/tests/Android.bp b/tests/Android.bp
index 5d0111b..1dc3fca 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -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_ExtServices_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_modules_ExtServices_license"],
+}
+
android_test {
name: "ExtServicesUnitTests",