Make dexpreopt tools available for all java tests
Bug: 177892522 Test: m nothing Change-Id: I594bddae692ef76dc8c3da504934d0151b13d4c9
This commit is contained in:
@@ -59,8 +59,6 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
|
||||
func testConfig(env map[string]string, bp string, fs map[string][]byte) android.Config {
|
||||
bp += dexpreopt.BpToolModulesForTest()
|
||||
|
||||
return TestConfig(buildDir, env, bp, fs)
|
||||
}
|
||||
|
||||
@@ -84,8 +82,6 @@ func testContext(config android.Config) *android.TestContext {
|
||||
// Register module types and mutators from cc needed for JNI testing
|
||||
cc.RegisterRequiredBuildComponentsForTest(ctx)
|
||||
|
||||
dexpreopt.RegisterToolModulesForTest(ctx)
|
||||
|
||||
ctx.PostDepsMutators(func(ctx android.RegisterMutatorsContext) {
|
||||
ctx.TopDown("propagate_rro_enforcement", propagateRROEnforcementMutator).Parallel()
|
||||
})
|
||||
|
Reference in New Issue
Block a user