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

Unified Diff: third_party/closure_compiler/run_compiler

Issue 1829553002: Closure Compiler: Add script to run compile and update Wiki docs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/closure_compiler/compiled_resources2.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/run_compiler
diff --git a/third_party/closure_compiler/run_compiler b/third_party/closure_compiler/run_compiler
new file mode 100755
index 0000000000000000000000000000000000000000..884c41551c4f6a4583d86eeef1475b41c626af1c
--- /dev/null
+++ b/third_party/closure_compiler/run_compiler
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+set -e
+
+cd $(dirname "$0")/../..
+
+export GYP_GENERATORS="ninja"
+
+tools/gyp/gyp --no-circular-check \
+third_party/closure_compiler/compiled_resources.gyp \
+third_party/closure_compiler/compiled_resources2.gyp
+
+ninja -C out/Default -j4 $@
« no previous file with comments | « third_party/closure_compiler/compiled_resources2.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698