• Home
  • History
  • Annotate
  • only in /external/chromium_org/third_party/libvpx/source/libvpx/test/android/
NameDateSize

..12-Mar-20154 KiB

Android.mk12-Mar-20151.7 KiB

get_files.py12-Mar-20153.1 KiB

README12-Mar-20151.2 KiB

scrape_gtest_log.py12-Mar-20151.5 KiB

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 --sdk-path=$NDK
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=gnustl_static
12
13Note: Both adb and ndk-build are available prebuilt at:
14  https://chromium.googlesource.com/android_tools
15
163) Run get_files.py to download the test files:
17python get_files.py -i /path/to/test-data.sha1 -o /path/to/put/files \
18  -u http://downloads.webmproject.org/test_data/libvpx
19
204) Transfer files to device using adb. Ensure you have proper permissions for
21the target
22
23adb push /path/to/test_files /data/local/tmp
24adb push /path/to/built_libs /data/local/tmp
25
26NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
27
285) Run tests:
29adb shell
30(on device)
31cd /data/local/tmp
32LD_LIBRARY_PATH=. ./vpx_test
33