zycet / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

create APK for libyuv_unittest to run on Android #504

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Running an APK works on any android without rooting.

This already works for webrtc unittests.
Instructions for webrtc process are:
1. Get a WebRTC checkout using 'fetch webrtc_android'
2. Create a local branch and apply https://codereview.webrtc.org/1399453002:
git checkout master
git checkout -b test
git cl patch 1399453002
3. Compile for ARM64:
export GYP_CROSSCOMPILE=1
export GYP_DEFINES="OS=android target_arch=arm64 component=static_library 
dcheck_always_on=1 fastbuild=1"
gclient runhooks
ninja -C out/Release common_video_unittests_apk

4. Run common_video_unittests on Android with an ARM64 device, e.g. Nexus 9:
webrtc/build/android/test_runner.py gtest -s common_video_unittests --verbose 
--release 
--isolate_file_path=webrtc/common_video/common_video_unittests.isolate 
--gtest_filter=TestLibYuv.ConvertTest

Create equivalent process for libyuv.

Original issue reported on code.google.com by fbarch...@chromium.org on 12 Oct 2015 at 10:10

GoogleCodeExporter commented 8 years ago
https://codereview.chromium.org/1398383003/
adds apk targets

Original comment by fbarch...@chromium.org on 12 Oct 2015 at 11:36

GoogleCodeExporter commented 8 years ago

Original comment by fbarch...@chromium.org on 12 Oct 2015 at 11:49

GoogleCodeExporter commented 8 years ago
Getting Started updated.  Works for both armv7 and arm64

Original comment by fbarch...@google.com on 14 Oct 2015 at 2:52