Generate license header with cargo_embargo.
Bug: 333524428
Test: Ran cargo_embargo, compared Android.bp.
Change-Id: I1d88b6dfc7c8274a40305ecb9374e8844d338441
diff --git a/Android.bp b/Android.bp
index e4d3115..e673235 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,7 +1,5 @@
// 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_atomic_license"],
@@ -10,12 +8,8 @@
license {
name: "external_rust_crates_atomic_license",
visibility: [":__subpackages__"],
- license_kinds: [
- "SPDX-license-identifier-Apache-2.0",
- ],
- license_text: [
- "LICENSE",
- ],
+ license_kinds: ["SPDX-license-identifier-Apache-2.0"],
+ license_text: ["LICENSE"],
}
rust_library {