Generate license header with cargo_embargo.
Bug: 333524428
Test: Ran cargo_embargo, compared Android.bp.
Change-Id: Iac08958b883d58c397265d22c6910e69d967edc7
diff --git a/Android.bp b/Android.bp
index a78e3ba..460607c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,23 +1,15 @@
// This file is generated by cargo_embargo.
-// Do not modify this file after the first "rust_*" or "genrule" module
-// because the changes will be overridden on upgrade.
-// Content before the first "rust_*" or "genrule" module is preserved.
+// Do not modify this file because the changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_atty_license"],
}
-// Added automatically by a large-scale-change
-// See: http://go/android-license-faq
license {
name: "external_rust_crates_atty_license",
visibility: [":__subpackages__"],
- license_kinds: [
- "SPDX-license-identifier-MIT",
- ],
- license_text: [
- "LICENSE",
- ],
+ license_kinds: ["SPDX-license-identifier-MIT"],
+ license_text: ["LICENSE"],
}
rust_library {