Switch libunwind over to building for NDK 23.
It would be preferable if this could build for API level 9, but it
depends on dl_iterate_phdr(), which only appears in API level 21 for
ARM. It also needs asm/unistd.h, which only appears in API level 23 for
x86_64.
Change-Id: I010bcc7ca1b3447b66db94505516c023f7fd3306
diff --git a/Android.bp b/Android.bp
index aa4b0e5..5a87762 100644
--- a/Android.bp
+++ b/Android.bp
@@ -101,6 +101,7 @@
cc_library {
name: "libunwind",
defaults: ["libunwind_defaults"],
+ sdk_version: "23",
srcs: [
"src/mi/init.c",
@@ -401,6 +402,7 @@
cc_library_static {
name: "libunwindbacktrace",
defaults: ["libunwind_defaults"],
+ sdk_version: "23",
srcs: [
"src/unwind/BacktraceWrapper.c",
"src/unwind/DeleteException.c",