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

Unified Diff: site/user/quick/gn.md

Issue 2343263002: Flesh out GN/Android run docs. (Closed)
Patch Set: punctuation Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/quick/gn.md
diff --git a/site/user/quick/gn.md b/site/user/quick/gn.md
index 22756a6f96c355c7c59866b2474e343a9b288022..6c63482be9b72bb71261c5b77c7515c52ae15761 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
csmartdalton 2016/09/16 19:25:09 Resources are specific to the dm binary itself as
mtklein_C 2016/09/16 19:30:56 I see your point but every app we have to use as a
+ adb shell "cd /data/local/tmp; ./dm --src gm --config gpu"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698