| 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 # Args for all uses of the closure compiler | 5 # Args for all uses of the closure compiler |
| 6 common_closure_args = [ | 6 common_closure_args = [ |
| 7 "extra_annotation_name=attribute", | 7 "extra_annotation_name=attribute", |
| 8 "extra_annotation_name=demo", | 8 "extra_annotation_name=demo", |
| 9 "extra_annotation_name=element", | 9 "extra_annotation_name=element", |
| 10 "extra_annotation_name=group", | 10 "extra_annotation_name=group", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 "jscomp_error=suspiciousCode", | 35 "jscomp_error=suspiciousCode", |
| 36 "jscomp_error=undefinedNames", | 36 "jscomp_error=undefinedNames", |
| 37 "jscomp_error=undefinedVars", | 37 "jscomp_error=undefinedVars", |
| 38 "jscomp_error=unknownDefines", | 38 "jscomp_error=unknownDefines", |
| 39 "jscomp_error=uselessCode", | 39 "jscomp_error=uselessCode", |
| 40 "jscomp_error=visibility", | 40 "jscomp_error=visibility", |
| 41 | 41 |
| 42 "language_in=ECMASCRIPT6_STRICT", | 42 "language_in=ECMASCRIPT6_STRICT", |
| 43 "language_out=ECMASCRIPT5_STRICT", | 43 "language_out=ECMASCRIPT5_STRICT", |
| 44 | 44 |
| 45 "checks_only", |
| 46 "chrome_pass", |
| 45 "polymer_pass", | 47 "polymer_pass", |
| 46 ] | 48 ] |
| 47 | 49 |
| 48 # Additional closure arguments for minifying | 50 # Additional closure arguments for minifying |
| 49 minifying_closure_args = [ | 51 minifying_closure_args = [ |
| 50 "compilation_level=WHITESPACE_ONLY", | 52 "compilation_level=WHITESPACE_ONLY", |
| 51 | 53 |
| 52 "language_in=ECMASCRIPT6", | 54 "language_in=ECMASCRIPT6", |
| 53 "language_out=ECMASCRIPT6", | 55 "language_out=ECMASCRIPT6", |
| 54 ] | 56 ] |
| 55 | 57 |
| 56 # For compatibility with old uses. | 58 # For compatibility with old uses. |
| 57 default_closure_args = common_closure_args + checking_closure_args | 59 default_closure_args = common_closure_args + checking_closure_args |
| 58 | 60 |
| 59 default_disabled_closure_args = [ | 61 default_disabled_closure_args = [ |
| 60 "jscomp_off=duplicate", | 62 "jscomp_off=duplicate", |
| 61 "jscomp_off=misplacedTypeAnnotation", | 63 "jscomp_off=misplacedTypeAnnotation", |
| 62 ] | 64 ] |
| OLD | NEW |