summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-04 00:12:25 -0800
committerBob Badour <bbadour@google.com>2021-02-05 01:25:25 -0800
commit4ab8a116d604baa9f1cbf0b80191e459ee63a1fa (patch)
tree21bdaac6c970b4a2c39847feed24a5d1a5a469e6
parent294b61b1ab3adc67024dfa2226df0cab9fe68df2 (diff)
downloadCertInstaller-4ab8a116d604baa9f1cbf0b80191e459ee63a1fa.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/CertInstaller
Added SPDX-license-identifier-Apache-2.0 to: Android.bp robotests/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia5d23012a31c58cdf87274913d55d92c032089a7
-rw-r--r--Android.bp17
-rw-r--r--robotests/Android.bp10
2 files changed, 26 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index aeebb6b..9bc8795 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["packages_apps_CertInstaller_license"],
+}
+
+// Added automatically by a large-scale-change
+// http://go/android-license-faq
+license {
+ name: "packages_apps_CertInstaller_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "CertInstaller",
static_libs: [
diff --git a/robotests/Android.bp b/robotests/Android.bp
index 546850b..63de5d5 100644
--- a/robotests/Android.bp
+++ b/robotests/Android.bp
@@ -2,6 +2,14 @@
// CertInstaller Robolectric test target. #
//############################################################
+package {
+ // http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "packages_apps_CertInstaller_license":
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_apps_CertInstaller_license"],
+}
+
android_robolectric_test {
name: "CertInstallerRoboTests",
@@ -10,4 +18,4 @@ android_robolectric_test {
java_resource_dirs: ["config"],
instrumentation_for: "CertInstaller",
-} \ No newline at end of file
+}