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

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

Issue 2192203002: GN: quick doc (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix clang Created 4 years, 4 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 | « no previous file | 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
(Empty)
1 GN
2 =====
3
4 [GN](https://chromium.googlesource.com/chromium/src/tools/gn/)
5 is a new meta-build system originally designed to replace GYP in Chromium.
6
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,
9 way to build Skia.
10
11 Supported Features
12 ----------
13
14 * Linux, Mac
15 * Software rendering
16 * libskia.a, libskia.so
17 * DM, nanobench
18
19 Quickstart
20 ----------
21
22 Please check out Skia using the instructions in one of the other quick start
23 guides. We diverge where they'd first run some command with "gyp" in it.
24
25 <!--?prettify lang=sh?-->
26
27 # After gclient sync, run fetch-gn to make sure you have GN.
28 gclient sync && bin/fetch-gn
hal.canary 2016/08/03 18:26:45 `bin/sync` is a good wrapper around `gclient sync`
29
30 # Run GN to generate your build files. Some examples.
31 gn gen out/Release
32 gn gen out/Debug --args=is_debug=true
33 gn gen out/Clang --args='cc="clang" cxx="clang++"'
34 gn gen out/Shared --args=is_component_build=true
35
36 # Build
37 ninja -C out/Release
38 ninja -C out/Debug
39 ninja -C out/Clang
40 ninja -C out/Shared
41
42 From here everything is pretty much business as usual.
OLDNEW
« 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