From 390b27e46cc178ba67fe54f35140272ed1b37367 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Fri, 19 Mar 2021 04:22:23 -0700 Subject: [PATCH] [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3 Added SPDX-license-identifier-Apache-2.0 to: quickstep/Android.bp robolectric_tests/Android.bp tests/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I699e0796410f691ae7cf4802c41987d79e4e486d --- quickstep/Android.bp | 9 +++++++++ robolectric_tests/Android.bp | 10 +++++++++- tests/Android.bp | 9 +++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/quickstep/Android.bp b/quickstep/Android.bp index 585b6ada88..38c9919b07 100644 --- a/quickstep/Android.bp +++ b/quickstep/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 "packages_apps_Launcher3_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["packages_apps_Launcher3_license"], +} + filegroup { name: "launcher3-quickstep-robolectric-src", path: "robolectric_tests", diff --git a/robolectric_tests/Android.bp b/robolectric_tests/Android.bp index 50309b7902..bf323623b2 100644 --- a/robolectric_tests/Android.bp +++ b/robolectric_tests/Android.bp @@ -16,6 +16,15 @@ // Launcher Robolectric test target. // // "robolectric_android-all-stub", not needed, we write our own stubs +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "packages_apps_Launcher3_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["packages_apps_Launcher3_license"], +} + filegroup { name: "launcher3-robolectric-resources", path: "resources", @@ -47,4 +56,3 @@ android_robolectric_test { timeout: 36000, }, } - diff --git a/tests/Android.bp b/tests/Android.bp index 8a73483bb3..da55c28684 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -11,6 +11,15 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // 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 "packages_apps_Launcher3_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["packages_apps_Launcher3_license"], +} + filegroup { name: "launcher3-test-src-common", srcs: ["src_common/**/*.java"],