Merge "Have cargo2android put warning not to modify Android.bp files" am: 5b630e0f9f

Original change: https://android-review.googlesource.com/c/platform/development/+/1594452

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I896e27416d40ebb4eeb714c22ef59d86050a5f72
This commit is contained in:
Treehugger Robot
2021-02-18 21:22:35 +00:00
committed by Automerger Merge Worker

View File

@@ -89,7 +89,9 @@ RENAME_DEFAULTS_MAP = {
} }
# Header added to all generated Android.bp files. # Header added to all generated Android.bp files.
ANDROID_BP_HEADER = '// This file is generated by cargo2android.py {args}.\n' ANDROID_BP_HEADER = (
'// This file is generated by cargo2android.py {args}.\n' +
'// Do not modify this file as changes will be overridden on upgrade.\n')
CARGO_OUT = 'cargo.out' # Name of file to keep cargo build -v output. CARGO_OUT = 'cargo.out' # Name of file to keep cargo build -v output.