Index: third_party/closure_compiler/closure_args.gypi |
diff --git a/third_party/closure_compiler/closure_args.gypi b/third_party/closure_compiler/closure_args.gypi |
index 549640653d73ffa686a6300c0efc17f2b7ebe339..2fc245ef13de8a3bc6d4c4e7af289bf8f5168335 100644 |
--- a/third_party/closure_compiler/closure_args.gypi |
+++ b/third_party/closure_compiler/closure_args.gypi |
@@ -4,7 +4,7 @@ |
# GN version: third_party/closure_compiler/closure_args.gni |
{ |
- 'closure_args': [ |
+ 'default_closure_args': [ |
'compilation_level=SIMPLE_OPTIMIZATIONS', |
# Keep this in sync with chrome/browser/web_dev_style/js_checker.py. |
@@ -43,11 +43,12 @@ |
'source_map_format=V3', |
], |
+ |
'default_disabled_closure_args': [ |
# TODO(dbeam): happens when the same file is <include>d multiple times. |
'jscomp_off=duplicate', |
# TODO(fukino): happens when cr.defineProperty() has a type annotation. |
# Avoiding parse-time warnings needs 2 pass compiling. crbug.com/421562. |
'jscomp_off=misplacedTypeAnnotation', |
- ] |
+ ], |
} |