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