Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Issue 2780983004: Reduce overbuilding due to about_credits.html (Closed)

Created:
3 years, 8 months ago by brucedawson
Modified:
3 years, 8 months ago
Reviewers:
Dirk Pranke, agrieve
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. In addition to slightly improving build times this change makes it more obvious what is going on. It makes it (fairly) clear that about_credits.html is being regenerated but has not actually changed. R=agrieve@chromium.org BUG=692601 Review-Url: https://codereview.chromium.org/2780983004 Cr-Commit-Position: refs/heads/master@{#460807} Committed: https://chromium.googlesource.com/chromium/src/+/b5acc4c7976d45ace977c14019593c9413d0841d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M tools/licenses.py View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
brucedawson
PTAL - description should be self-explanatory
3 years, 8 months ago (2017-03-29 23:45:58 UTC) #5
agrieve
On 2017/03/29 23:45:58, brucedawson wrote: > PTAL - description should be self-explanatory lgtm
3 years, 8 months ago (2017-03-29 23:50:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2780983004/1
3 years, 8 months ago (2017-03-29 23:51:24 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/398172)
3 years, 8 months ago (2017-03-30 00:05:43 UTC) #11
brucedawson
Need owner approval - dpranke@, PTAL.
3 years, 8 months ago (2017-03-30 00:09:08 UTC) #13
Dirk Pranke
lgtm
3 years, 8 months ago (2017-03-30 03:26:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2780983004/1
3 years, 8 months ago (2017-03-30 17:02:28 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 17:17:48 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b5acc4c7976d45ace977c1401959...

Powered by Google App Engine
This is Rietveld 408576698