diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 15:09:06 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-16 18:55:18 -0800 |
commit | 55c6984c1a7689d6fead25264b47d6170dc7d214 (patch) | |
tree | c9e3e84e694e9ec706b8052678d853bc2dad43c3 | |
parent | 022ce5de1fd13002c5a507fc2117d048046d1b48 (diff) | |
download | p9-55c6984c1a7689d6fead25264b47d6170dc7d214.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/vm_tools/p9android-s-preview-1
Added SPDX-license-identifier-BSD to:
Android.bp
wire_format_derive/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: If4e71a32c2297db7e87bcb632404ec362b237211
-rw-r--r-- | Android.bp | 17 | ||||
-rw-r--r-- | wire_format_derive/Android.bp | 9 |
2 files changed, 26 insertions, 0 deletions
@@ -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", |