commit | 56199af6c27cb83cd71de93fc1ef0dc354a1ef40 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed May 22 10:25:59 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Sun May 26 17:42:17 2019 +0000 |
tree | 9f085dc2672bf77b3617f8a460aaf72c03f3a6a3 | |
parent | 539543990e7ba284f37a5acb2c802cd1eb70129d [diff] |
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
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.