Remove updatable-bcp-packages.txt.
Historically, this file was used by the `--updatable-bcp-packages-file` flag for dex2oat. The flag is no longer needed and is being deprecated. Unfortunately, we cannot remove `permitted_packages` and all the code related to it because we still need it for checking the module compatibility with Q and R. Bug: 200241946 Test: m nothing Change-Id: Ie3be54fd47a847ba0caf627d12da76b415d99466
This commit is contained in:
@@ -539,12 +539,6 @@ sdk_snapshot {
|
||||
snapshot/hiddenapi/index.csv
|
||||
`, rule)
|
||||
|
||||
// Make sure that the permitted packages from the prebuilts end up in the
|
||||
// updatable-bcp-packages.txt file.
|
||||
rule = module.Output("updatable-bcp-packages.txt")
|
||||
expectedContents := `'mybootlib\nmyothersdklibrary\n'`
|
||||
android.AssertStringEquals(t, "updatable-bcp-packages.txt", expectedContents, rule.Args["content"])
|
||||
|
||||
rule = module.Output("out/soong/hiddenapi/hiddenapi-flags.csv.valid")
|
||||
android.AssertStringDoesContain(t, "verify-overlaps", rule.RuleParams.Command, " snapshot/hiddenapi/filtered-flags.csv:snapshot/hiddenapi/signature-patterns.csv ")
|
||||
}),
|
||||
|
Reference in New Issue
Block a user