diff options
| author | 2020-01-20 18:12:23 +0000 | |
|---|---|---|
| committer | 2020-02-13 17:46:48 +0000 | |
| commit | 40f9f3c061e30af857a54f35a5dd670d75e1c87d (patch) | |
| tree | a59f6775bffa01f08f04072f0ea3385251041b25 /java/dexpreopt_bootjars_test.go | |
| parent | 75a48d8ae23c017dadc7ac025b45f5a1aebfbe4c (diff) | |
Reland: Move the Once cache for dexpreopt.GlobalConfig into the
dexpreopt package.
Preparation for a future CL that will need to get the make-written
GlobalConfig from within dexpreopt.
Also rename the Load*Config functions to Parse*Config, since they don't
actually load the config files anymore.
This relands https://r.android.com/1211982.
Bug: 145934348
Test: m
Change-Id: Icb9332a93811d77d2d8b06e983b92501b180a358
Diffstat (limited to 'java/dexpreopt_bootjars_test.go')
| -rw-r--r-- | java/dexpreopt_bootjars_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt_bootjars_test.go b/java/dexpreopt_bootjars_test.go index 4ce30f678..c3b2133a9 100644 --- a/java/dexpreopt_bootjars_test.go +++ b/java/dexpreopt_bootjars_test.go @@ -49,7 +49,7 @@ func TestDexpreoptBootJars(t *testing.T) { pathCtx := android.PathContextForTesting(config) dexpreoptConfig := dexpreopt.GlobalConfigForTests(pathCtx) dexpreoptConfig.BootJars = []string{"foo", "bar", "baz"} - setDexpreoptTestGlobalConfig(config, dexpreoptConfig) + dexpreopt.SetTestGlobalConfig(config, dexpreoptConfig) ctx := testContext() |