History log of /ndk/build/core/clear-vars.mk
Revision Date Author Comments
8700ca93c26e2908670a9982c68f4b8a2bf7dce4 10-Jun-2010 David 'Digit' Turner <digit@google.com> Implement two-pass script parsing.

In preparation of future work. The NDK build script will now parse all
Android.mk and record LOCAL_XXX variables in the modules database.

After all parsing is done, it will populate the dependency graph with
targets and commands. This will allow us to implement "exported" module
variables like LOCAL_EXPORT_CFLAGS and others in a reliable way.

Change-Id: If1eb4ce68b62b5dfa146520a77cbcad401272428
9c3e39c876850d29a4078e2cd9ba6926f55bd69d 04-May-2010 David 'Digit' Turner <digit@google.com> Enable the NX (No Execute) security feature for all NDK-generated machine code on ARM.

Change-Id: Ic25be4e8a83e741040c7944251688dcdcc97838b
Question: shall we enable it for x86 too?
a1d764b5d215601e007e01186de0be0db51df900 09-Apr-2010 The Android Open Source Project <initial-contribution@android.com> NDK snapshot from development/ndk/

Change-Id: I154f2fd3828ffd937c82410f5f9995402d7be15e
5bc892834ff140ef11625fdf7602d09e229f73dc 09-Feb-2010 David 'Digit' Turner <digit@google.com> Add NEON support to the NDK build system + docs

You can now define LOCAL_ARM_NEON to 'true' in your Android.mk
to indicate that a whole module must be compiled with NEON support.

Alternatively, use the .neon suffix when listing source files in
LOCAL_SRC_FILES to indicate that they should be built with NEON
support. E.g.:

LOCAL_SRC_FILES := foo.c.neon bar.c zoo.c.arm.neon

Note that .arm.neon is supported, but .neon.arm is NOT.

Also added documentation in docs/CPU-ARM-NEON.TXT

Another patch will provide one or more sample applications
to demonstrate all of this.
a27aba4c4d3c1cf57c1085d6060426a535a0e8a3 22-Jul-2009 David 'Digit' Turner <digit@google.com> Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
f4532bc743fbfd4c5c60ebdd0f435006a100fc19 29-Jun-2009 David 'Digit' Turner <digit@google.com> Add support for LOCAL_C_INCLUDES in Android.mk, to better match the Android build system.
0e3db4dad04bba1a6aed5ad15489999078d0361d 29-Jun-2009 David 'Digit' Turner <digit@google.com> Add support for LOCAL_ARM_MODE and .arm source file name suffix.
Also update docs/INSTALL.TXT to explain that MSys is not supported under Windows.
f5107032a58fc88cea9a2bb1211b1f7d9e9eeccb 29-Jun-2009 David 'Digit' Turner <digit@google.com> Fix several typos in the NDK build system that caused quite a few bugs:

- generate thumb code by default (type forced ARM generation)

- make the generation of unoptimized binaries with APP_OPTIM := debug actually work
(the -O0 -g flags were placed before the -Os -mthumb flags for thumb binaries)

- factor common code from build-executable/shared-library/static-library into build-binary.mk
and install-binary.mk

- properly add a -L$(SYSROOT)/usr/lib line to make LOCAL_LDLIBS := -lz work as advertized
(in build-binary.mk)

- add a few missing variables from clear-vars.mk
494598ad04b57a4e1dbaf6e529c5a8df1fe01c79 19-May-2009 David 'Digit' Turner <digit@google.com> Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols.
This can be overriden by defining LOCAL_ALLOW_UNDEFINED_SYMBOLS in your Android.mk to 'true'
48ef1859ef0bb25547e5aceeedb9b175c6193bc5 07-May-2009 David 'Digit' Turner <digit@google.com> Initial import of new NDK into donut tree