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

Unified Diff: remoting/compile_js.gypi

Issue 1152583011: Refactor compile_js.gypi to support script_args and closure_args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added remoting/compile_js.gypi and decoupled target_name from source_files Created 5 years, 7 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
Index: remoting/compile_js.gypi
diff --git a/remoting/compile_js.gypi b/remoting/compile_js.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..90cb0da43f07ffa53049221f9028b554ecd78dee
--- /dev/null
+++ b/remoting/compile_js.gypi
@@ -0,0 +1,22 @@
+# Copyright 2015 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.
+#
+# remoting/compile_js.gypi
Dan Beam 2015/06/01 22:57:39 can remove this as from the path it's clear (I jus
+{
+ 'variables': {
+ 'closure_args!': [
+ '--jscomp_off=duplicate',
+ '--jscomp_off=misplacedTypeAnnotation',
+ ],
+ 'closure_args': [
+ '--jscomp_error=reportUnknownTypes',
+ '--jscomp_error=duplicate',
+ '--jscomp_error=misplacedTypeAnnotation',
+ ],
+ 'script_args' : [
Dan Beam 2015/06/01 22:57:39 'script_args': ['--no-single-file'],
Theresa 2015/06/02 22:02:12 Done.
+ '--no-single-file',
+ ],
+ },
+ 'includes': [ '../third_party/closure_compiler/compile_js.gypi' ],
Dan Beam 2015/06/01 22:57:39 i'd say mild preference to do: 'list_name': ['o
Theresa 2015/06/02 22:02:12 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698