summaryrefslogtreecommitdiff
path: root/chromium/third_party/closure_compiler/closure_args.gni
blob: ffcf0cd25b5f7a1a40a38e98c8f79174797fecbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# GYP version: third_party/closure_compiler/closure_args.gypi
closure_args = [
  "compilation_level=SIMPLE_OPTIMIZATIONS",
  "extra_annotation_name=attribute",
  "extra_annotation_name=demo",
  "extra_annotation_name=element",
  "extra_annotation_name=group",
  "extra_annotation_name=homepage",
  "extra_annotation_name=status",
  "extra_annotation_name=submodule",
  "jscomp_error=accessControls",
  "jscomp_error=ambiguousFunctionDecl",
  "jscomp_error=checkTypes",
  "jscomp_error=checkVars",
  "jscomp_error=constantProperty",
  "jscomp_error=deprecated",
  "jscomp_error=externsValidation",
  "jscomp_error=globalThis",
  "jscomp_error=invalidCasts",
  "jscomp_error=missingProperties",
  "jscomp_error=missingReturn",
  "jscomp_error=nonStandardJsDocs",
  "jscomp_error=suspiciousCode",
  "jscomp_error=undefinedNames",
  "jscomp_error=undefinedVars",
  "jscomp_error=unknownDefines",
  "jscomp_error=uselessCode",
  "jscomp_error=visibility",
  "language_in=ECMASCRIPT6_STRICT",
  "language_out=ECMASCRIPT5_STRICT",
  "polymer_pass",
  "source_map_format=V3",
  "summary_detail_level=3",
]

default_disabled_closure_args = [
  "jscomp_off=duplicate",
  "jscomp_off=misplacedTypeAnnotation",
]