Make 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 Review URL: https://codereview.chromium.org/313273004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276788 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment