From 58aecb6ba8a809fd669cef28983a75c68157777c Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Fri, 20 Feb 2015 09:15:07 +0100 Subject: [PATCH] no extra libs (iomx, anw) for Chrome OS --- compile-libvlc.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/compile-libvlc.sh b/compile-libvlc.sh index 51165c022..4ba0ea2f2 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" -- GitLab