aboutsummaryrefslogtreecommitdiffstats
path: root/build.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to use build_support.Dan Albert2015-08-281-99/+18
| | | | Change-Id: Icb73f2e12dd88358b417db37342a640026eef88b
* Use module docstring for argparse help.Dan Albert2015-08-281-1/+4
| | | | Change-Id: Idc72987bd5652f0b2d666eedeb5ec51750da6929
* Infer ANDROID_BUILD_TOP if it is not set.Dan Albert2015-08-271-4/+4
| | | | Change-Id: I78d92443247b7260030bbe023b460696f9289313
* Use the build scripts from ndk/.Dan Albert2015-08-271-1/+1
| | | | | | | | | | | | | | Using the build scripts from prebuilts/ndk makes the edit/compile cycle complicated since we have to either edit in ndk/ and copy to prebuilts/ or vice versa. The prebuilt NDK build scripts should really just be whatever build scripts we end up shipping with the modular NDK (i.e. anything that supports ndk-build or the tests rather than things used to build the NDK itself). Change-Id: Id995397d6272f1539037a19287cc8a69fdb4b8a1 (cherry picked from commit 79ee432e58c7b1a4ae92aa2886ecd96173acbdf6)
* Use the prebuilt sysroot.Dan Albert2015-08-271-10/+36
| | | | | Change-Id: I889824306f0c1da9c1a094d862ac84339d1b01a3 (cherry picked from commit 32abc19b922a8561f491012a0ddf926c44d1bccd)
* Fix 32-bit Windows build.Dan Albert2015-08-271-2/+2
| | | | | | | | | | Oops. Accidentally applied --try-64 to win32. For some reason the order of the mingw and try-64 flag seems to affect the argument parsing :( Change-Id: Ie993be9bc9a0a2e3fc5838767276da566100fbf6 (cherry picked from commit d04816184a047fc46234a2c763aeea436f9bcc04)
* Drop python prebuilt cruft.Dan Albert2015-08-271-2/+1
| | | | | | | | | We don't seem to need this. It was only used when configuring gcc, and that isn't necessary. This is probably here as a relic from when we used to build the gdb stub in this file. Change-Id: Ieaa2f3c0200b9f569842caec2157f98d3e1a9c64 (cherry picked from commit 7ab70b0aa76254c36bdbf071e2463409115ab875)
* Use plain python, not python2.Dan Albert2015-08-271-1/+1
| | | | | | | Apparently Darwin is Python deficient. Change-Id: I9e3564ee7351ec740451ea97ebc25b805b14816a (cherry picked from commit c94ac68b0de56392b4454873d7f826d1f264df8f)
* Move build scripts from ndk to toolchain/gcc.Dan Albert2015-08-271-0/+117
First, the platform toolchains building with the NDK build scripts was odd. Second, this moves us toward a more modular NDK. The path forward is building GCC separately, installing it to prebuilts/ndk, and then using it directly from there when building other NDK components. Bug: http://b/23362228 Change-Id: I21448e470b4c3353bd49a1fec7d187a8376f3d82 (cherry picked from commit 51f25cab1eccd079214b9e08f5fe1bbe9368e1b0)