summaryrefslogtreecommitdiff
path: root/notification
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 14:41:13 -0800
committerBob Badour <bbadour@google.com>2021-02-17 12:37:23 -0800
commit23371eb2bd293a6237794e387ad140464c4f4482 (patch)
tree2890509814323d0a0f02ef73aaab62ba51234b77 /notification
parent28f04c2275457c87b26b01fb7be03f12fa10694a (diff)
downloadlibtextclassifier-23371eb2bd293a6237794e387ad140464c4f4482.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libtextclassifier
Added SPDX-license-identifier-Apache-2.0 to: java/Android.bp java/tests/instrumentation/Android.bp jni/Android.bp native/Android.bp notification/Android.bp notification/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered to: Android.bp abseil-cpp/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Iffb38a0ae9d3ed38efd07b9c8b1f9b2742a2fb04 Merged-in: Iffb38a0ae9d3ed38efd07b9c8b1f9b2742a2fb04
Diffstat (limited to 'notification')
-rw-r--r--notification/Android.bp9
-rw-r--r--notification/tests/Android.bp9
2 files changed, 18 insertions, 0 deletions
diff --git a/notification/Android.bp b/notification/Android.bp
index 966941d..277985b 100644
--- a/notification/Android.bp
+++ b/notification/Android.bp
@@ -15,6 +15,15 @@
//
// A library that contains all java classes with the AndroidManifest.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_libtextclassifier_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_libtextclassifier_license"],
+}
+
android_library {
name: "TextClassifierNotificationLib",
static_libs: ["TextClassifierNotificationLibNoManifest"],
diff --git a/notification/tests/Android.bp b/notification/tests/Android.bp
index d504496..903f6c4 100644
--- a/notification/tests/Android.bp
+++ b/notification/tests/Android.bp
@@ -14,6 +14,15 @@
// 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 "external_libtextclassifier_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_libtextclassifier_license"],
+}
+
android_test {
name: "TextClassifierNotificationTests",