Description[Mac/iOS/GN] Place a version in the command of toolchain tools implemented using scripts.
When a tool is implemented as a script, modification of the script does not
cause any dependent build steps to be dirtied and rebuilt, since the script
isn't listed as an input. To hack around this, use another script to get the
tool script's modification time and use that as the command line tool version.
This still won't cause rebuild if just the script changes, but when the build
files are regenerated (like after apply_patch and generate_build_files on the
bots), the dependent build steps will get rebuilt.
BUG=619083
R=brettw@chromium.org, sdefresne@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/f2eb108ab1e65962104bfde275743369b0e7665b
Patch Set 1 #
Total comments: 6
Patch Set 2 : Single exec_script #
Total comments: 2
Patch Set 3 : Move up #
Messages
Total messages: 11 (2 generated)
|