aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 19:43:37 -0800
committerBob Badour <bbadour@google.com>2021-02-12 19:43:37 -0800
commit2690e046f42fd972bd8a52c291d8732dc02f9913 (patch)
tree342002c39fac0adbfbca05420258c5bcdfa74fd4 /Android.bp
parenta97c369d0ccbd5a254ebaa30fe0a53a762f206fe (diff)
downloadgrpc-grpc-java-2690e046f42fd972bd8a52c291d8732dc02f9913.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/grpc-grpc-javaandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to: Android.bp annotation-stubs/Android.bp auth/Android.bp compiler/Android.bp context/Android.bp core/Android.bp netty/shaded/Android.bp okhttp/Android.bp protobuf-lite/Android.bp protobuf/Android.bp stub/Android.bp testing/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I98975a2b1aa17d6a6b70cfa41f0b9ce6e217489b
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp25
1 files changed, 24 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 0fa5a64d5..d86573e20 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,29 @@
//
//
+package {
+ default_applicable_licenses: ["external_grpc-grpc-java_license"],
+}
+
+// Added automatically by a large-scale-change
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// See: http://go/android-license-faq
+license {
+ name: "external_grpc-grpc-java_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ "NOTICE.txt",
+ ],
+}
+
java_library_host {
name: "grpc-java",
static_libs: [
@@ -41,4 +64,4 @@ java_library {
"grpc-java-okhttp",
],
sdk_version: "current",
-} \ No newline at end of file
+}