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

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

Issue 10880066: Add --additional-compiler-flags option to tweak compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 0d35f7415e6421e579766f13ad4954c0461bf6e9..faad6f02be8accfa4c5da6fb20d3e95579f75118 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -448,6 +448,9 @@ class StandardTestSuite implements TestSuite {
case 'dart2dart':
var compilerArguments = new List.from(args);
+ var additionalFlags = configuration['additional-compiler-flags']
+ .split(const RegExp(' '));
ricow1 2012/08/27 09:43:14 can't we just split on ' ', instead of using a Reg
Anton Muhin 2012/08/27 09:45:37 Done.
+ compilerArguments.addAll(additionalFlags);
compilerArguments.add('--output-type=dart');
String tempDir = createOutputDirectory(info.filePath, '');
compilerArguments.add('--out=$tempDir/out.dart');
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698