Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 16cc7a9

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Be even more explicit about changing generated Android.bp files" into main
2 parents 344b520 + 0ed7620 commit 16cc7a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/cargo_embargo/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@ fn write_android_bp(
564564
}
565565
if !bp_contents.is_empty() {
566566
let bp_contents = "// This file is generated by cargo_embargo.\n".to_owned()
567-
+ "// Do not modify this file as most changes will be overridden on upgrade.\n"
567+
+ "// Do not modify this file after the first \"rust_*\" or \"genrule\" module\n"
568+
+ "// because the changes will be overridden on upgrade.\n"
568569
+ "// Content before the first \"rust_*\" or \"genrule\" module is preserved.\n\n"
569570
+ license_section.trim()
570571
+ "\n"

0 commit comments

Comments
 (0)