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

Unified Diff: tools/testing/dart/configuration.dart

Issue 2879153005: Add support to dart2js for option --enable-asserts. (Closed)
Patch Set: Added !$checked to section predicate in co19 status file Created 3 years, 5 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 | « tests/language/type_error_test.dart ('k') | tools/testing/dart/environment.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/configuration.dart
diff --git a/tools/testing/dart/configuration.dart b/tools/testing/dart/configuration.dart
index 9b5eecac6b719752af4c8412707ab56c2b06a38c..27da01128b462e473d9e8a8c69fc7919aa859b60 100644
--- a/tools/testing/dart/configuration.dart
+++ b/tools/testing/dart/configuration.dart
@@ -47,6 +47,7 @@ class Configuration {
this.useBlobs,
this.useSdk,
this.useFastStartup,
+ this.useEnableAsserts,
this.useDart2JSWithKernel,
this.writeDebugLog,
this.writeTestOutcomeLog,
@@ -109,6 +110,7 @@ class Configuration {
final bool useBlobs;
final bool useSdk;
final bool useFastStartup;
+ final bool useEnableAsserts;
final bool useDart2JSWithKernel;
final bool writeDebugLog;
final bool writeTestOutcomeLog;
@@ -215,6 +217,7 @@ class Configuration {
if (isMinified) args.add("--minify");
if (isCsp) args.add("--csp");
if (useFastStartup) args.add("--fast-startup");
+ if (useEnableAsserts) args.add("--enable-asserts");
if (useDart2JSWithKernel) args.add("--use-kernel");
return args;
}
« no previous file with comments | « tests/language/type_error_test.dart ('k') | tools/testing/dart/environment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698