Index: third_party/closure_compiler/closure_args.gni |
diff --git a/third_party/closure_compiler/closure_args.gni b/third_party/closure_compiler/closure_args.gni |
index b1cd18974247bb1e587e661eecd99c629468a76d..569b21581ece79f6717552def35b514d2bd23303 100644 |
--- a/third_party/closure_compiler/closure_args.gni |
+++ b/third_party/closure_compiler/closure_args.gni |
@@ -3,9 +3,7 @@ |
# found in the LICENSE file. |
# GYP version: third_party/closure_compiler/closure_args.gypi |
-closure_args = [ |
- "compilation_level=SIMPLE_OPTIMIZATIONS", |
- |
+common_closure_args = [ |
"extra_annotation_name=attribute", |
"extra_annotation_name=demo", |
"extra_annotation_name=element", |
@@ -14,7 +12,15 @@ closure_args = [ |
"extra_annotation_name=homepage", |
"extra_annotation_name=status", |
"extra_annotation_name=submodule", |
+ "language_in=ECMASCRIPT6_STRICT", |
+ "language_out=ECMASCRIPT5_STRICT", |
+ |
+ "polymer_pass", |
+ |
+ "source_map_format=V3", |
+] |
+typecheck_closure_args = [ |
"jscomp_error=accessControls", |
"jscomp_error=ambiguousFunctionDecl", |
"jscomp_error=checkTypes", |
@@ -33,13 +39,6 @@ closure_args = [ |
"jscomp_error=unknownDefines", |
"jscomp_error=uselessCode", |
"jscomp_error=visibility", |
- |
- "language_in=ECMASCRIPT6_STRICT", |
- "language_out=ECMASCRIPT5_STRICT", |
- |
- "polymer_pass", |
- |
- "source_map_format=V3", |
] |
default_disabled_closure_args = [ |