From 6acef468ccc7c9767b9dcf859fd484558d2a72a0 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Wed, 5 Jan 2022 11:14:10 -0800 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces Added SPDX-license-identifier-Apache-2.0 to: ir/aidl/Android.bp ir/aidl/default/Android.bp wifi/supplicant/aidl/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: I6796bb068122811520f911c0376b7f6caecf471c --- ir/aidl/Android.bp | 9 +++++++++ ir/aidl/default/Android.bp | 9 +++++++++ wifi/supplicant/aidl/Android.bp | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/ir/aidl/Android.bp b/ir/aidl/Android.bp index 6dacb858d2..a623491c36 100644 --- a/ir/aidl/Android.bp +++ b/ir/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.ir", vendor_available: true, diff --git a/ir/aidl/default/Android.bp b/ir/aidl/default/Android.bp index 6519664dec..a4fb439566 100644 --- a/ir/aidl/default/Android.bp +++ b/ir/aidl/default/Android.bp @@ -13,6 +13,15 @@ // limitations under the License. // Example binder service of the ir HAL. +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.ir-service.example", relative_install_path: "hw", diff --git a/wifi/supplicant/aidl/Android.bp b/wifi/supplicant/aidl/Android.bp index c97a6f917c..d00dd2189f 100644 --- a/wifi/supplicant/aidl/Android.bp +++ b/wifi/supplicant/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.wifi.supplicant", vendor_available: true,