Skip to content

Commit da92cb4

Browse files
mralephCommit Queue
authored andcommitted
[dartdev] Tweak compile exe depfile name
Use output name verbatim if provided, because that's what build-systems like ninja expect. [email protected] Change-Id: Ia14add25cf200d7225852c1d10409230f2545a82 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435681 Reviewed-by: Martin Kustermann <[email protected]> Commit-Queue: Slava Egorov <[email protected]>
1 parent 62d85a6 commit da92cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dart2native/lib/generate.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class _Generator {
228228
extraGenKernelOptions: [
229229
'--invocation-modes=compile',
230230
'--verbosity=$_verbosity',
231-
if (_depFile != null) '--depfile-target=$_outputPath',
231+
if (_depFile != null) '--depfile-target=${_outputFile ?? _outputPath}',
232232
...?extraOptions,
233233
],
234234
recordedUsagesFile: recordedUsagesFile,

0 commit comments

Comments
 (0)