From ef18aea78d77d8cdffa96ef75294e10630766215 Mon Sep 17 00:00:00 2001 From: Robert Ly Date: Fri, 27 May 2011 16:54:03 -0700 Subject: [PATCH] cherrypick from hc mr1 Change-Id: I0685106aba681a429ce92c0ec1a4fab592d186ac Change-Id: I7a1ca07b5aac9979b710e78b4d0e33f78ac18cee --- docs/html/sdk/ndk/index.jd | 87 +++++++++++++++++++++++++++++++++++++- docs/html/sdk/sdk_toc.cs | 2 +- 2 files changed, 86 insertions(+), 3 deletions(-) diff --git a/docs/html/sdk/ndk/index.jd b/docs/html/sdk/ndk/index.jd index bc9ba4be62596..3ba0b0cf61ae9 100644 --- a/docs/html/sdk/ndk/index.jd +++ b/docs/html/sdk/ndk/index.jd @@ -52,14 +52,97 @@ padding: .25em 1em; text-decoration:underline; } .toggleable.closed .toggleme { - display:none; -} + display:none;} #jd-content .toggle-img { margin:0; } +
+ + Android NDK, Revision 5c (June 2011) + +
+

This release of the NDK does not include any new features compared to r5b. The r5c release + addresses the following problems in the r5b release:

+
+
Important bug fixes:
+
+
    +
  • ndk-build: Fixed a rare bug that appeared when trying to perform parallel + builds of debuggable projects.
  • + +
  • Fixed a typo that prevented LOCAL_WHOLE_STATIC_LIBRARIES to work + correctly with the new toolchain and added documentation for this in + docs/ANDROID-MK.html.
  • + +
  • Fixed a bug where code linked against gnustl_static crashed when run on + platform releases older than API level 8 (Android 2.2).
  • + +
  • ndk-gdb: Fixed a bug that caused a segmentation fault when debugging Android 3.0 + or newer devices.
  • + +
  • <android/input.h>: Two functions that were introduced in API level + 9 (Android 2.3) were incorrect and are fixed. While this breaks the source API, the + binary interface to the system is unchanged. The incorrect functions were missing a + history_index parameter, and the correct definitions are shown below: +
    +float AMotionEvent_getHistoricalRawX(const AInputEvent* motion_event,
    +                                           size_t pointer_index,
    +                                           size_t history_index);
    +
    +float AMotionEvent_getHistoricalRawY(const AInputEvent* motion_event,
    +                                           size_t pointer_index,
    +                                           size_t history_index);
    +
    +
  • + +
  • Updated the C library ARM binary for API level 9 (Android 2.3) to correctly expose at + link time new functions that were added in that API level (for example, + pthread_rwlock_init).
  • + +
+
+ +
Minor improvements and fixes:
+
+
    +
  • Object files are now always linked in the order they appear in + LOCAL_SRC_FILES. This was not the case previously because the files were + grouped by source extensions instead.
  • + +
  • When import-module fails, it now prints the list of directories that + were searched. This is useful to check that the NDK_MODULE_PATH definition + used by the build system is correct.
  • + +
  • When import-module succeeds, it now prints the directory where the + module was found to the log (visible with NDK_LOG=1).
  • + +
  • Increased the build speed of debuggable applications when there is a very large number + of include directories in the project.
  • + +
  • ndk-gdb: Better detection of adb shell failures and improved + error messages.
  • + +
  • <pthread.h>: Fixed the definition of + PTHREAD_RWLOCK_INITIALIZER for API level 9 (Android 2.3) and higher.
  • + +
  • Fixed an issue where a module could import itself, resulting in an infinite loop in + GNU Make.
  • + +
  • Fixed a bug that caused the build to fail if LOCAL_ARM_NEON was set to + true (typo in build/core/build-binary.mk).
  • + +
  • Fixed a bug that prevented the compilation of .s assembly files + (.S files were okay).
  • +
+
+
+
+ +
new!