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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GYP version: third_party/closure_compiler/closure_args.gypi 5 # GYP version: third_party/closure_compiler/closure_args.gypi
6 closure_args = [ 6 common_closure_args = [
7 "compilation_level=SIMPLE_OPTIMIZATIONS",
8
9 "extra_annotation_name=attribute", 7 "extra_annotation_name=attribute",
10 "extra_annotation_name=demo", 8 "extra_annotation_name=demo",
11 "extra_annotation_name=element", 9 "extra_annotation_name=element",
12 "extra_annotation_name=group", 10 "extra_annotation_name=group",
13 "extra_annotation_name=hero", 11 "extra_annotation_name=hero",
14 "extra_annotation_name=homepage", 12 "extra_annotation_name=homepage",
15 "extra_annotation_name=status", 13 "extra_annotation_name=status",
16 "extra_annotation_name=submodule", 14 "extra_annotation_name=submodule",
15 "language_in=ECMASCRIPT6_STRICT",
16 "language_out=ECMASCRIPT5_STRICT",
17 17
18 "polymer_pass",
19
20 "source_map_format=V3",
21 ]
22
23 typecheck_closure_args = [
18 "jscomp_error=accessControls", 24 "jscomp_error=accessControls",
19 "jscomp_error=ambiguousFunctionDecl", 25 "jscomp_error=ambiguousFunctionDecl",
20 "jscomp_error=checkTypes", 26 "jscomp_error=checkTypes",
21 "jscomp_error=checkVars", 27 "jscomp_error=checkVars",
22 "jscomp_error=constantProperty", 28 "jscomp_error=constantProperty",
23 "jscomp_error=deprecated", 29 "jscomp_error=deprecated",
24 "jscomp_error=externsValidation", 30 "jscomp_error=externsValidation",
25 "jscomp_error=globalThis", 31 "jscomp_error=globalThis",
26 "jscomp_error=invalidCasts", 32 "jscomp_error=invalidCasts",
27 "jscomp_error=missingProperties", 33 "jscomp_error=missingProperties",
28 "jscomp_error=missingReturn", 34 "jscomp_error=missingReturn",
29 "jscomp_error=nonStandardJsDocs", 35 "jscomp_error=nonStandardJsDocs",
30 "jscomp_error=suspiciousCode", 36 "jscomp_error=suspiciousCode",
31 "jscomp_error=undefinedNames", 37 "jscomp_error=undefinedNames",
32 "jscomp_error=undefinedVars", 38 "jscomp_error=undefinedVars",
33 "jscomp_error=unknownDefines", 39 "jscomp_error=unknownDefines",
34 "jscomp_error=uselessCode", 40 "jscomp_error=uselessCode",
35 "jscomp_error=visibility", 41 "jscomp_error=visibility",
36
37 "language_in=ECMASCRIPT6_STRICT",
38 "language_out=ECMASCRIPT5_STRICT",
39
40 "polymer_pass",
41
42 "source_map_format=V3",
43 ] 42 ]
44 43
45 default_disabled_closure_args = [ 44 default_disabled_closure_args = [
46 "jscomp_off=duplicate", 45 "jscomp_off=duplicate",
47 "jscomp_off=misplacedTypeAnnotation", 46 "jscomp_off=misplacedTypeAnnotation",
48 ] 47 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698