Merge "Extract testDexpreoptWithApexes() for reuse" am: 4d934af2ee
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1523981 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I23f4aef12d2e3139f5f38e74bcde0937e9cc3598
This commit is contained in:
commit
30642ff255
1 changed files with 7 additions and 0 deletions
|
@ -5691,6 +5691,13 @@ func testNoUpdatableJarsInBootImage(t *testing.T, errmsg string, transformDexpre
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
testDexpreoptWithApexes(t, bp, errmsg, transformDexpreoptConfig)
|
||||||
|
}
|
||||||
|
|
||||||
|
func testDexpreoptWithApexes(t *testing.T, bp, errmsg string, transformDexpreoptConfig func(*dexpreopt.GlobalConfig)) {
|
||||||
|
t.Helper()
|
||||||
|
|
||||||
bp += cc.GatherRequiredDepsForTest(android.Android)
|
bp += cc.GatherRequiredDepsForTest(android.Android)
|
||||||
bp += java.GatherRequiredDepsForTest()
|
bp += java.GatherRequiredDepsForTest()
|
||||||
bp += dexpreopt.BpToolModulesForTest()
|
bp += dexpreopt.BpToolModulesForTest()
|
||||||
|
|
Loading…
Reference in a new issue