History log of /ndk/build/lib/build_support.py
Revision Date Author Comments
73b4f4f0e4d534f006b2d2ecec5dc65a0a62f38c 03-Feb-2016 Josh Gao <jmgao@google.com> Don't strip out .pyd files.

Windows finds it useful when we actually ship Python's compiled code.

Bug: http://b/26875911
Change-Id: Ib2179ef05d4224314ee253fa73c1dbeedd08415b
86a455bb15590db359f7fb754088bec64986c933 02-Feb-2016 Dan Albert <danalbert@google.com> Make android_path tolerant of symlinks.

Change-Id: I53d264aec954d4c93c1cf7f68a796452628ccb24
9c73fd0536b780a0e5aa02e2e810eed88cc8b35e 27-Jan-2016 Dan Albert <danalbert@google.com> Make path functions in build_support more useful.

Don't require ANDROID_BUILD_TOP to be set, and allow them to be used
in an `os.path.join` like manner.

Change-Id: I3fcae6341dcfe37b626d4df05a077c6d96a5fdca
ed99d029f832b8e4d676778f9c5634c2ebd70e95 14-Jan-2016 Dan Albert <danalbert@google.com> Fix x86 triple name.

Change-Id: If87e3b21d7dd5782312875125c0aa96139ad9012
7528fef948b58069a5f81f1b1cb5b362af93f7ed 12-Jan-2016 Dan Albert <danalbert@google.com> Differentiate OUT_DIR and DIST_DIR.

DIST_DIR is archived on the build server, so we don't want to be
putting everything in there.

Also, this lays the groundwork for us to remove the build -> pack ->
unpack -> repack -> unpack -> test workflow that we currently have
and replace it with build -> test -> pack, since we can install
things to their proper locations, test them where they are, and then
package it directly.

Change-Id: I37529b5f564d82ba0e8b126d9fd44b4b148c1478
483c90442966f667c8af243590a2f982a6f7829e 09-Jan-2016 Dan Albert <danalbert@google.com> Run the host tests as the last step of the build.

This way they build servers will let us know if we've screwed up
anything significantly.

Change-Id: Ie9ddf8aa1f4b9928d91cd567b8d938c7d4305fdf
695f178d9b6739dd8de4443cba559c32ccd845b0 17-Dec-2015 Dan Albert <danalbert@google.com> Switch all modules from tarballs to zipfiles.

The SDK manager doesn't speak tar. This should also speed up the
package validation step of package.py (since it isn't reading the
files but is just interested in the TOC). It will, however, increase
the size of each module. We're still building the final monolithic
package as a tarball for Linux and Darwin though, so the largest
download will still be the same size.

Bug: http://b/26237669
Change-Id: I967d0b60f4132c864726c2e88f0f52a012b03909
2928df9030bce4f3ad2ad1f49740db49903c067c 17-Dec-2015 Dan Albert <danalbert@google.com> Fix make_package to build a new style package.

Bug: http://b/26235995
Change-Id: Ie00877190023f0e6ef686f80573ba105325a01f1
b02688b218abceef5d160924ad9ccd207ee6417b 07-Nov-2015 Dan Albert <danalbert@google.com> Remove unwanted crap before making modules.

This has traditionally been done by package-release.sh, but we're
shipping the modules now and we don't want those to have these things
either.

Change-Id: I9eb3c78f3b15ab18ef74c21f4d6acc44c28b1edb
7fb6fe2f12fc3a654f1eb2475758e2bd1796bf35 04-Nov-2015 Dan Albert <danalbert@google.com> Build final host-tools package.

This is the conglomeration of all the common host tools. The way
things are organized right now, these are essentially all required.

Some of these things can be broken out. Android Studio users don't
need GDB, Make, or Awk.

Change-Id: I35f7a3bdb7eab4b9069f99b30a522062ada55342
3165525126d45b35934bde146b047ccecebac860 02-Nov-2015 Dan Albert <danalbert@google.com> Include a repo.prop in each package.

This doesn't cover any packages that are built from toolchain or that
are installed to prebuilt/$HOST_TAG. The former will be fixed in
another patch soon, but the latter is going to take some
reorganization because several packages install to the same directory
(and the repo.prop files will clobber each other).

We need to also add the repo.prop files to each STL's .gitignore
because the STLs are still building into their source directory ಠ_ಠ

Bug: http://b/25417748
Change-Id: I4a666efecde192a5674e4c8b8ad835ceef80dd09
bacb89bfea749d6e110bd9d29b1c72daf955aab9 27-Oct-2015 Dan Albert <danalbert@google.com> Add a test for make-standalone-toolchain.sh.

Bug: http://b/25282754
Change-Id: I769322301a45f5451c8b610bff3bf5c62a748a1d
27a6d6356e2d8442ab2d80b174f1b0816bfb0a15 02-Oct-2015 Dan Albert <danalbert@google.com> Apply DIST_DIR in build_support too.

The GCC we've been building on the build server hasn't been getting
archived :(

Change-Id: Ib7600f329129f11c4c2bf1935dcbf07b0cb07a0d
d5c979a44510992f1aa5984aa44d53c424d6790e 02-Oct-2015 Dan Albert <danalbert@google.com> Fix chdir in build_support.run for this dir.

Previously would try to run os.chdir('') and fail.

Change-Id: I165d36e0249bb5e81380963f31ccec636a1998d1
e02a2fa00db1ea4c3afb5eb4ff2da29407517448 03-Sep-2015 Josh Gao <jmgao@google.com> Don't apppend '-x86' to the 'windows' system tag.

Change-Id: Ib2a7e8ee0e1dcdeb27cdb6a8119aad60311adfaa
11cc63e016de2288a6fb3ac7aed4467e02deeab8 02-Sep-2015 Josh Gao <jmgao@google.com> Add helper to convert host to tag for build scripts.

Change-Id: I22571e487bfddd33fda61f9a015abf9fd97c3ffa
b296e759e66940373d283c4d07c6cd42b6deda57 02-Sep-2015 Dan Albert <danalbert@google.com> Split gnustl into a module.

Bug: http://b/23362228
Change-Id: I7dc519ecfe69a25a4b86ccc1f0be85c2856b5739
6aa01b6c587644bf20de89f41420dec3db49d705 31-Aug-2015 Dan Albert <danalbert@google.com> Address missed comments from build_support CL.

Change-Id: I7ad6aec61dc2687be5a272466d83c50d04ea2839
518c116813060565b9d22a06595a5500510adc96 31-Aug-2015 Dan Albert <danalbert@google.com> Move LLVM out of build-host-prebuilts.sh.

With this patch all the NDK host components have been moved off into
their own independently invokable build scripts (no more trying to
guess which environment variables need to be set to build each host
tool).

Since we are no longer building anything from build-host-prebuilts.sh,
drop it.

Change-Id: I1d987ea1094aa64c1244653c9bf01f98e357535e
49d108d82b125985e4dda42389e064cb9ef2293a 31-Aug-2015 Dan Albert <danalbert@google.com> Ensure that package-dir is always a realpath.

Change-Id: I23841075bc6a1f899bd1be4c8db9c96fe83b34ca
607ab55a33d67b34ebffc57745027717a539676d 29-Aug-2015 Dan Albert <danalbert@google.com> Factor out most build.py logic into build_support.

Most of each build.py in the host tools was just duplicated crap.
Factor it all out into a common place.

Change-Id: Id646cd1eeda05ba8f2658c6129d3d676ce04622c