DescriptionAdd support for create_installer_archive.py to generate a depfile
Adds functionality to create_installer_archive.py to generate a .d file
that includes all of the files that it packages into chrome[.packed].7z.
This is done by tracking the source of all the files that are copied
into the staging dir that is given to 7za to package the .7z file.
The depfile is then used in a gyp 'depfile' to correctly specify the
implicit dependencies for the mini_installer target. Previously it used
a fake output of 'xxx2.out' to cause it to rebuild every time (which is
what we're trying to avoid in this change).
Additionally, switch from a rule to an action in gyp -- gyp currently
only supports 'depfile' on actions, and as there's only one file being
built here, they're equivalent.
BUG=342974, 451499
Committed: https://crrev.com/f79c2e881fb94775cdac5679795ae3e6957fc487
Cr-Commit-Position: refs/heads/master@{#314015}
Patch Set 1 #
Total comments: 4
Patch Set 2 : make installer_archive an action #Patch Set 3 : fixes for component mode #
Messages
Total messages: 21 (6 generated)
|