DescriptionMake test apks only dex files not in tested apk
At runtime, the classloader will look for classes in both apk's dex
files. In the standard Android build system, an instrumentation test
apk's dex file does not include the classes included in the tested apk's
dex file.
To do this, when dexing, write a file listing the inputs to the dex
file. When dexing for an instrumentation apk, exclude those files listed
as inputs of the tested apk's dex file.
For proguarded apks, this exclusion will need to happen for proguard
inputs instead of dex inputs, so this change does not cover that case.
BUG=272790
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276788
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|