blob: 6c2deb217d176a7904476e9e16f21c4632f403d3 [file] [log] [blame]
David 'Digit' Turner5ad95c52009-05-27 14:20:44 +02001Android NDK ChangeLog:
David 'Digit' Turner979c98c2009-05-20 16:08:19 +02002
David 'Digit' Turner979c98c2009-05-20 16:08:19 +02003-------------------------------------------------------------------------------
David 'Digit' Turner1dbeeca2009-09-24 15:48:44 -07004current version
5
6IMPORTANT BUG FIXES:
7
David 'Digit' Turnera78a7752009-10-01 16:38:44 -07008- Fix build/host-setup.sh to execute as a Bourne shell script (again)
9
David 'Digit' Turner1dbeeca2009-09-24 15:48:44 -070010- Make target shared libraries portable to systems that don't use the exact same
11 toolchain (GCC 4.2.1) .
12
David 'Digit' Turnercc230ba2009-10-01 16:44:54 -070013- Actually use the awk version detected by host-setup.sh during the build.
14
David 'Digit' Turner854f8202009-10-14 15:22:11 -070015OTHER 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' Turner1db46622009-10-15 13:29:06 -070036- 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' Turnerf7aa22a2009-10-20 15:33:40 -070039- Remove bash-ism from build/tools/build-ndk-sysroot.sh
40
David 'Digit' Turner898b43f2009-10-20 15:25:40 -070041- Refresh C library headers for all platforms:
42
43 - make <endian.h> simply include <sys/endian.h>
44 - make <stdint.h> properly declare 64-bit integer types with a C99 compiler
45 - add missing <sys/types.h> to <strings.h>
46 - add GLibc-compatible macro aliases (st_atimensec, st_mtimensec and
47 st_ctimensec) to <stat.h>
48 - add missing declaration for tzset() in <time.h>
49
David 'Digit' Turner1dbeeca2009-09-24 15:48:44 -070050-------------------------------------------------------------------------------
David 'Digit' Turner902706a2009-08-14 20:51:58 +020051android-ndk-1.6_r1
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020052
David 'Digit' Turnereee16752009-07-29 19:04:44 +020053IMPORTANT BUG FIXES:
54
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020055- Fix build/host-setup.sh to:
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +020056 * execute as a Bourne shell script
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020057 * remove unused host gcc dependency
58 * improve Windows host auto-detection
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +020059 * add GNU Make version check
David 'Digit' Turnereee16752009-07-29 19:04:44 +020060 * add Nawk/Gawk check
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +020061 * ensure that the script is run from $NDKROOT as build/host-setup.sh
David 'Digit' Turnereee16752009-07-29 19:04:44 +020062 * add --help, --verbose, --no-awk-check and --no-make-check options
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020063
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020064- Properly add sysroot library search path at build time. This makes a line
65 in Android.mk like:
66
67 LOCAL_LDLIBS := -lz
68
69 Actually work correctly, instead of having the linker complaining that it
David 'Digit' Turner7ec528c2009-07-22 13:34:54 +020070 could not find the corresponding libz.so library. Also clear LOCAL_LDLIBS
71 in $(CLEAR_VARS) script.
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020072
David 'Digit' Turnereee16752009-07-29 19:04:44 +020073
David 'Digit' Turner1dbeeca2009-09-24 15:48:44 -070074IMPORTANT CHANGES:
David 'Digit' Turnereee16752009-07-29 19:04:44 +020075
76- The 'sources' directory is gone. The NDK build system now looks for
77 $(APP_PROJECT_PATH)/jni/Android.mk by default. You can override this with
78 the new APP_BUILD_SCRIPT variable in Application.mk
79
80 For example, the 'hello-jni' sample uses the following files:
81
82 apps/hello-jni/project/jni/Android.mk
83 apps/hello-jni/project/jni/hello-jni.c
84
85 The 'apps/<name>' directory is still needed in this release though.
86
87- Change LOCAL_CFLAGS / LOCAL_CPPFLAGS to work as in the full Android build
88 system. This means that:
89
90 - LOCAL_CFLAGS is now used for *both* C and C++ sources (was only for C)
91 - LOCAL_CPPFLAGS is now used for C++ sources only (was for both C and C++)
92 - LOCAL_CXXFLAGS is used like LOCAL_CPPFLAGS but is considered obsolete.
93 (will disappear in next release)
94
95 Also fixed APP_CPPFLAGS / APP_CFLAGS / APP_CXXFLAGS correspondingly.
96
97- Rename build/platforms/android-1.5 to build/platforms/android-3 to match
98 the Android API level instead of the marketing speak.
99
100 Also add a new build/platforms/android-4, and make the build system select
101 which platform to use based on the content of the project file named
102 $(APP_PROJECT_PATH)/default.properties.
103
104- Add OpenGL ES 1.x headers and libraries to the android-4 stable APIs.
105 (NOTE: they are *not* available for android-3)
106
107 Also provide a small port of the "San Angeles Observation" demo to show
108 how to make a simple Android application that uses them.
109
110
111OTHER FIXES & CHANGES
112
David 'Digit' Turnera046aad2009-06-29 16:33:30 +0200113- Generate thumb binaries by default.
114
David 'Digit' Turner67d8edd2009-06-29 16:44:31 +0200115- Add support for LOCAL_ARM_MODE in Android.mk.
116
117- Add support for the '.arm' suffix in source file names to force the
118 compilation of a single source in arm (32-bit) mode.
119
David 'Digit' Turnera046aad2009-06-29 16:33:30 +0200120- Generate proper unoptimized versions of binaries when APP_OPTIM := debug
121
David 'Digit' Turner6c01aba2009-06-29 16:48:56 +0200122- Add support for LOCAL_C_INCLUDES in Android.mk
David 'Digit' Turnera046aad2009-06-29 16:33:30 +0200123
David 'Digit' Turner7f0688d2009-07-20 15:38:48 +0200124- Fix compilation of assembler files (e.g. foo.S)
125
David 'Digit' Turnerfadee812009-06-29 12:28:04 +0200126-------------------------------------------------------------------------------
David 'Digit' Turnerfdc5ea22009-07-24 17:56:51 +0200127android-ndk-1.5_r1 released.