commit | 8e332ff3a76c1f90db1e2e71dbc0ef9f1b2d8bd2 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Jul 29 17:51:55 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 29 19:44:27 2020 -0700 |
tree | 410dcf69c440f0e77ccde967abcbb920393a146e | |
parent | ad970e69f373129a4aef52aa5d4b69f3b4351427 [diff] |
Add SetHostToolLocation. Add common.SetHostToolLocation so that, when calling various common.Run* functions, replace the first argument with previously set paths. This is needed when the script is executed in a Soong sandbox. Bug: 161563386 Test: pass Change-Id: If3b40b518fc7fe068677d39d604e3f6578a12ea3
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.