aboutsummaryrefslogtreecommitdiff
path: root/build/tools
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2009-05-19 12:10:09 +0200
committerDavid 'Digit' Turner <digit@google.com>2009-05-19 12:10:09 +0200
commit71883351efa1a6a389cd2fd06d229d276dc91ab1 (patch)
tree1986f09a645e7b449ee1f23e7143d5b1daffc5c6 /build/tools
parent4fca9f7ace03af0b9a82f492d308fcca49eb1c1a (diff)
downloadndk-71883351efa1a6a389cd2fd06d229d276dc91ab1.tar.gz
Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.
This is OK because the Zlib ABI is fixed and stable. Also get rid of the sample zlib sources since we don't need the static library anymore.
Diffstat (limited to 'build/tools')
-rwxr-xr-xbuild/tools/build-ndk-sysroot.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/tools/build-ndk-sysroot.sh b/build/tools/build-ndk-sysroot.sh
index 54ce1135e..7a79e9202 100755
--- a/build/tools/build-ndk-sysroot.sh
+++ b/build/tools/build-ndk-sysroot.sh
@@ -246,18 +246,28 @@ arch_headers ()
done
}
+# ZLib headers
+common_header $TOP/external/zlib zlib.h
+common_header $TOP/external/zlib zconf.h
+
+# Jni header
common_header $TOP/dalvik/libnativehelper/include/nativehelper jni.h
+
+# libthread_db headers, not sure if this is needed for the NDK
common_headers $BIONIC_ROOT/libthread_db/include
# for libm, just copy math.h and fenv.h
common_header $BIONIC_ROOT/libm/include math.h
arch_header $BIONIC_ROOT/libm/include $ARCH/fenv.h
+# our tiny C++ standard library
common_headers $BIONIC_ROOT/libstdc++/include
+# C library kernel headers
common_headers $LIBC_ROOT/kernel/common
arch_headers $LIBC_ROOT/kernel/arch-arm
+# C library headers
common_headers $LIBC_ROOT/include
arch_headers $LIBC_ROOT/arch-$ARCH/include