commit | cda2ef1d84aeefce73184b765979a162e0ff267f | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri May 11 09:33:41 2018 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri May 11 13:51:02 2018 -0700 |
tree | 466c851d7f9f0ff459bf2ce23c076afd20211d85 | |
parent | fc56b59db48b3608abca3e5834a94df932a61cda [diff] |
Fix some issues with LOCAL_USES_LIBRARIES Properly check the value of PRIVATE_ENFORCE_USES_LIBRARIES instead of only checking that the variable is non-empty. Change the logic to use product libraries instead of the common ones. This is required so that dex2oat can find the oat files when stripping is enabled. Bug: 70934104 Bug: 67345922 Test: manual Change-Id: Iee71c2b26f3c0e136a8971ab913725b2b6e100b8
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.