analyze_bcpf: Add --fix option
Add a --fix option that will cause the script to automatically fix the issues that it finds. It uses the bpmodify tool to add values to the bootclasspath_fragment's hidden_api properties. This adds analyze_bcpf to bp2buildModuleDoNotConvertList as analyze_bcpf depends on bpmodify which is a blueprint_go_binary which is not yet supported by bazel. Bug: 202154151 Test: m analyze_bcpf && analyze_bcpf --bcpf art-bootclasspath-fragment m analyze_bcpf && analyze_bcpf --bcpf art-bootclasspath-fragment --fix atest --host analyze_bcpf_test Change-Id: I5ee52419b4829474f6dbeb47f86ab2aeb22b1382
This commit is contained in:
@@ -509,6 +509,9 @@ var (
|
||||
|
||||
"brotli-fuzzer-corpus", // b/202015218: outputs are in location incompatible with bazel genrule handling.
|
||||
|
||||
// python modules
|
||||
"analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
|
||||
|
||||
// b/203369847: multiple genrules in the same package creating the same file
|
||||
// //development/sdk/...
|
||||
"platform_tools_properties",
|
||||
|
Reference in New Issue
Block a user