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

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

Issue 8588028: Use the right command for dartc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_config_utils.dart
diff --git a/tools/testing/dart/test_config_utils.dart b/tools/testing/dart/test_config_utils.dart
index 50219b104217013f4f271ef015d170a263d30d38..9e54863de32df99a2f10d55302678552e26f9010 100644
--- a/tools/testing/dart/test_config_utils.dart
+++ b/tools/testing/dart/test_config_utils.dart
@@ -23,6 +23,11 @@ class TestUtils {
if (configuration["component"] == "leg") {
args.add("--enable_leg");
}
+ if (configuration["component"] == "dartc") {
+ if (configuration["mode"] == "release") {
+ args.add("--optimize");
+ }
+ }
List<String> dartOptions = optionsFromFile["dartOptions"];
args.addAll(dartOptions == null ? [filename] : dartOptions);
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698