From 0468ee620136f378aadc6b9a8900712104a7f8f5 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Thu, 15 Dec 2022 07:20:02 -0800 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces Added SPDX-license-identifier-Apache-2.0 to: media/bufferpool/aidl/Android.bp media/c2/aidl/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: Icfbfae758bef55aa82873350a9e119833bacbafb --- media/bufferpool/aidl/Android.bp | 9 +++++++++ media/c2/aidl/Android.bp | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/media/bufferpool/aidl/Android.bp b/media/bufferpool/aidl/Android.bp index 3b2ea3cd62..68ac4896be 100644 --- a/media/bufferpool/aidl/Android.bp +++ b/media/bufferpool/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.media.bufferpool2", vendor_available: true, diff --git a/media/c2/aidl/Android.bp b/media/c2/aidl/Android.bp index 10867c047e..3393edef7f 100644 --- a/media/c2/aidl/Android.bp +++ b/media/c2/aidl/Android.bp @@ -1,5 +1,14 @@ // This is the expected build file, but it may not be right in all cases +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.media.c2", vendor_available: true,