[llvm] r351088 - gn build: Fix path to gn.py in docs

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 10:26:56 PST 2019


Author: nico
Date: Mon Jan 14 10:26:55 2019
New Revision: 351088

URL: http://llvm.org/viewvc/llvm-project?rev=351088&view=rev
Log:
gn build: Fix path to gn.py in docs

Modified:
    llvm/trunk/utils/gn/.gn
    llvm/trunk/utils/gn/README.rst

Modified: llvm/trunk/utils/gn/.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/.gn?rev=351088&r1=351087&r2=351088&view=diff
==============================================================================
--- llvm/trunk/utils/gn/.gn (original)
+++ llvm/trunk/utils/gn/.gn Mon Jan 14 10:26:55 2019
@@ -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"
 

Modified: llvm/trunk/utils/gn/README.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/README.rst?rev=351088&r1=351087&r2=351088&view=diff
==============================================================================
--- llvm/trunk/utils/gn/README.rst (original)
+++ llvm/trunk/utils/gn/README.rst Mon Jan 14 10:26:55 2019
@@ -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.
 




More information about the llvm-commits mailing list