[vlc-devel] [PATCH 4/5] android: Don't add private header include directories when building the full VLC tree

Martin Storsjö martin at martin.st
Fri Dec 16 22:47:05 CET 2011


These aren't necessary any longer.

The approach of adding private headers to the build of the VLC
core doesn't work well if one wants to target multiple private
ABI versions in one build.

Instead, small shared libraries for each private ABI version
can be built separately.
---
 extras/package/android/configure.sh |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/extras/package/android/configure.sh b/extras/package/android/configure.sh
index 5461daf..7ed5e4c 100755
--- a/extras/package/android/configure.sh
+++ b/extras/package/android/configure.sh
@@ -29,11 +29,6 @@ fi
 CPPFLAGS="-I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/include -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}/include"
 LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}"
 
-if [ -n "$ANDROID_SYS_HEADERS" ]; then
-    CPPFLAGS="$CPPFLAGS -I${ANDROID_SYS_HEADERS}/frameworks/base/include -I${ANDROID_SYS_HEADERS}/system/core/include"
-    LDFLAGS="$LDFLAGS -L${ANDROID_LIBS}"
-fi
-
 SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-arm
 ANDROID_BIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin/
 CROSS_COMPILE=${ANDROID_BIN}/arm-linux-androideabi-
-- 
1.7.2.5




More information about the vlc-devel mailing list