commit | 8da52d4b9d982f98586135f419f9f7f30140b8fd | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu Aug 08 10:58:09 2019 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Thu Aug 08 10:58:09 2019 -0700 |
tree | dc8cbb40bd30e25c7c3587d5bd750d181898b3ef | |
parent | 0b690ed6d908337e8c7954221ad1e6f725b8af16 [diff] |
Move TOP/TOPDIR to build/make/common/core.mk So that they're set properly during dumpvars / product loading. SHELL is already set in common/core.mk, so it's not necessary to be in core/main.mk as well (which quickly loads core/config.mk, which loads common/core.mk). Test: get_build_var TOP Test: get_build_var TOPDIR Change-Id: I8179ac32628b74ccf29851dc53bf83cfb4b280fd
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.