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

Issue 1534903002: Split GN installer_util into one that has no strings. (Closed)

Created:
5 years ago by brettw
Modified:
5 years ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split GN installer_util into one that has no strings. After a lot of study, the GYP build of chrome.exe is smaller partially because it doesn't include all of these generated strings. The strings are not needed by chrome.exe, but there is no sub-part of chrome/installer/util that can be factored such that the part that chrome.exe uses does not depend on the strings. This patch makes two targets, one for if you want the strings, and one for if you don't. This is rather precarious so I named the non-string-including target in a very detailed way. The result is the final link matches GYP in this respect, and saves about 200KB on chrome.exe TBR=dpranke@chromium.org Committed: https://crrev.com/d1ceb87cd865e2777059c5afe031dae57c8e7914 Cr-Commit-Position: refs/heads/master@{#366618}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -10 lines) Patch
M chrome/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metro_utils/BUILD.gn View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/chrome_watcher/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/BUILD.gn View 1 3 chunks +41 lines, -5 lines 0 comments Download
M win8/delegate_execute/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M win8/metro_driver/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (12 generated)
brettw
5 years ago (2015-12-17 21:04:16 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534903002/1
5 years ago (2015-12-17 21:08:09 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-17 23:11:36 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn File chrome/installer/util/BUILD.gn (right): https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn#newcode18 chrome/installer/util/BUILD.gn:18: # chrome/installer/util has generated strings on Windows. These appear ...
5 years ago (2015-12-18 19:02:15 UTC) #9
Dirk Pranke
I leave this to you and grt@ to sort out. https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn File chrome/installer/util/BUILD.gn (right): https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn#newcode23 ...
5 years ago (2015-12-20 19:53:46 UTC) #10
brettw
https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn File chrome/installer/util/BUILD.gn (right): https://codereview.chromium.org/1534903002/diff/1/chrome/installer/util/BUILD.gn#newcode18 chrome/installer/util/BUILD.gn:18: # chrome/installer/util has generated strings on Windows. These appear ...
5 years ago (2015-12-21 17:33:00 UTC) #11
grt (UTC plus 2)
I don't consider myself to have GN readability, so I'll duck out here. Take it ...
5 years ago (2015-12-21 19:45:06 UTC) #13
brettw
I think Dirk is out and he already kind of looked at this. I'm going ...
5 years ago (2015-12-21 22:56:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534903002/20001
5 years ago (2015-12-21 22:56:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/159173)
5 years ago (2015-12-21 23:10:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534903002/20001
5 years ago (2015-12-22 17:48:36 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-22 18:16:10 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/d1ceb87cd865e2777059c5afe031dae57c8e7914 Cr-Commit-Position: refs/heads/master@{#366618}
5 years ago (2015-12-22 18:17:24 UTC) #25
Dirk Pranke
5 years ago (2015-12-23 03:30:32 UTC) #26
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698