| Index: tools/testing/dart/utils.dart
|
| diff --git a/tools/testing/dart/utils.dart b/tools/testing/dart/utils.dart
|
| index 51109e5351d7d7c5c7f73f7867f7f3769c4d0d3e..1c54b23a609c3f60fa35bc8e49bb7666eb961aaa 100644
|
| --- a/tools/testing/dart/utils.dart
|
| +++ b/tools/testing/dart/utils.dart
|
| @@ -127,6 +127,20 @@ String decodeUtf8(List<int> bytes) {
|
| return utf.decodeUtf8(bytes);
|
| }
|
|
|
| +class Locations {
|
| + static String getDartiumLocation(Map globalConfiguration) {
|
| + var dartium = globalConfiguration['dartium'];
|
| + if (dartium != null && dartium != '') {
|
| + return dartium;
|
| + }
|
| + if (Platform.operatingSystem == 'macos') {
|
| + return new Path('client/tests/dartium/Chromium.app/Contents/'
|
| + 'MacOS/Chromium').toNativePath();
|
| + }
|
| + return new Path('client/tests/dartium/chrome').toNativePath();
|
| + }
|
| +}
|
| +
|
| // This function is pretty stupid and only puts quotes around an argument if
|
| // it the argument contains a space.
|
| String escapeCommandLineArgument(String argument) {
|
|
|