commit | 14e1026372ae806ecaa06b418b47b0831fa05112 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Sun Jun 17 21:54:21 2018 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Jun 19 09:26:58 2018 -0700 |
tree | ec8470281c47797d293c92077488603ca0e6356a | |
parent | 649311868c402c6de126730a99cfe90b438efee3 [diff] |
Fix PHONY uses found by --warn_real_to_phony Switch a use of `ndk` to the timestamp file that `ndk` depends on itself. Mark more module-specific rules as PHONY. Test: diff build-aosp_arm.ninja (stripping _kati_always_build_) Test: Turn on --warn_real_to_phony for Kati, see fewer warnings Change-Id: I101ced4067780e38d18820f5d916596429087e49
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.