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.
|
6724aaa2876f40ad270823bc933edf7552f67436 |
|
15-Apr-2010 |
David 'Digit' Turner <digit@google.com> |
Simplify build system with the 'ndk-build' script. There is no need to modify $NDK/apps anymore to build an application. Now all you need to do is launch $NDK/ndk-build from the project path, or any of its sub-directory, and the build scripts will handle everything automatically. You can also place an optional Application.mk under $PROJECT/jni, but by default the NDK will build all modules listed in your Android.mk for the 'armeabi' ABI. + Update the documentation Change-Id: I235c4051d7f00f37d50e6b4bb0e796c0bdaa001d
|
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
|
11c170d174b4da1682b507a30cae6ff6f0cce50f |
|
08-Apr-2010 |
David 'Digit' Turner <digit@google.com> |
Extract the debuggable flag from the application's manifest and only copy the gdbserver binary to $PROJECT/libs/<abi> if it is set to TRUE. Change-Id: I06bc0c0c7993d93d7ee22b9b055b10ad8ef3cd86
|
35f944d26f33fff3e59ab449c991b18260a5fa0b |
|
08-Apr-2010 |
David 'Digit' Turner <digit@google.com> |
Perform auto-detection of host platform in build scripts. This removes build/host-setup.sh and the generated file out/host/config.mk Also: fix a bug that copied gdbserver into release projects, not debug ones. Change-Id: Ie3641dadb6148b1a671534d9bbb5e587cd742845
|
f2debec88ac7dabc769cf53a32a46706513ddd03 |
|
06-Apr-2010 |
David 'Digit' Turner <digit@google.com> |
Copy the gdbserver binary from the toolchain to the proper location for debuggable applications. This ensures that the binary will be embedded in the final .apk, unpacked by the PackageManager into /data/data/<package>/lib and later invokable through the 'run-as' tool. Change-Id: Ib1efc832dc02926204b05836b90f78adb9c3365b
|
85459717ff102979c1b98f65d23a37538d177d22 |
|
05-Apr-2010 |
David Turner <digit@dhcp-172-28-237-78.par.corp.google.com> |
Properly select the toolchain based on the ABIs we want to build for. Before this patch, it was not possible to use the x86-4.2.1 toolchain without explicitely selecting it with NDK_TOOLCHAIN. Now if all toolchains are installed, a simple line like the following just works: APP_ABI := armeabi armeabi-v7a x86 Change-Id: I58ff6dda09a6d1406a83a45af542bba35a3caa40
|
654c27f00dbcbbb06c57c5d10a4bbb76695f21b4 |
|
13-Jan-2010 |
The Android Open Source Project <initial-contribution@android.com> |
android-2.1_r1 snapshot
|
cc049d5a779a6d64ba1dcd29a1ff031ad4891d47 |
|
19-Nov-2009 |
David 'Digit' Turner <digit@google.com> |
Add support for armeabi-v7a to the NDK. This patch modifies the NDK build scripts to support the 'armeabi-v7a' ABI. (For the record, it corresponds to Thumb-2 + FPU support, to speed up native code on certain devices like the Droid). To build for this ABI, the Application.mk file should use a line like: APP_ABI := armeabi-v7a It is also possible to build for both 'armeabi' and 'armeabi-v7a' by using: APP_ABI := armeabi armeabi-v7a This will result in the generation of two distinct shared libraries that both will be copied to the final application package. This is dependent on having GCC 4.4.0 prebuilt binaries under build/prebuilt/<host>/arm-eabi-4.4.0, since gcc 4.2.1 does not support this new ABI. Note that this also changes the NDK to use gcc 4.4.0 by default, unless the user defines NDK_TOOLCHAIN to 'arm-eabi-4.2.1' in its environment to switch back to the previous one.
|
25f47bc03dbe536d2fb4a231316a38a2d0a8ee59 |
|
29-Jul-2009 |
David 'Digit' Turner <digit@google.com> |
Look for Android.mk in $(APP_PROJECT_PATH)/jni by default. This gets rid of the 'sources' directory and allows all sources of a given Android application to be in the same directory tree without using a symlink trick. Note that apps/<name>/Application.mk is still required though. A later release of the NDK will get rid of it too, but the change is too drastic for the upcoming release. The change moves various source files from sources into their app/<name>/project/jni directory as well. The whole documentation is updated to reflect the change.
|
5815d77ccd68a5f6f8f7d6f4fa5dfbd05828d33f |
|
29-Jul-2009 |
David 'Digit' Turner <digit@google.com> |
Add android-4 sysroot and use project's default.properties to get the right target. Note that for now, android-4 contains the same things than android-3. Another patch will add OpenGL ES headers and libraries to it.
|
48ef1859ef0bb25547e5aceeedb9b175c6193bc5 |
|
07-May-2009 |
David 'Digit' Turner <digit@google.com> |
Initial import of new NDK into donut tree
|