Reintroduce engineDartSdkPath artifact. (#14742)

This is needed to support running with local engine's dart sdk.

This is follow-up to https://github.com/flutter/flutter/pull/14702.
This commit is contained in:
Alexander Aprelev
2018-02-16 09:20:23 -08:00
committed by GitHub
parent aa7e9637ac
commit fe00598ab3
3 changed files with 22 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ void main() {
artifacts.getArtifactPath(Artifact.flutterTester),
fs.path.join(tempDir.path, 'out', 'android_debug_unopt', 'flutter_tester')
);
expect(
artifacts.getArtifactPath(Artifact.engineDartSdkPath),
fs.path.join(tempDir.path, 'out', 'host_debug_unopt', 'dart-sdk')
);
}, overrides: <Type, Generator> {
Platform: () => new FakePlatform(operatingSystem: 'linux')
});