[vlc-commits] android: Enable the iomx module

Martin Storsjö git at videolan.org
Fri Sep 30 00:27:51 CEST 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Thu Sep 29 12:05:12 2011 +0300| [c0b7317b855be0f5072a72376e33d548566b56e1] | committer: Jean-Baptiste Kempf

android: Enable the iomx module

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0b7317b855be0f5072a72376e33d548566b56e1
---

 extras/package/android/configure.sh |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/extras/package/android/configure.sh b/extras/package/android/configure.sh
index f1620b7..e752857 100755
--- a/extras/package/android/configure.sh
+++ b/extras/package/android/configure.sh
@@ -29,6 +29,11 @@ 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}/lib"
 
+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-
@@ -101,4 +106,5 @@ sh $VLC_SOURCEDIR/configure --host=arm-eabi-linux --build=x86_64-unknown-linux $
                 --disable-gl \
                 --disable-gles1 --disable-gles2 \
                 --disable-goom \
-                --disable-projectm
+                --disable-projectm \
+                --enable-iomx



More information about the vlc-commits mailing list