commit | 060741e77dc5f3c64ee237b065272db41ebd8a32 | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Wed Jun 27 10:35:42 2018 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Wed Jun 27 10:37:54 2018 -0700 |
tree | 1533f898e2c11a2e1cb44273714ac6ec34bfffb7 | |
parent | 407b6aca288765b800ea48177dcc74289e967bbf [diff] |
Use $(my_prefix)OS instead of HOST_CROSS_OS The latter is not module-specific and affects all host modules. Also remove the check for LOCAL_IS_HOST_MODULE and use $(my_prefix)OS. This should be future-proof, where may use different configurations of cross-compilations across Linux, Darwin, Windows. Test: m native Change-Id: I0a6255a8b83960ffb543b593d4a50d963be1de88
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.