Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
| index a26f877688d0a9781ced2add111cfe913006a66c..54abb58f65c5d8f6c7b26a321e48503a88f927be 100644 |
| --- a/tools/testing/dart/test_suite.dart |
| +++ b/tools/testing/dart/test_suite.dart |
| @@ -1587,9 +1587,8 @@ class TestUtils { |
| args.add("--allow-mock-compilation"); |
| } |
| } |
| - // TODO(riocw): Unify our minification calling convention between dart2js |
| - // and dart2dart. |
| - if (compiler == "dart2js" && configuration["minified"]) { |
| + if ((compiler == "dart2js" || compiler == "dart2dart") && |
| + configuration["minified"]) { |
|
ricow1
2012/11/20 11:38:39
I think you can safely change this to:
if (configu
|
| args.add("--minify"); |
| } |
| return args; |