Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: third_party/closure_compiler/closure_args.gni

Issue 2921143002: Reverse accidental enabling of 'use strict' in closure compiler (Closed)
Patch Set: add todo Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "chrome_pass", 46 "chrome_pass",
47 "polymer_pass", 47 "polymer_pass",
48 ] 48 ]
49 49
50 # Additional closure arguments for minifying 50 # Additional closure arguments for minifying
51 minifying_closure_args = [ 51 minifying_closure_args = [
52 "compilation_level=WHITESPACE_ONLY", 52 "compilation_level=WHITESPACE_ONLY",
53 53
54 "language_in=ECMASCRIPT_NEXT", 54 "language_in=ECMASCRIPT_NEXT",
55 "language_out=ECMASCRIPT6", 55 "language_out=ECMASCRIPT6",
56
57 # TODO(wychen): turn on 'use strict'. crbug.com/729689
58 "emit_use_strict=false",
56 ] 59 ]
57 60
58 # For compatibility with old uses. 61 # For compatibility with old uses.
59 default_closure_args = common_closure_args + checking_closure_args 62 default_closure_args = common_closure_args + checking_closure_args
60 63
61 default_disabled_closure_args = [ 64 default_disabled_closure_args = [
62 "jscomp_off=duplicate", 65 "jscomp_off=duplicate",
63 "jscomp_off=misplacedTypeAnnotation", 66 "jscomp_off=misplacedTypeAnnotation",
64 ] 67 ]
OLDNEW
« no previous file with comments | « components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698