Add an ephemeral directory to Windows projects (#40194)

Moves files generated in windows/flutter/ as part of the build to an ephemeral/ subdirectory, matching the approach used on macOS (and in the future, Windows).

Adds that directory to the generated properties file to minimize hard-coding of paths in the project.
This commit is contained in:
stuartmorgan
2019-09-11 07:46:57 -07:00
committed by GitHub
parent ef97a69dab
commit e6ae95c4ce
4 changed files with 16 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ or
cacheDirectory = 'linux/flutter';
break;
case 'windows-x64':
cacheDirectory = 'windows/flutter';
cacheDirectory = 'windows/flutter/ephemeral';
break;
default:
stderr.write('Unsupported target platform $targetPlatform');