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

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

Issue 234673003: Reduce test.dart memory usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve Created 6 years, 8 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
Index: tools/testing/dart/compiler_configuration.dart
diff --git a/tools/testing/dart/compiler_configuration.dart b/tools/testing/dart/compiler_configuration.dart
index 9c7f91b5199e1de093f8d7ae9f346bc7d5d5fc56..58a4c54559a4cfca885e49af32155e814026698d 100644
--- a/tools/testing/dart/compiler_configuration.dart
+++ b/tools/testing/dart/compiler_configuration.dart
@@ -270,8 +270,7 @@ class Dart2jsCompilerConfiguration extends Dart2xCompilerConfiguration {
CommandArtifact artifact) {
Uri sdk = useSdk ?
nativeDirectoryToUri(buildDir).resolve('dart-sdk/') :
- nativeDirectoryToUri(TestUtils.dartDir().toNativePath())
- .resolve('sdk/');
+ nativeDirectoryToUri(TestUtils.dartDir.toNativePath()).resolve('sdk/');
Uri preambleDir = sdk.resolve('lib/_internal/lib/preambles/');
return runtimeConfiguration.dart2jsPreambles(preambleDir)
..add(artifact.filename);

Powered by Google App Engine
This is Rietveld 408576698