summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-04-01 06:12:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-01 06:12:55 +0000
commitb05ead0f1f935a4018257d2b8b72dcbede88607e (patch)
tree122ccd305f9f3c6fc90f39e52d919e046eeb9169
parente7ff5bb9a4443c5444cfd6e93198a63175e43862 (diff)
parent6882f6db8b22ddf13c902c5549d7b56c278e0dc9 (diff)
downloadtools-temp_ab_7272582.tar.gz
Merge "[LSC] Add LOCAL_LICENSE_KINDS to prebuilts/tools" am: 646f69fcbb am: 6882f6db8btemp_ab_7272582
Original change: https://android-review.googlesource.com/c/platform/prebuilts/tools/+/1660788 Change-Id: I0cc9bcbe56b5b7e5dacf640e3e466c7bdf3b29c6
-rw-r--r--common/google-api-java-client/1.31.3/Android.bp38
1 files changed, 38 insertions, 0 deletions
diff --git a/common/google-api-java-client/1.31.3/Android.bp b/common/google-api-java-client/1.31.3/Android.bp
index 776d8317f..f79977264 100644
--- a/common/google-api-java-client/1.31.3/Android.bp
+++ b/common/google-api-java-client/1.31.3/Android.bp
@@ -14,6 +14,44 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: [
+ "prebuilts_tools_common_google-api-java-client_1.31.3_license",
+ ],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "prebuilts_tools_common_google-api-java-client_1.31.3_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-1.1",
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-CDDL",
+ "SPDX-license-identifier-CDDL-1.0",
+ "SPDX-license-identifier-CPL-1.0",
+ "SPDX-license-identifier-GPL-2.0",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "LICENSE.txt",
+ ],
+}
+
java_import_host {
name: "google-api-java-client-assembly",
jars: [