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
Loading
Please register or sign in to comment