aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-08 10:03:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-08 10:03:21 -0700
commitf3155ad97c8095e5172fb826d7f09b7a85062f25 (patch)
treed969fe5609bf752bd4ef49f8a79a753ee5418b44 /site/user
parent4cea3b9e9d9836c926a8feb55d050993d40b4b5e (diff)
GN: add a helper script for running Android builds
Think of this as the spiritual equivalent of platform_tools/android/bin/android_run_skia, but for GN and easier to type. Cutting down the debug symbols makes Android builds about 1/4 the size. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2323833002 DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2323833002 Review-Url: https://codereview.chromium.org/2323833002
Diffstat (limited to 'site/user')
-rw-r--r--site/user/quick/gn.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/user/quick/gn.md b/site/user/quick/gn.md
index ad7f1090a1..a0f5b0d2ff 100644
--- a/site/user/quick/gn.md
+++ b/site/user/quick/gn.md
@@ -74,3 +74,10 @@ desired `target_cpu`:
gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"'
Other arguments like `is_debug` and `is_component_build` continue to work.
+
+To test on a locally connected Android device, you can use our `droid` convenience script:
+
+<!--?prettify lang=sh?-->
+
+ ninja -C out/arm64
+ bin/droid out/arm64/dm --src gm --config gpu