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

Unified Diff: lib/src/compiler/compiler.dart

Issue 2000243002: Disable mirrors metadata gen by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/compiler.dart
diff --git a/lib/src/compiler/compiler.dart b/lib/src/compiler/compiler.dart
index dd05703ef06f82a1a89b64a5058d0fc18f876e07..22c2433f59d412ce7a549328ddbafdd74f710d09 100644
--- a/lib/src/compiler/compiler.dart
+++ b/lib/src/compiler/compiler.dart
@@ -184,7 +184,7 @@ class CompilerOptions {
this.sourceMapComment: true,
this.summarizeApi: true,
this.unsafeForceCompile: false,
- this.emitMetadata: true,
+ this.emitMetadata: false,
this.closure: false,
this.destructureNamedParams: false,
this.moduleFormat: ModuleFormat.legacy});
@@ -217,7 +217,7 @@ class CompilerOptions {
defaultsTo: 'legacy')
..addFlag('emit-metadata',
help: 'emit metadata annotations queriable via mirrors',
- defaultsTo: true)
+ defaultsTo: false)
..addFlag('closure-experimental',
help: 'emit Closure Compiler-friendly code (experimental)',
defaultsTo: false)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698