History log of /ndk/build/core/build-module.mk
Revision Date Author Comments
d9851e70410ee5b14f5e9b772dd015e44a558c89 17-Jul-2010 David 'Digit' Turner <digit@google.com> Simplify module database definitions.

Introduce the LOCAL_MODULE_CLASS field, and use it.

Change-Id: I7103a78f801fa4fdd2080088a4ae81249ce011cf
d0ac7ca653627ffe4f38973034c93bc53a66adec 16-Jul-2010 David 'Digit' Turner <digit@google.com> Get rid of (nearly obsolete) build/core/build-module.mk

Change-Id: I50f565b4cbaf84a4b13ea047fd52f7f38fc54f21
4270093f20cd5ec5343e7a7259edcfe76416de44 12-Jul-2010 David 'Digit' Turner <digit@google.com> Add LOCAL_C_INCLUDES to the source directory search path for ndk-gdb.

Also fix clean parallel builds of debuggable applications.

Change-Id: I5a22b4b7b6104cf46780f275b713230f444f3493
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
219eddd0f8d4ee578d5afb895decc60a364a7191 08-Jun-2010 David 'Digit' Turner <digit@google.com> Set optimization mode to 'debug' automatically for debuggable applications.

As a convenience to NDK users, many who are not used to debugging native code at all
and will find that gdb cannot set breakpoints properly or dump local variables by
default strange.

This also moves the computation of APP_MANIFEST and APP_DEBUGGABLE to add-application.mk
which is just more logical.

Change-Id: Ia801f3aeda6a87d91d92bfc618c2620afd1470aa
a08d605794902f5c7ed79b3d894adb722e1b6cac 16-Apr-2010 David 'Digit' Turner <digit@google.com> Add ndk-gdb script to the NDK.

This is a helper script used to launch a native debugging session.
To use it, follow these steps:

1. Make your application debuggable
2. Build the machine code with 'ndk-build' (make APP=<name> is not supported)
3. Build the package with ant or the ADT Eclipse plugin
4. Install it on your device/emulator
5. Launch it
6. Run 'ndk-gdb' from your application project directory.

Change-Id: Ie3b0557e70cefa0080075a34ad0ca46bebef3c42
NOTE: To work properly, a modified gdbserver binary must be used
(one that binds to Unix sockets instead of TCP ones). Patch
upcoming.
419390feceb0c39fd3cad8ec6e5253fb74c946a5 09-Apr-2010 David 'Digit' Turner <digit@google.com> Make APP_MODULES optional in Application.mk.

If APP_MODULES is defined, now computes the transitive closure of module dependencies automatically.

+ cleanup some of the build scripts
+ add module database management functions for future work

Change-Id: I4ae14d8a3cbd2240e1efec27c55f8314b618c4d9
a1d764b5d215601e007e01186de0be0db51df900 09-Apr-2010 The Android Open Source Project <initial-contribution@android.com> NDK snapshot from development/ndk/

Change-Id: I154f2fd3828ffd937c82410f5f9995402d7be15e
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
48ef1859ef0bb25547e5aceeedb9b175c6193bc5 07-May-2009 David 'Digit' Turner <digit@google.com> Initial import of new NDK into donut tree