From 9ad034df97afca70301387aa1121ebd37c5bfe33 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Thu, 28 Apr 2022 11:35:47 -0700 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces Added SPDX-license-identifier-Apache-2.0 to: usb/aidl/Android.bp usb/aidl/default/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: I3ea2a006619b896e9ebac0c54bba67c8a4bb1b29 --- usb/aidl/Android.bp | 9 +++++++++ usb/aidl/default/Android.bp | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/usb/aidl/Android.bp b/usb/aidl/Android.bp index d1e9e680e9..f71cacb686 100644 --- a/usb/aidl/Android.bp +++ b/usb/aidl/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 "hardware_interfaces_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["hardware_interfaces_license"], +} + aidl_interface { name: "android.hardware.usb", vendor_available: true, diff --git a/usb/aidl/default/Android.bp b/usb/aidl/default/Android.bp index da0cff23c3..7cb2822312 100644 --- a/usb/aidl/default/Android.bp +++ b/usb/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.usb-service.example", relative_install_path: "hw",