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

Issue 8417017: Separate some generated files into their own targets (Closed)

Created:
9 years, 1 month ago by piman
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Separate some generated files into their own targets In each case you have a trivial action (a python script generating a single file), acting as a big build barrier, because gyp makes the action wait on all dependencies of the library it's part of (aka half of the world) before allowing dependent libraries to start building. Separating it out removes that barrier, significantly improving parallelism potential and build speed. BUG=None TEST=local compile tests (from scratch) + trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108434

Patch Set 1 #

Patch Set 2 : more stuff #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -51 lines) Patch
M chrome/chrome_browser.gypi View 1 2 3 3 chunks +19 lines, -14 lines 1 comment Download
M chrome/chrome_common.gypi View 3 chunks +32 lines, -23 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 3 chunks +19 lines, -14 lines 1 comment Download

Messages

Total messages: 16 (0 generated)
piman
9 years, 1 month ago (2011-10-29 00:36:55 UTC) #1
bradn
lgtm
9 years, 1 month ago (2011-10-31 16:46:17 UTC) #2
tony
LGTM. The change as-is probably improves build time for make/ninja, but won't help XCode (it ...
9 years, 1 month ago (2011-10-31 17:51:16 UTC) #3
piman
On Mon, Oct 31, 2011 at 10:51 AM, <tony@chromium.org> wrote: > LGTM. > > The ...
9 years, 1 month ago (2011-10-31 19:17:45 UTC) #4
tony
On 2011/10/31 19:17:45, piman wrote: > The gains don't come from parallelizing these actions specifically ...
9 years, 1 month ago (2011-10-31 20:09:38 UTC) #5
tony
Also, if it wasn't clear, I think this patch is still fine to land.
9 years, 1 month ago (2011-10-31 20:10:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8417017/4001
9 years, 1 month ago (2011-10-31 20:24:39 UTC) #7
piman
On Mon, Oct 31, 2011 at 1:09 PM, <tony@chromium.org> wrote: > On 2011/10/31 19:17:45, piman ...
9 years, 1 month ago (2011-10-31 20:26:45 UTC) #8
commit-bot: I haz the power
Try job failure for 8417017-4001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-10-31 21:22:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8417017/4001
9 years, 1 month ago (2011-10-31 21:26:23 UTC) #10
commit-bot: I haz the power
Try job failure for 8417017-4001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-10-31 22:35:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8417017/12001
9 years, 1 month ago (2011-11-02 20:07:20 UTC) #12
commit-bot: I haz the power
Try job failure for 8417017-12001 (retry) on mac_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-11-02 21:50:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8417017/12001
9 years, 1 month ago (2011-11-03 06:24:10 UTC) #14
commit-bot: I haz the power
Change committed as 108434
9 years, 1 month ago (2011-11-03 07:35:23 UTC) #15
Ryan Sleevi
9 years, 1 month ago (2011-11-03 07:55:18 UTC) #16
http://codereview.chromium.org/8417017/diff/12001/chrome/chrome_browser.gypi
File chrome/chrome_browser.gypi (right):

http://codereview.chromium.org/8417017/diff/12001/chrome/chrome_browser.gypi#...
chrome/chrome_browser.gypi:4014:
'<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc',
drive by: It's considered bad form to drop files directly into
<(SHARED_INTERMEDIATE_DIR)

http://crbug.com/97185 is for a bug filed on this anti-pattern, and
http://crbug.com/97186 for the related pattern that comes out of people trying
to solve 97185 

See also line 5202

http://codereview.chromium.org/8417017/diff/12001/webkit/glue/webkit_glue.gypi
File webkit/glue/webkit_glue.gypi (right):

http://codereview.chromium.org/8417017/diff/12001/webkit/glue/webkit_glue.gyp...
webkit/glue/webkit_glue.gypi:72: '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
here as well

Powered by Google App Engine
This is Rietveld 408576698