commit | 39ef5632940fdb305c31139f7bcb3b9550904dba | [log] [tgz] |
---|---|---|
author | Mitch Phillips <mitchp@google.com> | Thu Sep 26 14:57:33 2019 -0700 |
committer | Mitch Phillips <mitchp@google.com> | Thu Sep 26 14:57:33 2019 -0700 |
tree | 1998069bc3857236c26f9ea7324fe6e3631aad7a | |
parent | a59a948d6226a2e51888e75987dfa3ee84fcea7d [diff] |
Move definition of dist-for-goals before call. New changes to Soong allow for dist-for-goals to be directly invoked through the Soong-side of the build system. This presents a problem, as the dist-for-goals propagation for Soong lands in make_vars-$(target).mk, which is called before dist-for-goals is defined. We move the dist-for-goals definition (through moving where distdir.mk is included) to be before any possible use of the call to dist-for-goals. Test: m checkbuild Change-Id: Icef27a4d2239948b07354c87b58c9985a66a53bd
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.