Update flutter_tools for the "unoptimized" engine build flag and the new output directory naming scheme (#3832)
This commit is contained in:
@@ -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'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user