Merge "Rename UpdatableBootJars to ApexBootJars." am: 4102c0cc47
am: adb9e9f752
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1773912 Change-Id: Iecc5f48620b2d4e5390ab9a081b2193924bd0dda
This commit is contained in:
@@ -7114,7 +7114,7 @@ func TestDexpreoptAccessDexFilesFromPrebuiltApex(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func testApexPermittedPackagesRules(t *testing.T, errmsg, bp string, apexBootJars []string, rules []android.Rule) {
|
||||
func testApexPermittedPackagesRules(t *testing.T, errmsg, bp string, bootJars []string, rules []android.Rule) {
|
||||
t.Helper()
|
||||
bp += `
|
||||
apex_key {
|
||||
@@ -7139,11 +7139,11 @@ func testApexPermittedPackagesRules(t *testing.T, errmsg, bp string, apexBootJar
|
||||
PrepareForTestWithApexBuildComponents,
|
||||
android.PrepareForTestWithNeverallowRules(rules),
|
||||
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
|
||||
updatableBootJars := make([]string, 0, len(apexBootJars))
|
||||
for _, apexBootJar := range apexBootJars {
|
||||
updatableBootJars = append(updatableBootJars, "myapex:"+apexBootJar)
|
||||
apexBootJars := make([]string, 0, len(bootJars))
|
||||
for _, apexBootJar := range bootJars {
|
||||
apexBootJars = append(apexBootJars, "myapex:"+apexBootJar)
|
||||
}
|
||||
variables.UpdatableBootJars = android.CreateTestConfiguredJarList(updatableBootJars)
|
||||
variables.ApexBootJars = android.CreateTestConfiguredJarList(apexBootJars)
|
||||
}),
|
||||
fs.AddToFixture(),
|
||||
).
|
||||
|
Reference in New Issue
Block a user