aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-10-06 23:35:19 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-10-06 23:35:19 +0000
commit56993146e72983c81969371f902f3766ac7d6d19 (patch)
treecf98d328cd4abc3044ab13f81849ab55acee58d9
parent67f0e75145731312ad36aecb230826f569c4a044 (diff)
parent5669589e07f9266ab42ffd3ce4cda4ac3ece0d5e (diff)
downloadconst-oid-56993146e72983c81969371f902f3766ac7d6d19.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/const-oid am: 3704e9fdb1 am: 51818e04c3 am: 5669589e07
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/const-oid/+/2238189 Change-Id: I5459c9181e7577a3bdf517799730f2fd193c980c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 72b04b3..c6af18a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,6 +3,36 @@
+package {
+ default_applicable_licenses: ["external_rust_crates_const-oid_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: "external_rust_crates_const-oid_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE-APACHE",
+ ],
+}
+
rust_library_host {
name: "libconst_oid",
crate_name: "const_oid",