Unverified Commit 972a9e91 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Fix AOT snapshotting depfile path (#17050)

Fixes a bug introduced in 82f969ff where
the depfile used for AOT snapshotting, useful in particular for skipping
gen_snapshot when inputs/outputs haven't changed since the last build.
parent 31156aed
......@@ -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'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment