commit | dca601e5d2b032ac5cca1df90ac56077ccf5d665 | [log] [tgz] |
---|---|---|
author | Rahul Chaudhry <rahulchaudhry@google.com> | Mon Sep 18 10:45:53 2017 -0700 |
committer | Rahul Chaudhry <rahulchaudhry@google.com> | Mon Sep 18 10:45:53 2017 -0700 |
tree | d92ded022b89bcdf2816d44a29627b0c261fc8e3 | |
parent | 08875d976f14a5c589c1cfcd17614adad06e43d4 [diff] |
update-prebuilts: use fetch_artifact for downloading prebuilts. The old method of constructing a URL and downloading using sso_client has stopped working since the URLs have changed. Using fetch_artifact makes this step more robust against future changes in URL schemes. Bug: 37683243 Test: './update-prebuilts.py 4342532' works. Change-Id: I14053709bb9839990e8cf59418010862daf09236
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