From 8a55a7b439e7b83ff62652dafc30bfeed9674c73 Mon Sep 17 00:00:00 2001 From: Baligh Uddin Date: Wed, 16 Feb 2022 00:04:59 +0000 Subject: [PATCH] Prepare to extract apex/media to packages/modules/Media - Use Android-Apache-2.0 as default license. - Adding visibility to non-existing path is there for post-migration path [ which currently does not exist ] -- it is not a build error to add non-existent paths to visibility. BUG: 171106157 Test: Local build and TH Change-Id: I4adea9da4df8f6ae51b9849dfd6a30bf22e28637 --- apex/media/Android.bp | 6 +----- apex/media/aidl/Android.bp | 6 +----- apex/media/framework/Android.bp | 7 ++----- apex/media/service/Android.bp | 6 +----- 4 files changed, 5 insertions(+), 20 deletions(-) diff --git a/apex/media/Android.bp b/apex/media/Android.bp index 1a710a98b0a9..96e88dd236db 100644 --- a/apex/media/Android.bp +++ b/apex/media/Android.bp @@ -18,11 +18,7 @@ package { "//frameworks/av/apex/testing", ], // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_base_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_base_license"], + default_applicable_licenses: ["Android-Apache-2.0"], } sdk { diff --git a/apex/media/aidl/Android.bp b/apex/media/aidl/Android.bp index 545a0cd884dc..4ba0d9b03b28 100644 --- a/apex/media/aidl/Android.bp +++ b/apex/media/aidl/Android.bp @@ -16,11 +16,7 @@ package { // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_base_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_base_license"], + default_applicable_licenses: ["Android-Apache-2.0"], } filegroup { diff --git a/apex/media/framework/Android.bp b/apex/media/framework/Android.bp index 6195f257ecd9..a5e6df1ffb8f 100644 --- a/apex/media/framework/Android.bp +++ b/apex/media/framework/Android.bp @@ -14,11 +14,7 @@ package { // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_base_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_base_license"], + default_applicable_licenses: ["Android-Apache-2.0"], } java_library { @@ -65,6 +61,7 @@ java_library { "//frameworks/av/apex:__subpackages__", "//frameworks/base/apex/media/service", "//frameworks/base/api", // For framework-all + "//packages/modules/Media/apex/service", ], } diff --git a/apex/media/service/Android.bp b/apex/media/service/Android.bp index 271fc5312f8f..19117357982a 100644 --- a/apex/media/service/Android.bp +++ b/apex/media/service/Android.bp @@ -13,11 +13,7 @@ // 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 "frameworks_base_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_base_license"], + default_applicable_licenses: ["Android-Apache-2.0"], } filegroup {