You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ffmpeg-android-build/scripts/libaom/build.sh

22 lines
622 B

# libaom doesn't support building being in its root directory
CMAKE_BUILD_DIR=aom_build_${ANDROID_ABI}
rm -rf ${CMAKE_BUILD_DIR}
mkdir ${CMAKE_BUILD_DIR}
cd ${CMAKE_BUILD_DIR}
${CMAKE_EXECUTABLE} .. \
-DANDROID_PLATFORM=${ANDROID_PLATFORM} \
-DANDROID_ABI=${ANDROID_ABI} \
-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS_DIR}/libaom/android.cmake \
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
-DCONFIG_PIC=1 \
-DCONFIG_AV1_ENCODER=0 \
-DCONFIG_RUNTIME_CPU_DETECT=0 \
-DENABLE_TESTS=0 \
-DENABLE_DOCS=0 \
-DENABLE_TESTDATA=0 \
-DENABLE_EXAMPLES=0 \
-DENABLE_TOOLS=0
${MAKE_EXECUTABLE} -j${HOST_NPROC}
${MAKE_EXECUTABLE} install