[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy

Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  audio/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Id879ff71929846da71ae2df96ab748a4ad464d82
This commit is contained in:
Bob Badour 2021-02-12 16:32:13 -08:00
parent 1da7880c26
commit 9380e9875c
2 changed files with 26 additions and 0 deletions

View file

@ -1,5 +1,22 @@
// Copyright 2006 The Android Open Source Project // Copyright 2006 The Android Open Source Project
package {
default_applicable_licenses: ["hardware_libhardware_legacy_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "hardware_libhardware_legacy_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
cc_library_headers { cc_library_headers {
name: "libhardware_legacy_headers", name: "libhardware_legacy_headers",
vendor_available: true, vendor_available: true,

View file

@ -3,6 +3,15 @@
//AUDIO_POLICY_TEST := true //AUDIO_POLICY_TEST := true
//ENABLE_AUDIO_DUMP := true //ENABLE_AUDIO_DUMP := true
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_libhardware_legacy_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_libhardware_legacy_license"],
}
cc_library_static { cc_library_static {
srcs: [ srcs: [