Move verify_uses_libraries.sh out of dexpreopt
dexpreopt usually gets a dex jar instead of the final APK, which means targetSdkVersion can't be parsed out of it. Move the shared library verification to a tool that operates on the final AndroidManifest.xml instead. verify_uses_libraries.sh is still used to verify prebuilts where we don't have an AndroidManifest.xml and must parse it out of the APK. Test: m Gallery2 Bug: 132357300 Change-Id: I6ade74b6144c73aee094f5d5ff343067ca0a0e5a
Loading
Please register or sign in to comment