Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Android.mk | H A D | 25-Apr-2025 | 2.3 KiB | 68 | 42 | |
README | H A D | 25-Apr-2025 | 1.2 KiB | 34 | 26 | |
get_files.py | H A D | 25-Apr-2025 | 3.2 KiB | 120 | 81 | |
scrape_gtest_log.py | H A D | 25-Apr-2025 | 1.5 KiB | 58 | 38 |
README
1Android.mk will build vpx unittests on android. 21) Configure libvpx from the parent directory: 3./libvpx/configure --target=armv7-android-gcc --enable-external-build \ 4 --enable-postproc --disable-install-srcs --enable-multi-res-encoding \ 5 --enable-temporal-denoising --disable-unit-tests --disable-install-docs \ 6 --disable-examples --disable-runtime-cpu-detect 7 82) From the parent directory, invoke ndk-build: 9NDK_PROJECT_PATH=. ndk-build APP_BUILD_SCRIPT=./libvpx/test/android/Android.mk \ 10 APP_ABI=armeabi-v7a APP_PLATFORM=android-18 APP_OPTIM=release \ 11 APP_STL=c++_static 12 13Note: Both adb and ndk-build are available at: 14 https://developer.android.com/studio#downloads 15 https://developer.android.com/ndk/downloads 16 173) Run get_files.py to download the test files: 18python get_files.py -i /path/to/test-data.sha1 -o /path/to/put/files \ 19 -u https://storage.googleapis.com/downloads.webmproject.org/test_data/libvpx 20 214) Transfer files to device using adb. Ensure you have proper permissions for 22the target 23 24adb push /path/to/test_files /data/local/tmp 25adb push /path/to/built_libs /data/local/tmp 26 27NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a 28 295) Run tests: 30adb shell 31(on device) 32cd /data/local/tmp 33LD_LIBRARY_PATH=. ./vpx_test 34