mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-02 10:33:36 +00:00
Add libvpx build for x86 and x86_64
This commit is contained in:
parent
ef1107f2f5
commit
65f7479c7c
4
.github/workflows/debug.yml
vendored
4
.github/workflows/debug.yml
vendored
|
@ -134,6 +134,10 @@ jobs:
|
|||
run: |
|
||||
cd TMessagesProj/jni
|
||||
./patch_boringssl.sh
|
||||
- name: Native Build (libvpx)
|
||||
if: matrix.flavor == 'x86' || matrix.flavor == 'x86_64'
|
||||
run: |
|
||||
- ./bin/init/libs/libvpx_x86.sh
|
||||
- name: Native Build
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
|
|
|
@ -761,7 +761,7 @@ target_link_libraries(${NATIVE_LIB}
|
|||
|
||||
if (${ANDROID_ABI} STREQUAL "x86" OR ${ANDROID_ABI} STREQUAL "x86_64")
|
||||
target_link_libraries(${NATIVE_LIB}
|
||||
-Wl,--whole-archive libvpx_yasm -Wl,--no-whole-archive)
|
||||
libvpx_yasm -Wl,--no-whole-archive)
|
||||
endif ()
|
||||
|
||||
#if (${ANDROID_ABI} STREQUAL "x86" OR ${ANDROID_ABI} STREQUAL "x86_64")
|
||||
|
|
|
@ -4,3 +4,4 @@ source "bin/init/env.sh"
|
|||
|
||||
bin/init/libs/ffmpeg.sh
|
||||
bin/init/libs/boringssl.sh
|
||||
bin/init/libs/libvpx_x.sh
|
||||
|
|
13
bin/init/libs/libvpx_x86.sh
Executable file
13
bin/init/libs/libvpx_x86.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "bin/init/env.sh"
|
||||
|
||||
cd TMessagesProj/jni || exit 1
|
||||
git submodule update --init libvpx
|
||||
|
||||
cd libvpx
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
cd ..
|
||||
|
||||
./build_libvpx_clang.sh || exit 1
|
Loading…
Reference in New Issue
Block a user