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

Side by Side Diff: tools/gn/docs/hacking.md

Issue 1052883002: migrate GN docs from the wiki to the repo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split md_browser out into its own dir Created 5 years, 8 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
OLDNEW
(Empty)
1 # Hacking on the GN binary itself
2
3 ## Building GN itself
4
5 GN is part of the Chromium tree. If you have a Chromium checkout, you
6 already have the source and you can do `ninja -C out/Debug gn` to
7 build it.
8
9 To build gn using gn, run (in the root `src` directory):
10
11 ```
12 gn gen out/Default
13 ninja -C out/Default gn
14 ```
15
16 Change `out/Default` as necessary to put the build directory where you
17 want.
18
19 ## Running GN's unit tests
20
21 ```
22 ninja -C out/Default gn_unittests && out/Default/gn_unittests
23 ```
OLDNEW
« no previous file with comments | « tools/gn/docs/faq.md ('k') | tools/gn/docs/language.md » ('j') | tools/gn/docs/standalone.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698