From 0b89431377bc571aaccf29ed264a74a2baece4be Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Mon, 15 Mar 2021 09:22:30 -0700 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to hardware/samsung/nfc Added SPDX-license-identifier-Apache-2.0 to: 1.2/Android.bp Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie989c7e6faa26c77b492621806c675f4d005994a --- 1.2/Android.bp | 9 +++++++++ Android.bp | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/1.2/Android.bp b/1.2/Android.bp index fbd21fe..a1e8f4e 100644 --- a/1.2/Android.bp +++ b/1.2/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 "hardware_samsung_nfc_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["hardware_samsung_nfc_license"], +} + cc_binary { name: "android.hardware.nfc@1.2-service.samsung", defaults: ["hidl_defaults"], diff --git a/Android.bp b/Android.bp index 4bcd3b8..260b21a 100644 --- a/Android.bp +++ b/Android.bp @@ -13,6 +13,23 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["hardware_samsung_nfc_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "hardware_samsung_nfc_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + license_text: [ + "LICENSE", + ], +} + cc_library_shared { name: "nfc_nci_samsung", defaults: ["hidl_defaults"], -- 2.20.1