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

Unified Diff: third_party/closure_compiler/closure_args.gni

Issue 2094193004: Strip comments and whitespace from Javascript resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments, plus rebases. Created 4 years, 5 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/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 = [

Powered by Google App Engine
This is Rietveld 408576698