diff --git a/Android.bp b/Android.bp index 4ddf7e6..c10cff3 100644 --- a/Android.bp +++ b/Android.bp @@ -1,5 +1,22 @@ // 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 { name: "libhardware_legacy_headers", vendor_available: true, diff --git a/audio/Android.bp b/audio/Android.bp index b4c0799..5695e84 100644 --- a/audio/Android.bp +++ b/audio/Android.bp @@ -3,6 +3,15 @@ //AUDIO_POLICY_TEST := 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 { srcs: [