Generate license header with cargo_embargo.
Bug: 333524428
Test: Ran cargo_embargo, compared Android.bp.
Change-Id: I7bdabba67a13c32ff6d65d31b1199a6cd2853ef5
diff --git a/Android.bp b/Android.bp
index 79768d3..854741c 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_android_log-sys_license",
- ],
+ default_applicable_licenses: ["external_rust_crates_android_log-sys_license"],
}
license {
name: "external_rust_crates_android_log-sys_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 {