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 | 854f820 | 2009-10-14 15:22:11 -0700 | [diff] [blame] | 15 | OTHER FIXES & CHANGES: |
| 16 | |
| 17 | - Added --prebuilt-ndk=FILE option to build/tools/make-release.sh script to |
| 18 | package a new experimental NDK package archive from the current source tree |
| 19 | plus the toolchain binaries of an existing NDK release package. E.g.: |
| 20 | |
| 21 | build/tools/make-release.sh \ |
| 22 | --prebuilt-ndk=/path/to/android-ndk-1.6_r1-linux-x86.zip |
| 23 | |
| 24 | will generate a new NDK package in /tmp/ndk-release that contains the most |
| 25 | up-to-date build scripts, plus the toolchain binaries from 1.6_r1 (which |
| 26 | are not in the git repository). |
| 27 | |
| 28 | Also added the --no-git option to collect all sources from the current |
| 29 | NDK root directory, instead of the list given by 'git ls-files'. This can |
| 30 | be useful if you don't want to checkout the whole 'platform/development' |
| 31 | project from repo and still work on the NDK. |
| 32 | |
| 33 | This change is to help people easily package experimental NDK releases to |
| 34 | test and distribute fixes and improvements. |
| 35 | |
David 'Digit' Turner | 1db4662 | 2009-10-15 13:29:06 -0700 | [diff] [blame^] | 36 | - Remove bash-isms from build/tools/build-toolchain.sh. Now it's possible to |
| 37 | build it with the 'dash' shell on Debian-based systems (tested on Ubuntu 8.04) |
| 38 | |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 39 | ------------------------------------------------------------------------------- |
David 'Digit' Turner | 902706a | 2009-08-14 20:51:58 +0200 | [diff] [blame] | 40 | android-ndk-1.6_r1 |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 41 | |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 42 | IMPORTANT BUG FIXES: |
| 43 | |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 44 | - Fix build/host-setup.sh to: |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 45 | * execute as a Bourne shell script |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 46 | * remove unused host gcc dependency |
| 47 | * improve Windows host auto-detection |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 48 | * add GNU Make version check |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 49 | * add Nawk/Gawk check |
David 'Digit' Turner | d6ec172 | 2009-06-29 16:13:25 +0200 | [diff] [blame] | 50 | * 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] | 51 | * add --help, --verbose, --no-awk-check and --no-make-check options |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 52 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 53 | - Properly add sysroot library search path at build time. This makes a line |
| 54 | in Android.mk like: |
| 55 | |
| 56 | LOCAL_LDLIBS := -lz |
| 57 | |
| 58 | Actually work correctly, instead of having the linker complaining that it |
David 'Digit' Turner | 7ec528c | 2009-07-22 13:34:54 +0200 | [diff] [blame] | 59 | could not find the corresponding libz.so library. Also clear LOCAL_LDLIBS |
| 60 | in $(CLEAR_VARS) script. |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 61 | |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 62 | |
David 'Digit' Turner | 1dbeeca | 2009-09-24 15:48:44 -0700 | [diff] [blame] | 63 | IMPORTANT CHANGES: |
David 'Digit' Turner | eee1675 | 2009-07-29 19:04:44 +0200 | [diff] [blame] | 64 | |
| 65 | - The 'sources' directory is gone. The NDK build system now looks for |
| 66 | $(APP_PROJECT_PATH)/jni/Android.mk by default. You can override this with |
| 67 | the new APP_BUILD_SCRIPT variable in Application.mk |
| 68 | |
| 69 | For example, the 'hello-jni' sample uses the following files: |
| 70 | |
| 71 | apps/hello-jni/project/jni/Android.mk |
| 72 | apps/hello-jni/project/jni/hello-jni.c |
| 73 | |
| 74 | The 'apps/<name>' directory is still needed in this release though. |
| 75 | |
| 76 | - Change LOCAL_CFLAGS / LOCAL_CPPFLAGS to work as in the full Android build |
| 77 | system. This means that: |
| 78 | |
| 79 | - LOCAL_CFLAGS is now used for *both* C and C++ sources (was only for C) |
| 80 | - LOCAL_CPPFLAGS is now used for C++ sources only (was for both C and C++) |
| 81 | - LOCAL_CXXFLAGS is used like LOCAL_CPPFLAGS but is considered obsolete. |
| 82 | (will disappear in next release) |
| 83 | |
| 84 | Also fixed APP_CPPFLAGS / APP_CFLAGS / APP_CXXFLAGS correspondingly. |
| 85 | |
| 86 | - Rename build/platforms/android-1.5 to build/platforms/android-3 to match |
| 87 | the Android API level instead of the marketing speak. |
| 88 | |
| 89 | Also add a new build/platforms/android-4, and make the build system select |
| 90 | which platform to use based on the content of the project file named |
| 91 | $(APP_PROJECT_PATH)/default.properties. |
| 92 | |
| 93 | - Add OpenGL ES 1.x headers and libraries to the android-4 stable APIs. |
| 94 | (NOTE: they are *not* available for android-3) |
| 95 | |
| 96 | Also provide a small port of the "San Angeles Observation" demo to show |
| 97 | how to make a simple Android application that uses them. |
| 98 | |
| 99 | |
| 100 | OTHER FIXES & CHANGES |
| 101 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 102 | - Generate thumb binaries by default. |
| 103 | |
David 'Digit' Turner | 67d8edd | 2009-06-29 16:44:31 +0200 | [diff] [blame] | 104 | - Add support for LOCAL_ARM_MODE in Android.mk. |
| 105 | |
| 106 | - Add support for the '.arm' suffix in source file names to force the |
| 107 | compilation of a single source in arm (32-bit) mode. |
| 108 | |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 109 | - Generate proper unoptimized versions of binaries when APP_OPTIM := debug |
| 110 | |
David 'Digit' Turner | 6c01aba | 2009-06-29 16:48:56 +0200 | [diff] [blame] | 111 | - Add support for LOCAL_C_INCLUDES in Android.mk |
David 'Digit' Turner | a046aad | 2009-06-29 16:33:30 +0200 | [diff] [blame] | 112 | |
David 'Digit' Turner | 7f0688d | 2009-07-20 15:38:48 +0200 | [diff] [blame] | 113 | - Fix compilation of assembler files (e.g. foo.S) |
| 114 | |
David 'Digit' Turner | fadee81 | 2009-06-29 12:28:04 +0200 | [diff] [blame] | 115 | ------------------------------------------------------------------------------- |
David 'Digit' Turner | fdc5ea2 | 2009-07-24 17:56:51 +0200 | [diff] [blame] | 116 | android-ndk-1.5_r1 released. |