OLD | NEW |
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 closure_args = [ |
7 "compilation_level=SIMPLE_OPTIMIZATIONS", | 7 "compilation_level=SIMPLE_OPTIMIZATIONS", |
| 8 |
8 "extra_annotation_name=attribute", | 9 "extra_annotation_name=attribute", |
9 "extra_annotation_name=demo", | 10 "extra_annotation_name=demo", |
10 "extra_annotation_name=element", | 11 "extra_annotation_name=element", |
11 "extra_annotation_name=group", | 12 "extra_annotation_name=group", |
12 "extra_annotation_name=hero", | 13 "extra_annotation_name=hero", |
13 "extra_annotation_name=homepage", | 14 "extra_annotation_name=homepage", |
14 "extra_annotation_name=status", | 15 "extra_annotation_name=status", |
15 "extra_annotation_name=submodule", | 16 "extra_annotation_name=submodule", |
| 17 |
16 "jscomp_error=accessControls", | 18 "jscomp_error=accessControls", |
17 "jscomp_error=ambiguousFunctionDecl", | 19 "jscomp_error=ambiguousFunctionDecl", |
18 "jscomp_error=checkTypes", | 20 "jscomp_error=checkTypes", |
19 "jscomp_error=checkVars", | 21 "jscomp_error=checkVars", |
20 "jscomp_error=constantProperty", | 22 "jscomp_error=constantProperty", |
21 "jscomp_error=deprecated", | 23 "jscomp_error=deprecated", |
22 "jscomp_error=externsValidation", | 24 "jscomp_error=externsValidation", |
23 "jscomp_error=globalThis", | 25 "jscomp_error=globalThis", |
24 "jscomp_error=invalidCasts", | 26 "jscomp_error=invalidCasts", |
25 "jscomp_error=missingProperties", | 27 "jscomp_error=missingProperties", |
26 "jscomp_error=missingReturn", | 28 "jscomp_error=missingReturn", |
27 "jscomp_error=nonStandardJsDocs", | 29 "jscomp_error=nonStandardJsDocs", |
28 "jscomp_error=suspiciousCode", | 30 "jscomp_error=suspiciousCode", |
29 "jscomp_error=undefinedNames", | 31 "jscomp_error=undefinedNames", |
30 "jscomp_error=undefinedVars", | 32 "jscomp_error=undefinedVars", |
31 "jscomp_error=unknownDefines", | 33 "jscomp_error=unknownDefines", |
32 "jscomp_error=uselessCode", | 34 "jscomp_error=uselessCode", |
33 "jscomp_error=visibility", | 35 "jscomp_error=visibility", |
| 36 |
34 "language_in=ECMASCRIPT6_STRICT", | 37 "language_in=ECMASCRIPT6_STRICT", |
35 "language_out=ECMASCRIPT5_STRICT", | 38 "language_out=ECMASCRIPT5_STRICT", |
| 39 |
36 "polymer_pass", | 40 "polymer_pass", |
| 41 |
37 "source_map_format=V3", | 42 "source_map_format=V3", |
38 ] | 43 ] |
39 | 44 |
40 default_disabled_closure_args = [ | 45 default_disabled_closure_args = [ |
41 "jscomp_off=duplicate", | 46 "jscomp_off=duplicate", |
42 "jscomp_off=misplacedTypeAnnotation", | 47 "jscomp_off=misplacedTypeAnnotation", |
43 ] | 48 ] |
OLD | NEW |