Name Date Size #Lines LOC

..--

Android.mkH A D25-Apr-20252.3 KiB6842

READMEH A D25-Apr-20251.2 KiB3426

get_files.pyH A D25-Apr-20253.2 KiB12081

scrape_gtest_log.pyH A D25-Apr-20251.5 KiB5838

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