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
3 # found in the LICENSE file.
7 'accept_const_keyword',
8 'compilation_level=SIMPLE_OPTIMIZATIONS',
9 'extra_annotation_name=attribute',
10 'extra_annotation_name=demo',
11 'extra_annotation_name=element',
12 'extra_annotation_name=group',
13 'extra_annotation_name=homepage',
14 'extra_annotation_name=status',
15 'extra_annotation_name=submodule',
16 'jscomp_error=accessControls',
17 'jscomp_error=ambiguousFunctionDecl',
18 'jscomp_error=checkStructDictInheritance',
19 'jscomp_error=checkTypes',
20 'jscomp_error=checkVars',
21 'jscomp_error=constantProperty',
22 'jscomp_error=deprecated',
23 'jscomp_error=externsValidation',
24 'jscomp_error=globalThis',
25 'jscomp_error=invalidCasts',
26 'jscomp_error=missingProperties',
27 'jscomp_error=missingReturn',
28 'jscomp_error=nonStandardJsDocs',
29 'jscomp_error=suspiciousCode',
30 'jscomp_error=undefinedNames',
31 'jscomp_error=undefinedVars',
32 'jscomp_error=unknownDefines',
33 'jscomp_error=uselessCode',
34 'jscomp_error=visibility',
35 'language_in=ECMASCRIPT6_STRICT',
36 'language_out=ECMASCRIPT5_STRICT',
38 'source_map_format=V3',
39 'summary_detail_level=3', # compile.py depends on this for output parsing; do not override.
41 'default_disabled_closure_args': [
42 # TODO(dbeam): happens when the same file is <include>d multiple times.
43 'jscomp_off=duplicate',
44 # TODO(fukino): happens when cr.defineProperty() has a type annotation.
45 # Avoiding parse-time warnings needs 2 pass compiling. crbug.com/421562.
46 'jscomp_off=misplacedTypeAnnotation',