aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-16 12:40:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-16 12:40:18 -0700
commite7904f3979e2e8b80b5d77165291e649ff1278dd (patch)
treed75dda86fed51f0a7d25a14d675baca305d9e99c /site
parentdbd16345a5b2b824f2696af791bb0f01304cf549 (diff)
Flesh out GN/Android run docs.
The process is simple enough that it's clearer to see all the steps laid out. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2343263002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2343263002 Review-Url: https://codereview.chromium.org/2343263002
Diffstat (limited to 'site')
-rw-r--r--site/user/quick/gn.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/site/user/quick/gn.md b/site/user/quick/gn.md
index 22756a6f96..6c63482be9 100644
--- a/site/user/quick/gn.md
+++ b/site/user/quick/gn.md
@@ -81,9 +81,12 @@ desired `target_cpu`:
Other arguments like `is_debug` and `is_component_build` continue to work.
Tweaking `ndk_api` gives you access to newer Android features like Vulkan.
-To test on a locally connected Android device, you can use our `droid` convenience script:
+To test on an Android device, push the binary and `resources` over,
+and run it as normal. You may find `bin/droid` convenient.
<!--?prettify lang=sh?-->
ninja -C out/arm64
- bin/droid out/arm64/dm --src gm --config gpu
+ adb push out/arm64/dm /data/local/tmp
+ adb push resources /data/local/tmp
+ adb shell "cd /data/local/tmp; ./dm --src gm --config gpu"