summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author satayev <satayev@google.com> 2021-07-21 14:23:52 +0100
committer satayev <satayev@google.com> 2021-07-22 17:35:42 +0100
commitd604b210c40772a72d6533804a4da53a480c6373 (patch)
treebfca2c5f410c2c040f90b979aaa6877de3c80b59 /java/testing.go
parentae86338676084cf5966adf99f34e7086f9687edc (diff)
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
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/testing.go b/java/testing.go
index e2ff5cd12..8860b45fa 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -214,15 +214,15 @@ func FixtureConfigureBootJars(bootJars ...string) android.FixturePreparer {
)
}
-// FixtureConfigureUpdatableBootJars configures the updatable boot jars in both the
+// FixtureConfigureApexBootJars configures the apex boot jars in both the
// dexpreopt.GlobalConfig and Config.productVariables structs. As a side effect that enables
// dexpreopt.
-func FixtureConfigureUpdatableBootJars(bootJars ...string) android.FixturePreparer {
+func FixtureConfigureApexBootJars(bootJars ...string) android.FixturePreparer {
return android.GroupFixturePreparers(
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
- variables.UpdatableBootJars = android.CreateTestConfiguredJarList(bootJars)
+ variables.ApexBootJars = android.CreateTestConfiguredJarList(bootJars)
}),
- dexpreopt.FixtureSetUpdatableBootJars(bootJars...),
+ dexpreopt.FixtureSetApexBootJars(bootJars...),
// Add a fake dex2oatd module.
dexpreopt.PrepareForTestWithFakeDex2oatd,