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

Side by Side Diff: site/user/quick/gn.md

Issue 2323833002: GN: add a helper script for running Android builds (Closed)
Patch Set: docs 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 unified diff | Download patch
« no previous file with comments | « gn/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 GN 1 GN
2 ===== 2 =====
3 3
4 [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) 4 [GN](https://chromium.googlesource.com/chromium/src/tools/gn/)
5 is a new meta-build system originally designed to replace GYP in Chromium. 5 is a new meta-build system originally designed to replace GYP in Chromium.
6 6
7 You can build Skia using GN in a limited number of configurations. We expect 7 You can build Skia using GN in a limited number of configurations. We expect
8 that as that limited number rises, GN will become the preferred, and then only, 8 that as that limited number rises, GN will become the preferred, and then only,
9 way to build Skia. 9 way to build Skia.
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <!--?prettify lang=sh?--> 67 <!--?prettify lang=sh?-->
68 68
69 gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"' 69 gn gen out/arm --args='ndk="/tmp/ndk" target_cpu="arm"'
70 gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"' 70 gn gen out/arm64 --args='ndk="/tmp/ndk" target_cpu="arm64"'
71 gn gen out/mips64el --args='ndk="/tmp/ndk" target_cpu="mips64el"' 71 gn gen out/mips64el --args='ndk="/tmp/ndk" target_cpu="mips64el"'
72 gn gen out/mipsel --args='ndk="/tmp/ndk" target_cpu="mipsel"' 72 gn gen out/mipsel --args='ndk="/tmp/ndk" target_cpu="mipsel"'
73 gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"' 73 gn gen out/x64 --args='ndk="/tmp/ndk" target_cpu="x64"'
74 gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"' 74 gn gen out/x86 --args='ndk="/tmp/ndk" target_cpu="x86"'
75 75
76 Other arguments like `is_debug` and `is_component_build` continue to work. 76 Other arguments like `is_debug` and `is_component_build` continue to work.
77
78 To test on a locally connected Android device, you can use our `droid` convenien ce script:
79
80 <!--?prettify lang=sh?-->
81
82 ninja -C out/arm64
83 bin/droid out/arm64/dm --src gm --config gpu
OLDNEW
« no previous file with comments | « gn/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698