blob: faad11db80f7be44ff7a9980fc63422f8dc1d556 [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' Turner902706a2009-08-14 20:51:58 +02004android-ndk-1.6_r1
David 'Digit' Turnerfadee812009-06-29 12:28:04 +02005
David 'Digit' Turnereee16752009-07-29 19:04:44 +02006IMPORTANT BUG FIXES:
7
David 'Digit' Turnerfadee812009-06-29 12:28:04 +02008- Fix build/host-setup.sh to:
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +02009 * execute as a Bourne shell script
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020010 * remove unused host gcc dependency
11 * improve Windows host auto-detection
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +020012 * add GNU Make version check
David 'Digit' Turnereee16752009-07-29 19:04:44 +020013 * add Nawk/Gawk check
David 'Digit' Turnerd6ec1722009-06-29 16:13:25 +020014 * ensure that the script is run from $NDKROOT as build/host-setup.sh
David 'Digit' Turnereee16752009-07-29 19:04:44 +020015 * add --help, --verbose, --no-awk-check and --no-make-check options
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020016
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020017- Properly add sysroot library search path at build time. This makes a line
18 in Android.mk like:
19
20 LOCAL_LDLIBS := -lz
21
22 Actually work correctly, instead of having the linker complaining that it
David 'Digit' Turner7ec528c2009-07-22 13:34:54 +020023 could not find the corresponding libz.so library. Also clear LOCAL_LDLIBS
24 in $(CLEAR_VARS) script.
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020025
David 'Digit' Turnereee16752009-07-29 19:04:44 +020026
27IMPORTANT CHANGES
28
29- The 'sources' directory is gone. The NDK build system now looks for
30 $(APP_PROJECT_PATH)/jni/Android.mk by default. You can override this with
31 the new APP_BUILD_SCRIPT variable in Application.mk
32
33 For example, the 'hello-jni' sample uses the following files:
34
35 apps/hello-jni/project/jni/Android.mk
36 apps/hello-jni/project/jni/hello-jni.c
37
38 The 'apps/<name>' directory is still needed in this release though.
39
40- Change LOCAL_CFLAGS / LOCAL_CPPFLAGS to work as in the full Android build
41 system. This means that:
42
43 - LOCAL_CFLAGS is now used for *both* C and C++ sources (was only for C)
44 - LOCAL_CPPFLAGS is now used for C++ sources only (was for both C and C++)
45 - LOCAL_CXXFLAGS is used like LOCAL_CPPFLAGS but is considered obsolete.
46 (will disappear in next release)
47
48 Also fixed APP_CPPFLAGS / APP_CFLAGS / APP_CXXFLAGS correspondingly.
49
50- Rename build/platforms/android-1.5 to build/platforms/android-3 to match
51 the Android API level instead of the marketing speak.
52
53 Also add a new build/platforms/android-4, and make the build system select
54 which platform to use based on the content of the project file named
55 $(APP_PROJECT_PATH)/default.properties.
56
57- Add OpenGL ES 1.x headers and libraries to the android-4 stable APIs.
58 (NOTE: they are *not* available for android-3)
59
60 Also provide a small port of the "San Angeles Observation" demo to show
61 how to make a simple Android application that uses them.
62
63
64OTHER FIXES & CHANGES
65
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020066- Generate thumb binaries by default.
67
David 'Digit' Turner67d8edd2009-06-29 16:44:31 +020068- Add support for LOCAL_ARM_MODE in Android.mk.
69
70- Add support for the '.arm' suffix in source file names to force the
71 compilation of a single source in arm (32-bit) mode.
72
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020073- Generate proper unoptimized versions of binaries when APP_OPTIM := debug
74
David 'Digit' Turner6c01aba2009-06-29 16:48:56 +020075- Add support for LOCAL_C_INCLUDES in Android.mk
David 'Digit' Turnera046aad2009-06-29 16:33:30 +020076
David 'Digit' Turner7f0688d2009-07-20 15:38:48 +020077- Fix compilation of assembler files (e.g. foo.S)
78
David 'Digit' Turnerfadee812009-06-29 12:28:04 +020079-------------------------------------------------------------------------------
David 'Digit' Turnerfdc5ea22009-07-24 17:56:51 +020080android-ndk-1.5_r1 released.