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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user