Don't preload rarely seen large images
[chromium-blink-merge.git] / third_party / closure_compiler / closure_args.gypi
blobd12891a94fd7a7d5608911075a9c3aa2949057b6
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.
6   'closure_args': [
7     'accept_const_keyword',
8     'compilation_level=SIMPLE_OPTIMIZATIONS',
9     'extra_annotation_name=attribute',
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=checkStructDictInheritance',
18     'jscomp_error=checkTypes',
19     'jscomp_error=checkVars',
20     'jscomp_error=constantProperty',
21     'jscomp_error=deprecated',
22     'jscomp_error=externsValidation',
23     'jscomp_error=globalThis',
24     'jscomp_error=invalidCasts',
25     'jscomp_error=missingProperties',
26     'jscomp_error=missingReturn',
27     'jscomp_error=nonStandardJsDocs',
28     'jscomp_error=suspiciousCode',
29     'jscomp_error=undefinedNames',
30     'jscomp_error=undefinedVars',
31     'jscomp_error=unknownDefines',
32     'jscomp_error=uselessCode',
33     'jscomp_error=visibility',
34     'language_in=ECMASCRIPT6_STRICT',
35     'language_out=ECMASCRIPT5_STRICT',
36     'polymer_pass',
37     'source_map_format=V3',
38     'summary_detail_level=3', # compile.py depends on this for output parsing; do not override.
39   ],
40   'default_disabled_closure_args': [
41     # TODO(dbeam): happens when the same file is <include>d multiple times.
42     'jscomp_off=duplicate',
43     # TODO(fukino): happens when cr.defineProperty() has a type annotation.
44     # Avoiding parse-time warnings needs 2 pass compiling. crbug.com/421562.
45     'jscomp_off=misplacedTypeAnnotation',
46   ]