Update flutter_tools for the "unoptimized" engine build flag and the new output directory naming scheme (#3832)

This commit is contained in:
Jason Simmons
2016-05-10 12:02:09 -07:00
parent 6e48824991
commit 6ab77622e4
3 changed files with 17 additions and 59 deletions

View File

@@ -28,10 +28,6 @@ void main() {
overrideCache: new Cache(rootOverride: tempDir)
);
expect(
toolConfig.getToolsDirectory(platform: HostPlatform.linux_x64).path,
endsWith('cache/artifacts/engine/linux-x64')
);
expect(
toolConfig.getEngineArtifactsDirectory(TargetPlatform.android_arm, BuildMode.debug).path,
endsWith('cache/artifacts/engine/android-arm')
@@ -47,19 +43,9 @@ void main() {
toolConfig.engineSrcPath = 'engine';
toolConfig.engineRelease = true;
expect(
toolConfig.getToolsDirectory(platform: HostPlatform.linux_x64).path,
'engine/out/Release'
);
expect(
toolConfig.getEngineArtifactsDirectory(TargetPlatform.android_arm, BuildMode.debug).path,
'engine/out/android_Release'
);
toolConfig.engineRelease = false;
expect(
toolConfig.getToolsDirectory(platform: HostPlatform.linux_x64).path,
'engine/out/Debug'
'engine/out/android_debug'
);
});
});