Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/BuildDartParticipant.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/BuildDartParticipant.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/BuildDartParticipant.java |
index 832a324dfe5c41a97d453b80cfda58fe2ea067e0..10f09241cae7d4a98999eda7483054cd5f1260bb 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/BuildDartParticipant.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/BuildDartParticipant.java |
@@ -317,6 +317,7 @@ public class BuildDartParticipant implements BuildParticipant { |
args.addAll(buildArgs); |
+ //TODO (danrubel): Older build.dart may rely on DART_SDK env var... so leave for now |
Map<String, String> env = builder.environment(); |
DartSdk sdk = DartSdkManager.getManager().getSdk(); |
env.put("DART_SDK", sdk.getDirectory().getAbsolutePath()); |