commit | 4c6f623bd2ae9aee57f79da71f9f4b0499be98f4 | [log] [tgz] |
---|---|---|
author | Dan Albert <[email protected]> | Fri Mar 22 12:03:54 2019 -0700 |
committer | Dan Albert <[email protected]> | Fri Mar 22 23:27:22 2019 +0000 |
tree | 49425d6337c7588c13052079bbcf047013acab2d | |
parent | f236b449daeff96112b586ed4f06980e88012d39 [diff] |
Adapt to ndk.hosts changes. Test: ./build.py --toolchain aarch64-linux-android Test: ./build.py --toolchain aarch64-linux-android --host windows Test: ./build.py --toolchain aarch64-linux-android --host windows64 Bug: None Exempt-From-Owner-Approval: trivial janitorial changes Change-Id: I925c1f2ae303089fb2469ccfe3f09893548fce00
The following process is used to build the GCC that is used by both the Android platfrom and the NDK.
Both Linux and Windows toolchains are built on Linux machines. Windows host binaries are built with mingw. Building binaries for Mac OS X should be built using 10.8 to ensure compatibility with Android's minimum supported hosts.
Check out the branch gcc
repo init -u https://android.googlesource.com/platform/manifest -b gcc # Googlers, use repo init -u \ persistent-https://android.git.corp.google.com/platform/manifest \ -b gcc
Additional Linux Dependencies (available from apt):
Mac OS X also requires Xcode.
# Additional options and toolchain names will be show with --help. $ python build.py --toolchain TOOLCHAIN_NAME
$ python build.py --system windows TOOLCHAIN_NAME