summaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-01-14 18:26:55 +0000
committerNico Weber <nicolasweber@gmx.de>2019-01-14 18:26:55 +0000
commitcbef3b94b91615dcd00d04022a27e4836a1d0c0e (patch)
tree35f697bcedea0e1b4f26159ebdea638707b21add /llvm
parente9a6311fa11432be53c24429fbedc8ee85672848 (diff)
gn build: Fix path to gn.py in docs
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/gn/.gn2
-rw-r--r--llvm/utils/gn/README.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/gn/.gn b/llvm/utils/gn/.gn
index 746baf06c57..6c77157731e 100644
--- a/llvm/utils/gn/.gn
+++ b/llvm/utils/gn/.gn
@@ -1,6 +1,6 @@
# Since this can't be at the toplevel, you either need to pass
# `--dotfile=llvm/utils/gn/.gn --root=.` to the `gn gen` command
-# or use llvm/utils/gn/build/gn.py which calls gn with these two flags added.
+# or use llvm/utils/gn/gn.py which calls gn with these two flags added.
buildconfig = "//llvm/utils/gn/build/BUILDCONFIG.gn"
diff --git a/llvm/utils/gn/README.rst b/llvm/utils/gn/README.rst
index cd87ef1c90d..4d8051ff602 100644
--- a/llvm/utils/gn/README.rst
+++ b/llvm/utils/gn/README.rst
@@ -44,7 +44,7 @@ GN only works in the monorepo layout.
#. Obtain a `gn binary <https://gn.googlesource.com/gn/#getting-started>`_.
-#. In the root of the monorepo, run `llvm/utils/gn/build/gn.py gen out/gn`.
+#. In the root of the monorepo, run `llvm/utils/gn/gn.py gen out/gn`.
`out/gn` is the build directory, it can have any name, and you can have as
many as you want, each with different build settings. (The `gn.py` script
adds `--dotfile=llvm/utils/gn/.gn --root=.` and just runs regular `gn`;
@@ -57,7 +57,7 @@ GN only works in the monorepo layout.
By default, you get a release build with assertions enabled that targets
the host arch. You can set various build options by editing `out/gn/args.gn`,
for example putting `is_debug = true` in there gives you a debug build. Run
-`llvm/utils/gn/build/gn.py args --list out/gn` to see a list of all possible
+`llvm/utils/gn/gn.py args --list out/gn` to see a list of all possible
options. After touching `out/gn/args.gn`, just run ninja, it will re-invoke gn
before starting the build.