[Android] no extra libs (iomx, anw) for Chrome OS

Thomas Guillem git at videolan.org
Fri Feb 20 10:33:26 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 20 09:15:07 2015 +0100| [58aecb6ba8a809fd669cef28983a75c68157777c] | committer: Thomas Guillem

no extra libs (iomx, anw) for Chrome OS

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=58aecb6ba8a809fd669cef28983a75c68157777c
---

 compile-libvlc.sh |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 51165c0..4ba0ea2 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -600,15 +600,17 @@ VLC_SRC_DIR="$SRC_DIR/vlc"
 ANDROID_SYS_HEADERS="$SRC_DIR/android-headers"
 VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
 
-if [ "${HAVE_64}" != 1 ];then
-# Can't link with 32bits symbols.
-# Not a problem since MediaCodec should work on 64bits devices (android-21)
-LIBIOMX_LIBS="libiomx.14 libiomx.13 libiomx.10"
-fi
-# (after android Jelly Bean, we prefer to use MediaCodec instead of iomx)
-#LIBIOMX_LIBS="${LIBIOMX_LIBS }libiomx.19 libiomx.18"
+if [ "${CHROME_OS}" != "1" ];then
+    if [ "${HAVE_64}" != 1 ];then
+    # Can't link with 32bits symbols.
+    # Not a problem since MediaCodec should work on 64bits devices (android-21)
+    LIBIOMX_LIBS="libiomx.14 libiomx.13 libiomx.10"
+    fi
+    # (after android Jelly Bean, we prefer to use MediaCodec instead of iomx)
+    #LIBIOMX_LIBS="${LIBIOMX_LIBS }libiomx.19 libiomx.18"
 
-LIBANW_LIBS="libanw.10 libanw.13 libanw.14 libanw.18 libanw.21"
+    LIBANW_LIBS="libanw.10 libanw.13 libanw.14 libanw.18 libanw.21"
+fi
 
 echo "Building NDK"
 



More information about the Android mailing list