aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skqp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-12-21 15:13:20 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-21 21:11:44 +0000
commit4e9a3504aaf84961c53849b4a2c7bc9746f88ab5 (patch)
treecb31ff0dabe4736b54c4854b51ea919d510eaa2f /tools/skqp
parent889d521d8715f4934accb630097bc09bf7ad1a32 (diff)
SkQP: more README
Change-Id: Id22a094445ea75a7dc60270a195b9f42bb6849f1 Reviewed-on: https://skia-review.googlesource.com/88680 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/skqp')
-rw-r--r--tools/skqp/README.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/skqp/README.md b/tools/skqp/README.md
index 3b311da959..e78e6edc6e 100644
--- a/tools/skqp/README.md
+++ b/tools/skqp/README.md
@@ -2,16 +2,18 @@
SkQP
====
-**Motivation**: Test an Android device’s GPU and OpenGLES & Vulkan drivers with
-Skia and Skia’s existing unit & rendering tests.
+**Motivation**: Test an Android device's GPU and OpenGLES & Vulkan drivers with
+Skia and Skia's existing unit & rendering tests.
How To Use SkQP on your Android device:
1. To build SkQP you need to install the
[Android NDK](https://developer.android.com/ndk/).
-2. Checkout Skia, then go to the source directory:
+2. [Checkout depot\_tools and Skia](https://skia.org/user/download),
+ then go to Skia's source directory:
+ export PATH="${DEPOT_TOOLS_PATH}:$PATH"
cd $SKIA_SOURCE_DIRECTORY
3. Configure and build Skia for your device's architecture:
@@ -61,6 +63,13 @@ Run as an executable
Run as an APK
-------------
+0. Install the [Android SDK](https://developer.android.com/studio/#command-tools).
+
+ mkdir ~/android-sdk
+ ( cd ~/android-sdk; unzip ~/Downloads/sdk-tools-*.zip )
+ yes | ~/android-sdk/tools/bin/sdkmanager --licenses
+ export ANDROID_HOME=~/android-sdk
+
1. Build the skqp.apk, load it on the device, and run the tests
platform_tools/android/bin/android_build_app -C out/${arch}-rel skqp