Rename UpdatableBootJars to ApexBootJars.
Note that ART apex boot jars and core-icu4j are exceptions here as they are not part of ApexBootJars. ART apex boot jars are defined in their own variable, while core-icu4j is treated as a regular non-updatable boot jar. Bug: 191127295 Test: atest CtsClasspathsTestCases Change-Id: I3cea3d82ef521655a1a5ffa8cae2258ab9d08bfc
This commit is contained in:
@@ -7194,7 +7194,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 {
|
||||
@@ -7219,11 +7219,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