Make dexpreopt tools available for all java tests
Bug: 177892522 Test: m nothing Change-Id: I594bddae692ef76dc8c3da504934d0151b13d4c9
This commit is contained in:
@@ -5925,7 +5925,6 @@ func testDexpreoptWithApexes(t *testing.T, bp, errmsg string, transformDexpreopt
|
||||
|
||||
bp += cc.GatherRequiredDepsForTest(android.Android)
|
||||
bp += java.GatherRequiredDepsForTest()
|
||||
bp += dexpreopt.BpToolModulesForTest()
|
||||
|
||||
fs := map[string][]byte{
|
||||
"a.java": nil,
|
||||
@@ -5957,7 +5956,6 @@ func testDexpreoptWithApexes(t *testing.T, bp, errmsg string, transformDexpreopt
|
||||
|
||||
ctx.Register()
|
||||
|
||||
dexpreopt.RegisterToolModulesForTest(ctx)
|
||||
pathCtx := android.PathContextForTesting(config)
|
||||
dexpreoptConfig := dexpreopt.GlobalConfigForTests(pathCtx)
|
||||
transformDexpreoptConfig(dexpreoptConfig)
|
||||
|
Reference in New Issue
Block a user