From d5ca5aa4a0ace412d386dfdd48ebed010a28b5e7 Mon Sep 17 00:00:00 2001
From: Joe Fernandez
Date: Thu, 16 Jun 2016 13:31:28 -0700
Subject: [PATCH] docs: NDK r12 release notes and downloads
b/29188616
Change-Id: Ida2b9b0e308799f9001127006e3be84318857aaa
---
docs/html/ndk/downloads/index.jd | 220 +++++++++++++++++---
docs/html/ndk/downloads/revision_history.jd | 38 ++++
docs/html/sdk/sdk_vars.cs | 25 +--
3 files changed, 243 insertions(+), 40 deletions(-)
diff --git a/docs/html/ndk/downloads/index.jd b/docs/html/ndk/downloads/index.jd
index 47d3113b8921a..954b049798c8b 100644
--- a/docs/html/ndk/downloads/index.jd
+++ b/docs/html/ndk/downloads/index.jd
@@ -332,35 +332,199 @@ $('#Downloads').after($('#download-table'));
Release Notes
- Android NDK, Revision 11c (March 2016)
+ Android NDK, Revision 12 (June 2016)
- -
- NDK
-
+-
+ Announcements
+
- -
-
- - Changes
-
- - Applied additional fixes to the {@code ndk-gdb.py} script.
-
- - Added an optional package name argument to the {@code ndk-gdb}
- command {@code --attach} option.
- (Issue 13)
-
- - Fixed invalid toolchain paths for 32-bit Windows platform.
- (Issue 45)
-
- - Fixed the relative path for the {@code ndk-which} command.
- (Issue 29)
-
- - Fixed use of cygpath for the libgcc compiler.
- (Android Issue 195486)
-
-
-
-
-
-
\ No newline at end of file
+
+ - The
ndk-build command will default to using
+ Clang in an upcoming release. GCC will be removed in a later release.
+
+ - The
make-standalone-toolchain.sh script will be removed
+ in an upcoming release. If you use this script, please plan to migrate to the
+ make_standalone_toolchain.py as soon as possible.
+
+
+
+
+ NDK
+
+
+
+ - Removed support for the armeabi-v7a-hard ABI. See the explanation in the
+
+ documentation.
+
+
+ - Removed all sysroots for platform levels prior to Android 2.3 (API level 10).
+ We dropped support for them in NDK r11, but neglected to actually remove them.
+
+
+ - Updated exception handling when using c++_shared on ARM32 so that it
+ mostly works (see Known Issues). The unwinder
+ is now linked into each linked object rather than into libc++ itself.
+
+
+ - Pruned the default compiler flags (NDK Issue 27). You can see
+ details of this update in Change 207721.
+
+
+ - Added a Python implementation of standalone toolchains in
+ build/tools/make_standalone_toolchain.py. On Windows, you no longer
+ need Cygwin to use this feature. Note that the bash flavor will be removed
+ in an upcoming release, so please test the new one now.
+
+
+ - Configured Clang debug builds to have the
-fno-limit-debug-info
+ option is enabled by default. This change enables better debugging with LLDB.
+
+
+ - Enabled the
--build-id as a default option. This option
+ causes an identifier to be shown in native crash reports so you can easily
+ identify which version of your code was running.
+
+
+ - Fixed issue with
NDK_USE_CYGPATH so that it no longer causes
+ problems with libgcc
+ (Issue 195486).
+
+
+ - Enabled the following options as default:
+
-Wl,--warn-shared-textrel and -Wl,--fatal-warnings.
+ If you have shared text relocations, your app does not load on Android 6.0
+ (API level 23) and higher. Note that this configuration has never been
+ allowed for 64-bit apps.
+
+
+ - Fixed a few issues so that precompiled headers work better
+ (NDK Issue 14,
+ NDK Issue 16).
+
+
+ - Removed unreachable ARM (non-thumb) STL libraries.
+
+
+ - Added Vulkan support to android-24.
+
+
+ - Added Choreographer API to android-24.
+
+
+ - Added libcamera2 APIs for devices that support the
+
INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED feature level or higher.
+ For more information, see the
+
+ CameraCharacteristics reference.
+
+
+
+
+
+ Clang
+
+
+
+ - Clang has been updated to 3.8svn (r256229, build 2812033). Note that
+ Clang packaged in the Windows 64-bit NDK is actually 32-bit.
+
+
+ - Fixed
__thread so that it works for real this time.
+
+
+
+
+ GCC
+
+
+
+ - Synchronized the compiler with the ChromeOS GCC @ google/gcc-4_9 r227810.
+
+
+ - Backported coverage sanitizer patch from ToT (r231296).
+
+
+ - Fixed
libatomic to not use ifuncs (NDK Issue 31).
+
+
+
+
+ Binutils
+
+
+
+ - Silenced the "Erratum 843419 found and fixed" info messages.
+
+
+ - Introduced option
--long-plt to fix an internal linker error
+ when linking huge arm32 binaries.
+
+
+ - Fixed wrong run time stubs for
AArch64. This problem was
+ causing jump addresses to be calculated incorrectly for very large
+ dynamic shared objects (DSOs).
+
+
+ - Introduced default option
--no-apply-dynamic to work around
+ a dynamic linker bug for earlier Android releases.
+
+
+ - Fixed a known issue with NDK r11 where
dynamic_cast was not
+ working with Clang, x86, stlport_static and optimization.
+
+
+
+
+ GDB
+
+
+
+ - Updated to GDB version 7.11. For more information about this release, see
+ GDB News.
+
+
+ - Fixed a number of bugs in the
ndk-gdb.py script.
+
+
+
+
+ Known Issues
+
+
+
+ - The x86 Address
+ Sanitizer (ASAN) currently does not work. For more information, see
+ Issue 186276.
+
+
+ - Exception unwinding with
c++_shared does not work for ARM on
+ Android 2.3 (API level 9) or Android 4.0 (API level 14).
+
+
+ - Bionic headers and libraries for Android 6.0 (API level 23) and higher
+ are not yet exposed despite the presence of android-24. Those platforms still
+ have the Android 5.0 (API level 21) headers and libraries, which is consistent
+ with NDK r11.
+
+
+ - The RenderScript tools are not present, which is consistent with
+ NDK r11.
+ (NDK Issue 7)
+
+
+ - In
NdkCameraMetadataTags.h header file, the camera metadata
+ tag enum value ACAMERA_STATISTICS_LENS_SHADING_CORRECTION_MAP
+ was listed by accident and will be removed in next release. Use
+ the ACAMERA_STATISTICS_LENS_SHADING_MAP value instead.
+
+
+
+
+
diff --git a/docs/html/ndk/downloads/revision_history.jd b/docs/html/ndk/downloads/revision_history.jd
index c5a0d48954892..211b64e5be4b2 100644
--- a/docs/html/ndk/downloads/revision_history.jd
+++ b/docs/html/ndk/downloads/revision_history.jd
@@ -5,6 +5,44 @@ page.title=NDK Revision History
took place in each new version.
+
+
+
+
Android NDK, Revision 11c (March 2016)
+
+
+
+
+ -
+
+ - Changes
+
+ - Applied additional fixes to the {@code ndk-gdb.py} script.
+
+ - Added an optional package name argument to the {@code ndk-gdb}
+ command {@code --attach} option.
+ (Issue 13)
+
+ - Fixed invalid toolchain paths for 32-bit Windows platform.
+ (Issue 45)
+
+ - Fixed the relative path for the {@code ndk-which} command.
+ (Issue 29)
+
+ - Fixed use of cygpath for the libgcc compiler.
+ (Android Issue 195486)
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/html/sdk/sdk_vars.cs b/docs/html/sdk/sdk_vars.cs
index 32fdb0aec3606..80da297c9bf73 100644
--- a/docs/html/sdk/sdk_vars.cs
+++ b/docs/html/sdk/sdk_vars.cs
@@ -1,18 +1,19 @@