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

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: app_remoting_webapp gyp stuff Created 5 years, 6 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..03279939cf1dda9a2f36069ad8b2e25b51b7419c
--- /dev/null
+++ b/remoting/compile_js.gypi
@@ -0,0 +1,17 @@
+# 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.
+
+{
+ 'variables': {
+ 'externs': ['../third_party/closure_compiler/externs/chrome_extensions.js'],
+ 'script_args': ['--no-single-file'],
+ 'closure_args': [
+ 'jscomp_error=reportUnknownTypes',
+ 'jscomp_error=duplicate',
+ 'jscomp_error=misplacedTypeAnnotation',
+ ],
+ 'disabled_closure_args': [],
+ },
+ 'includes': ['../third_party/closure_compiler/compile_js.gypi'],
+}

Powered by Google App Engine
This is Rietveld 408576698