Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: source/libvpx/test/android/README

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/android/Android.mk ('k') | source/libvpx/test/android/get_files.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Android.mk will build vpx unittests on android.
2 1) 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=$NDK
7
8 2) From the parent directory, invoke ndk-build:
9 NDK_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
13 Note: Both adb and ndk-build are available prebuilt at:
14 https://chromium.googlesource.com/android_tools
15
16 3) Run get_files.py to download the test files:
17 python get_files.py -i /path/to/test-data.sha1 -o /path/to/put/files \
18 -u http://downloads.webmproject.org/test_data/libvpx
19
20 4) Transfer files to device using adb. Ensure you have proper permissions for
21 the target
22
23 adb push /path/to/test_files /data/local/tmp
24 adb push /path/to/built_libs /data/local/tmp
25
26 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
27
28 5) Run tests:
29 adb shell
30 (on device)
31 cd /data/local/tmp
32 LD_LIBRARY_PATH=. ./vpx_test
OLDNEW
« no previous file with comments | « source/libvpx/test/android/Android.mk ('k') | source/libvpx/test/android/get_files.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698