David 'Digit' Turner | 5ad95c5 | 2009-05-27 14:20:44 +0200 | [diff] [blame] | 1 | Android NDK ChangeLog: |
David 'Digit' Turner | 979c98c | 2009-05-20 16:08:19 +0200 | [diff] [blame] | 2 | |
David 'Digit' Turner | 979c98c | 2009-05-20 16:08:19 +0200 | [diff] [blame] | 3 | ------------------------------------------------------------------------------- |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 4 | current version |
| 5 | |
| 6 | IMPORTANT BUG FIXES: |
| 7 | |
David 'Digit' Turner | a78a775 | 2009-10-01 16:38:44 -0700 | [diff] [blame] | 8 | - Fix build/host-setup.sh to execute as a Bourne shell script (again) |
| 9 | |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 10 | - Make target shared libraries portable to systems that don't use the exact same |
| 11 | toolchain (GCC 4.2.1) . |
| 12 | |
David 'Digit' Turner | cc230ba | 2009-10-01 16:44:54 -0700 | [diff] [blame^] | 13 | - Actually use the awk version detected by host-setup.sh during the build. |
| 14 | |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 15 | ------------------------------------------------------------------------------- |
David 'Digit' Turner | 902706a | 2009-08-14 20:51:58 +0200 | [diff] [blame] | 16 | android-ndk-1.6_r1 |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 17 | |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 18 | IMPORTANT BUG FIXES: |
| 19 | |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 20 | - Fix build/host-setup.sh to: |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 21 | * execute as a Bourne shell script |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 22 | * remove unused host gcc dependency |
| 23 | * improve Windows host auto-detection |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 24 | * add GNU Make version check |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 25 | * add Nawk/Gawk check |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 26 | * ensure that the script is run from $NDKROOT as build/host-setup.sh |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 27 | * add --help, --verbose, --no-awk-check and --no-make-check options |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 28 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 29 | - Properly add sysroot library search path at build time. This makes a line |
| 30 | in Android.mk like: |
| 31 | |
| 32 | LOCAL_LDLIBS := -lz |
| 33 | |
| 34 | Actually work correctly, instead of having the linker complaining that it |
David 'Digit' Turner | 7ec528c | 2009-07-22 13:34:54 +0200 | [diff] [blame] | 35 | could not find the corresponding libz.so library. Also clear LOCAL_LDLIBS |
| 36 | in $(CLEAR_VARS) script. |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 37 | |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 38 | |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 39 | IMPORTANT CHANGES: |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 40 | |
| 41 | - The 'sources' directory is gone. The NDK build system now looks for |
| 42 | $(APP_PROJECT_PATH)/jni/Android.mk by default. You can override this with |
| 43 | the new APP_BUILD_SCRIPT variable in Application.mk |
| 44 | |
| 45 | For example, the 'hello-jni' sample uses the following files: |
| 46 | |
| 47 | apps/hello-jni/project/jni/Android.mk |
| 48 | apps/hello-jni/project/jni/hello-jni.c |
| 49 | |
| 50 | The 'apps/<name>' directory is still needed in this release though. |
| 51 | |
| 52 | - Change LOCAL_CFLAGS / LOCAL_CPPFLAGS to work as in the full Android build |
| 53 | system. This means that: |
| 54 | |
| 55 | - LOCAL_CFLAGS is now used for *both* C and C++ sources (was only for C) |
| 56 | - LOCAL_CPPFLAGS is now used for C++ sources only (was for both C and C++) |
| 57 | - LOCAL_CXXFLAGS is used like LOCAL_CPPFLAGS but is considered obsolete. |
| 58 | (will disappear in next release) |
| 59 | |
| 60 | Also fixed APP_CPPFLAGS / APP_CFLAGS / APP_CXXFLAGS correspondingly. |
| 61 | |
| 62 | - Rename build/platforms/android-1.5 to build/platforms/android-3 to match |
| 63 | the Android API level instead of the marketing speak. |
| 64 | |
| 65 | Also add a new build/platforms/android-4, and make the build system select |
| 66 | which platform to use based on the content of the project file named |
| 67 | $(APP_PROJECT_PATH)/default.properties. |
| 68 | |
| 69 | - Add OpenGL ES 1.x headers and libraries to the android-4 stable APIs. |
| 70 | (NOTE: they are *not* available for android-3) |
| 71 | |
| 72 | Also provide a small port of the "San Angeles Observation" demo to show |
| 73 | how to make a simple Android application that uses them. |
| 74 | |
| 75 | |
| 76 | OTHER FIXES & CHANGES |
| 77 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 78 | - Generate thumb binaries by default. |
| 79 | |
David 'Digit' Turner | 67d8edd | 2009-06-29 16:44:31 +0200 | [diff] [blame] | 80 | - Add support for LOCAL_ARM_MODE in Android.mk. |
| 81 | |
| 82 | - Add support for the '.arm' suffix in source file names to force the |
| 83 | compilation of a single source in arm (32-bit) mode. |
| 84 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 85 | - Generate proper unoptimized versions of binaries when APP_OPTIM := debug |
| 86 | |
David 'Digit' Turner | 6c01aba | 2009-06-29 16:48:56 +0200 | [diff] [blame] | 87 | - Add support for LOCAL_C_INCLUDES in Android.mk |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 88 | |
David 'Digit' Turner | 7f0688d | 2009-07-20 15:38:48 +0200 | [diff] [blame] | 89 | - Fix compilation of assembler files (e.g. foo.S) |
| 90 | |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 91 | ------------------------------------------------------------------------------- |
David 'Digit' Turner | fdc5ea2 | 2009-07-24 17:56:51 +0200 | [diff] [blame] | 92 | android-ndk-1.5_r1 released. |