Commit f5f266ed authored by Thomas Guillem's avatar Thomas Guillem

Fix chromeOS build

Add hack to deactivate eventfd, and build chrome in a separate folder.
parent b22311ca
...@@ -28,6 +28,9 @@ while [ $# -gt 0 ]; do ...@@ -28,6 +28,9 @@ while [ $# -gt 0 ]; do
ANDROID_ABI=$2 ANDROID_ABI=$2
shift shift
;; ;;
-c)
CHROME_OS=1
;;
release|--release) release|--release)
RELEASE=1 RELEASE=1
;; ;;
...@@ -471,7 +474,13 @@ cd ../../ ...@@ -471,7 +474,13 @@ cd ../../
# BUILD DIRECTORY # # BUILD DIRECTORY #
################### ###################
VLC_BUILD_DIR=build-android-${TARGET_TUPLE} if [ "${CHROME_OS}" = "1" ];then
VLC_BUILD_DIR=build-chrome-${TARGET_TUPLE}
export ac_cv_func_eventfd=no
export ac_cv_header_sys_eventfd_h=no
else
VLC_BUILD_DIR=build-android-${TARGET_TUPLE}
fi
mkdir -p $VLC_BUILD_DIR && cd $VLC_BUILD_DIR mkdir -p $VLC_BUILD_DIR && cd $VLC_BUILD_DIR
############# #############
......
...@@ -158,6 +158,9 @@ OPTS="-a ${ANDROID_ABI}" ...@@ -158,6 +158,9 @@ OPTS="-a ${ANDROID_ABI}"
if [ "$RELEASE" = 1 ]; then if [ "$RELEASE" = 1 ]; then
OPTS="$OPTS release" OPTS="$OPTS release"
fi fi
if [ "$CHROME_OS" = 1 ]; then
OPTS="$OPTS -c"
fi
./compile-libvlc.sh $OPTS ./compile-libvlc.sh $OPTS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment