From d3d6065f7e946b649486f290592c182e380d643c Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Thu, 23 Jun 2022 07:14:55 -0700 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces Added SPDX-license-identifier-Apache-2.0 to: boot/aidl/client/Android.bp boot/aidl/default/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: I2bddc0d13a4de6a5766de85fdf432fd05d84a581 --- boot/aidl/client/Android.bp | 11 ++++++++++- boot/aidl/default/Android.bp | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/boot/aidl/client/Android.bp b/boot/aidl/client/Android.bp index 3e97e07276..db4a7ea7d1 100644 --- a/boot/aidl/client/Android.bp +++ b/boot/aidl/client/Android.bp @@ -1,5 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "hardware_interfaces_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["hardware_interfaces_license"], +} + cc_library { name: "libboot_control_client", srcs: [ @@ -19,4 +28,4 @@ cc_library { "libcutils", "libutils", ], -} \ No newline at end of file +} diff --git a/boot/aidl/default/Android.bp b/boot/aidl/default/Android.bp index 7294faaf89..6aefae835d 100644 --- a/boot/aidl/default/Android.bp +++ b/boot/aidl/default/Android.bp @@ -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 "hardware_interfaces_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["hardware_interfaces_license"], +} + cc_binary { name: "android.hardware.boot-service.default", defaults: ["libboot_control_defaults"],