History log of /ndk/sources/cxx-stl/llvm-libc++/build.py
Revision Date Author Comments
a4654bb3ea0810014c9af4982151560cf2616364 02-Feb-2016 Dan Albert <danalbert@google.com> Fix more of the build.

Rebase went wrong and the definition of is_arm ended up in a patch
above its first use.

Change-Id: I641ac8301e541c6308ca0a1aea032e406008e6f1
4ad37769ac7d016462d2416942594622863a9b0e 28-Jan-2016 Dan Albert <danalbert@google.com> Build libc++abi components as separate libraries.

For exception unwinding to work properly on ARM, we need to make sure
we're using the LLVM unwinder everywhere. To do this, we need to link
it into each object. As such, we need to build it as a separate
library rather than including the sources in libc++. Do the same with
libc++abi while we're at it since this makes the makefiles more
tractable.

Bug: http://b/26194502
Change-Id: I96ebc4edfcbda048689fc6f0d87d0651cb4dc8e4
73e31b9b79e39bd003b0398e0ed6e111fe757343 26-Jan-2016 Dan Albert <danalbert@google.com> Build libc++ with ndk-build instead of bash.

Before this patch we had to maintain two sets of build rules for
libc++: build-cxx-stl.sh and Android.mk. This changes the prebuild
step from using the shell script to just invoking ndk-build.

For one, this means that anyone using LIBCXX_FORCE_REBUILD will
actually get a reliable result, as it's the same way we built it.

It's also quite a bit faster. It now takes only 45 seconds to build
all 8 ABIs, whereas before this patch it took 3 minutes and 15
seconds. Aside from the cost of building everything, we also benefit
from dependency checking now since we store the intermediate files in
a reliable location, which means that a null build doesn't take long
(it still takes some time because we have to run the packaging step).

Now that this has been done for libc++, we could also do this for
stlport. It may not be worth the effort, however, since that's not
being actively worked on.

Note that this patch also drops the prebuilt ARM (non-thumb)
libraries. There wasn't actually any way to use them, so there's
nothing lost here.

Change-Id: I8602f0fd3a23a2938cdc5be19d0714d5567ce6fc
68b7feb6c6babb278d672011406dec564b6a8a15 02-Sep-2015 Dan Albert <danalbert@google.com> Split libc++ into a module.

Bug: http://b/23362228
Change-Id: I344cae5b848da04dd92663c956c0c80a611a359c