diff options
author | Bob Badour <bbadour@google.com> | 2021-08-30 17:35:23 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-30 17:35:23 +0000 |
commit | e8e1438297307003e4b36a8a0ac069a0c8d78cb4 (patch) | |
tree | 1bc95372a70db49e663d2935b02ff4f69e0bd0f5 | |
parent | 9e8bf7b3ac85d220cf8934718d322cae52f411ed (diff) | |
parent | 6a57bb5859f84b6fc13b4d43c0299244e4e43963 (diff) | |
download | rustc-demangle-capi-e8e1438297307003e4b36a8a0ac069a0c8d78cb4.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/rustc-demangle-capi am: 8c12a5b491 am: 2f9ee13f4e am: 082cc40d29 am: 6a57bb5859
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rustc-demangle-capi/+/1811077
Change-Id: Ibda7b35c6ac62ad9e15f05f22dd080de2e5e2f94
-rw-r--r-- | Android.bp | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -3,6 +3,44 @@ +package { + default_applicable_licenses: [ + "external_rust_crates_rustc-demangle-capi_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. +// +// 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_rust_crates_rustc-demangle-capi_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE-APACHE", + "LICENSE-MIT", + ], +} + rust_ffi_static { name: "librustc_demangle_static", stem: "librustc_demangle", |