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 { | 5 { |
6 'closure_args': [ | 6 'closure_args': [ |
7 'accept_const_keyword', | |
8 'compilation_level=SIMPLE_OPTIMIZATIONS', | 7 'compilation_level=SIMPLE_OPTIMIZATIONS', |
9 'extra_annotation_name=attribute', | 8 'extra_annotation_name=attribute', |
10 'extra_annotation_name=demo', | 9 'extra_annotation_name=demo', |
11 'extra_annotation_name=element', | 10 'extra_annotation_name=element', |
12 'extra_annotation_name=group', | 11 'extra_annotation_name=group', |
13 'extra_annotation_name=homepage', | 12 'extra_annotation_name=homepage', |
14 'extra_annotation_name=status', | 13 'extra_annotation_name=status', |
15 'extra_annotation_name=submodule', | 14 'extra_annotation_name=submodule', |
16 'jscomp_error=accessControls', | 15 'jscomp_error=accessControls', |
17 'jscomp_error=ambiguousFunctionDecl', | 16 'jscomp_error=ambiguousFunctionDecl', |
18 'jscomp_error=checkStructDictInheritance', | |
19 'jscomp_error=checkTypes', | 17 'jscomp_error=checkTypes', |
20 'jscomp_error=checkVars', | 18 'jscomp_error=checkVars', |
21 'jscomp_error=constantProperty', | 19 'jscomp_error=constantProperty', |
22 'jscomp_error=deprecated', | 20 'jscomp_error=deprecated', |
23 'jscomp_error=externsValidation', | 21 'jscomp_error=externsValidation', |
24 'jscomp_error=globalThis', | 22 'jscomp_error=globalThis', |
25 'jscomp_error=invalidCasts', | 23 'jscomp_error=invalidCasts', |
26 'jscomp_error=missingProperties', | 24 'jscomp_error=missingProperties', |
27 'jscomp_error=missingReturn', | 25 'jscomp_error=missingReturn', |
28 'jscomp_error=nonStandardJsDocs', | 26 'jscomp_error=nonStandardJsDocs', |
(...skipping 10 matching lines...) Expand all Loading... |
39 'summary_detail_level=3', # compile.py depends on this for output parsing; d
o not override. | 37 'summary_detail_level=3', # compile.py depends on this for output parsing; d
o not override. |
40 ], | 38 ], |
41 'default_disabled_closure_args': [ | 39 'default_disabled_closure_args': [ |
42 # TODO(dbeam): happens when the same file is <include>d multiple times. | 40 # TODO(dbeam): happens when the same file is <include>d multiple times. |
43 'jscomp_off=duplicate', | 41 'jscomp_off=duplicate', |
44 # TODO(fukino): happens when cr.defineProperty() has a type annotation. | 42 # TODO(fukino): happens when cr.defineProperty() has a type annotation. |
45 # Avoiding parse-time warnings needs 2 pass compiling. crbug.com/421562. | 43 # Avoiding parse-time warnings needs 2 pass compiling. crbug.com/421562. |
46 'jscomp_off=misplacedTypeAnnotation', | 44 'jscomp_off=misplacedTypeAnnotation', |
47 ] | 45 ] |
48 } | 46 } |
OLD | NEW |