summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:06:13 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:06:13 +0000
commit2debbf77372b5a458c12f9d9e4422910b60795db (patch)
treec9e3e84e694e9ec706b8052678d853bc2dad43c3
parentd55e87bf1dd79907474c4c3b0e22e35e28305fe8 (diff)
parentff971f4305db22bc52bb249a08b9c49862f29ee3 (diff)
downloadp9-2debbf77372b5a458c12f9d9e4422910b60795db.tar.gz
Snap for 7152399 from ff971f4305db22bc52bb249a08b9c49862f29ee3 to sc-release
Change-Id: I298e6323c12f484bb81bee530cba7a7c2e94d85d
-rw-r--r--Android.bp17
-rw-r--r--wire_format_derive/Android.bp9
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b3e3501..fe386a1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,22 @@
// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults.
+package {
+ default_applicable_licenses: ["external_vm_tools_p9_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_vm_tools_p9_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
rust_library {
name: "libp9",
defaults: ["crosvm_defaults"],
diff --git a/wire_format_derive/Android.bp b/wire_format_derive/Android.bp
index 16c163b..b5908db 100644
--- a/wire_format_derive/Android.bp
+++ b/wire_format_derive/Android.bp
@@ -1,5 +1,14 @@
// This file is generated by cargo2android.py --run --device --tests --dependencies --patch=patches/Android.bp.patch.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_vm_tools_p9_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["external_vm_tools_p9_license"],
+}
+
rust_proc_macro {
name: "libwire_format_derive",
crate_name: "wire_format_derive",