mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix AOT snapshotting depfile path (#17050)
Fixes a bug introduced in 82f969ff05
where
the depfile used for AOT snapshotting, useful in particular for skipping
gen_snapshot when inputs/outputs haven't changed since the last build.
This commit is contained in:
parent
31156aed43
commit
972a9e915a
@ -72,7 +72,7 @@ class BuildAotCommand extends BuildSubCommand {
|
||||
platform: platform,
|
||||
buildMode: getBuildMode(),
|
||||
mainPath: findMainDartFile(targetFile),
|
||||
depfilePath: 'depFilePathGoesHere',
|
||||
depfilePath: fs.path.join(outputPath, 'snapshot.d'),
|
||||
packagesPath: PackageMap.globalPackagesPath,
|
||||
outputPath: outputPath,
|
||||
previewDart2: argResults['preview-dart-2'],
|
||||
|
Loading…
Reference in New Issue
Block a user