Skip to content

Commit a656268

Browse files
thefourtheyetargos
authored andcommitted
Revert "tools,gyp: don't force build actions with multiple outputs"
This reverts commit 5d8373a. Fixes: #23255 PR-URL: #23257 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent a6b55c7 commit a656268

File tree

1 file changed

+2
-4
lines changed
  • tools/gyp/pylib/gyp/generator

1 file changed

+2
-4
lines changed

tools/gyp/pylib/gyp/generator/make.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1758,10 +1758,8 @@ def WriteMakeRule(self, outputs, inputs, actions=None, comment=None,
17581758
self.WriteLn('%s: %s' % (' '.join(outputs), intermediate))
17591759
self.WriteLn('\t%s' % '@:')
17601760
self.WriteLn('%s: %s' % ('.INTERMEDIATE', intermediate))
1761-
# Don't add `force_append` (FORCE_DO_CMD) to the intermediate sentinal.
1762-
# Adding it makes the action run alway, even when there are no changes.
1763-
# (refack): AFAICT because `*.intermediate` files don't have build rules.
1764-
self.WriteLn('%s: %s' % (intermediate, ' '.join(inputs)))
1761+
self.WriteLn('%s: %s%s' %
1762+
(intermediate, ' '.join(inputs), force_append))
17651763
actions.insert(0, '$(call do_cmd,touch)')
17661764

17671765
if actions:

0 commit comments

Comments
 (0)