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

Unified Diff: third_party/closure_compiler/compile_js.gypi

Issue 1112403006: Add a flag to the compiler for compiling polymer code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use an absolute path for the externs 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: third_party/closure_compiler/compile_js.gypi
diff --git a/third_party/closure_compiler/compile_js.gypi b/third_party/closure_compiler/compile_js.gypi
index b97b2acffdc65f7ecb72199eeb74dc49124c5d1c..5843fac2298015a1c857437ff5433d5a3f5bb3da 100644
--- a/third_party/closure_compiler/compile_js.gypi
+++ b/third_party/closure_compiler/compile_js.gypi
@@ -17,6 +17,7 @@
'out_file': '<(SHARED_INTERMEDIATE_DIR)/closure/<!(python <(CLOSURE_DIR)/build/outputs.py <@(source_file))',
'externs%': [],
'depends%': [],
+ 'polymer%': 0,
},
'inputs': [
'compile_js.gypi',
@@ -38,6 +39,7 @@
'--depends', '<@(depends)',
'--externs', '<@(externs)',
'--out_file', '<(out_file)',
+ '--polymer', '<(polymer)',
# Add '--verbose' for make glorious log spam of Closure compiler.
],
'message': 'Compiling <(source_file)',

Powered by Google App Engine
This is Rietveld 408576698