Add support for x86_64 for the ffmpeg extension
Requested by https://github.com/google/ExoPlayer/issues/7058. Additionally move one of the common option in COMMON_OPTIONS. PiperOrigin-RevId: 299862479
This commit is contained in:
parent
4e6383aeae
commit
40d5db0460
@ -5,6 +5,7 @@
|
|||||||
* Text: Catch-and-log all fatal exceptions in `TextRenderer` instead of
|
* Text: Catch-and-log all fatal exceptions in `TextRenderer` instead of
|
||||||
re-throwing, allowing playback to continue even if subtitles fail
|
re-throwing, allowing playback to continue even if subtitles fail
|
||||||
([#6885](https://github.com/google/ExoPlayer/issues/6885)).
|
([#6885](https://github.com/google/ExoPlayer/issues/6885)).
|
||||||
|
* FFmpeg extension: Add support for x86_64.
|
||||||
|
|
||||||
### 2.11.3 (2020-02-19) ###
|
### 2.11.3 (2020-02-19) ###
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ COMMON_OPTIONS="
|
|||||||
--disable-symver
|
--disable-symver
|
||||||
--disable-avresample
|
--disable-avresample
|
||||||
--enable-swresample
|
--enable-swresample
|
||||||
|
--extra-ldexeflags=-pie
|
||||||
"
|
"
|
||||||
TOOLCHAIN_PREFIX="${NDK_PATH}/toolchains/llvm/prebuilt/${HOST_PLATFORM}/bin"
|
TOOLCHAIN_PREFIX="${NDK_PATH}/toolchains/llvm/prebuilt/${HOST_PLATFORM}/bin"
|
||||||
for decoder in "${ENABLED_DECODERS[@]}"
|
for decoder in "${ENABLED_DECODERS[@]}"
|
||||||
@ -53,7 +54,6 @@ git checkout release/4.2
|
|||||||
--strip="${TOOLCHAIN_PREFIX}/arm-linux-androideabi-strip" \
|
--strip="${TOOLCHAIN_PREFIX}/arm-linux-androideabi-strip" \
|
||||||
--extra-cflags="-march=armv7-a -mfloat-abi=softfp" \
|
--extra-cflags="-march=armv7-a -mfloat-abi=softfp" \
|
||||||
--extra-ldflags="-Wl,--fix-cortex-a8" \
|
--extra-ldflags="-Wl,--fix-cortex-a8" \
|
||||||
--extra-ldexeflags=-pie \
|
|
||||||
${COMMON_OPTIONS}
|
${COMMON_OPTIONS}
|
||||||
make -j4
|
make -j4
|
||||||
make install-libs
|
make install-libs
|
||||||
@ -65,7 +65,6 @@ make clean
|
|||||||
--cross-prefix="${TOOLCHAIN_PREFIX}/aarch64-linux-android21-" \
|
--cross-prefix="${TOOLCHAIN_PREFIX}/aarch64-linux-android21-" \
|
||||||
--nm="${TOOLCHAIN_PREFIX}/aarch64-linux-android-nm" \
|
--nm="${TOOLCHAIN_PREFIX}/aarch64-linux-android-nm" \
|
||||||
--strip="${TOOLCHAIN_PREFIX}/aarch64-linux-android-strip" \
|
--strip="${TOOLCHAIN_PREFIX}/aarch64-linux-android-strip" \
|
||||||
--extra-ldexeflags=-pie \
|
|
||||||
${COMMON_OPTIONS}
|
${COMMON_OPTIONS}
|
||||||
make -j4
|
make -j4
|
||||||
make install-libs
|
make install-libs
|
||||||
@ -77,7 +76,18 @@ make clean
|
|||||||
--cross-prefix="${TOOLCHAIN_PREFIX}/i686-linux-android16-" \
|
--cross-prefix="${TOOLCHAIN_PREFIX}/i686-linux-android16-" \
|
||||||
--nm="${TOOLCHAIN_PREFIX}/i686-linux-android-nm" \
|
--nm="${TOOLCHAIN_PREFIX}/i686-linux-android-nm" \
|
||||||
--strip="${TOOLCHAIN_PREFIX}/i686-linux-android-strip" \
|
--strip="${TOOLCHAIN_PREFIX}/i686-linux-android-strip" \
|
||||||
--extra-ldexeflags=-pie \
|
--disable-asm \
|
||||||
|
${COMMON_OPTIONS}
|
||||||
|
make -j4
|
||||||
|
make install-libs
|
||||||
|
make clean
|
||||||
|
./configure \
|
||||||
|
--libdir=android-libs/x86_64 \
|
||||||
|
--arch=x86_64 \
|
||||||
|
--cpu=x86_64 \
|
||||||
|
--cross-prefix="${TOOLCHAIN_PREFIX}/x86_64-linux-android16-" \
|
||||||
|
--nm="${TOOLCHAIN_PREFIX}/x86_64-linux-android-nm" \
|
||||||
|
--strip="${TOOLCHAIN_PREFIX}/x86_64-linux-android-strip" \
|
||||||
--disable-asm \
|
--disable-asm \
|
||||||
${COMMON_OPTIONS}
|
${COMMON_OPTIONS}
|
||||||
make -j4
|
make -j4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user