summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 15:24:44 -0800
committerBob Badour <bbadour@google.com>2021-02-12 15:24:44 -0800
commite4623ae2a0cabc4f1c609e10f87352e6ab5e5594 (patch)
tree2df0d39003b106b50723c9662b93579ec688e627
parent0d3ae0b108a507cf384466b457f04be5f3718b82 (diff)
downloadapache-harmony-e4623ae2a0cabc4f1c609e10f87352e6ab5e5594.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/apache-harmony
Added SPDX-license-identifier-Apache-2.0 to: Android.bp jdwp/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I1a0ca88f23cd028f898bc2f221f8fdb346a5d3a9
-rw-r--r--Android.bp14
-rw-r--r--jdwp/Android.bp24
2 files changed, 38 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a5f80dc..e01b0af 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,20 @@
package {
default_visibility: ["//visibility:private"],
+ default_applicable_licenses: ["external_apache-harmony_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_apache-harmony_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
}
java_test {
diff --git a/jdwp/Android.bp b/jdwp/Android.bp
index 507bef8..83e3d28 100644
--- a/jdwp/Android.bp
+++ b/jdwp/Android.bp
@@ -1,3 +1,27 @@
+package {
+ default_applicable_licenses: ["external_apache-harmony_jdwp_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_apache-harmony_jdwp_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "COPYRIGHT.txt",
+ "LICENSE.txt",
+ "NOTICE.txt",
+ ],
+}
+
java_genrule {
name: "SourceDebugExtensionMockClass_gen",
host_supported: true,