aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-26 03:25:07 -0800
committerBob Badour <bbadour@google.com>2021-02-26 03:25:07 -0800
commit8f16ce8c889b4de1c1252aafe2576d5d7c50539b (patch)
treed5e2f7181bd9c53349fc833a43987aacbb1a721f
parent4737f5c18e5cd04b69e607d99ce872254da04fce (diff)
downloadclang-sys-8f16ce8c889b4de1c1252aafe2576d5d7c50539b.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/clang-sys
Added SPDX-license-identifier-Apache-2.0 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ic21b162132f91a4a164550aeb5bc1846dfc37a69
-rw-r--r--Android.bp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d3d6269..52b841f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,23 @@
// This file is generated by cargo2android.py --run --features=runtime,clang_10_0 --dependencies --copy-out.
// Do not modify this file as changes will be overridden on upgrade.
+package {
+ default_applicable_licenses: ["external_rust_crates_clang-sys_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_rust_crates_clang-sys_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE.txt",
+ ],
+}
+
genrule {
name: "copy_clang-sys_build_out",
srcs: ["out/*"],