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

Unified Diff: docs/closure_compilation.md

Issue 1662733003: Add a v2 closure gyp syntax to Closure wiki (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2 Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/closure_compilation.md
diff --git a/docs/closure_compilation.md b/docs/closure_compilation.md
index 4f403cdea60bf295a9aa492c6d32dc56a456b869..2f0907ab2c82a2675ab38d53fa580e603fdbba70 100644
--- a/docs/closure_compilation.md
+++ b/docs/closure_compilation.md
@@ -7,8 +7,15 @@ To locally run closure compiler like the bots, do this:
```shell
cd $CHROMIUM_SRC
# sudo apt-get install openjdk-7-jre # may be required
-GYP_GENERATORS=ninja tools/gyp/gyp --depth . \
-third_party/closure_compiler/compiled_resources.gyp
+GYP_GENERATORS=ninja tools/gyp/gyp --depth . third_party/closure_compiler/compiled_resources.gyp
+ninja -C out/Default
+```
+
+To run the v2 gyp format, change the last 2 lines to:
+
+```shell
+# notice the 2 in compiled_resources2.gyp
+GYP_GENERATORS=ninja tools/gyp/gyp --depth . third_party/closure_compiler/compiled_resources2.gyp
ninja -C out/Default
```
« 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