[LSC] Add LOCAL_LICENSE_KINDS to system/update_engine
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
stable/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I00a538119e8d043812779dfb7a911347c6526cb6
diff --git a/Android.bp b/Android.bp
index be37dba..4ec17f2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -15,6 +15,23 @@
//
// AIDL interface between libupdate_engine and framework.jar
+package {
+ default_applicable_licenses: ["system_update_engine_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "system_update_engine_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
filegroup {
name: "libupdate_engine_aidl",
srcs: [
diff --git a/stable/Android.bp b/stable/Android.bp
index 95188e4..5e54e9a 100644
--- a/stable/Android.bp
+++ b/stable/Android.bp
@@ -16,6 +16,15 @@
// Stable AIDL interface between update_engine and other APEXes
// ========================================================
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "system_update_engine_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["system_update_engine_license"],
+}
+
aidl_interface {
name: "libupdate_engine_stable",