]> granicus.if.org Git - llvm/commitdiff
gn build: Fix path to gn.py in docs
authorNico Weber <nicolasweber@gmx.de>
Mon, 14 Jan 2019 18:26:55 +0000 (18:26 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 14 Jan 2019 18:26:55 +0000 (18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351088 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/.gn
utils/gn/README.rst

index 746baf06c57d4f915e1efa3e7944179c792f3740..6c77157731e91ee8030dd445ce515629e6dce55b 100644 (file)
@@ -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"
 
index cd87ef1c90db98c10fa6a4518d68acbecedc538a..4d8051ff602d80ba8d5123766426724caad07ce9 100644 (file)
@@ -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.