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

Issue 2043873004: Default components to static libraries in GN build (Closed)

Created:
4 years, 6 months ago by brettw
Modified:
4 years, 6 months ago
Reviewers:
jam, brucedawson
CC:
chromium-reviews, darin-cc_chromium.org, jam, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Default components to static libraries in GN build Previously components would be source sets in non-component mode. Some test targets link large components in chrome but use almost none of them, and including all object files makes these links very slow. BUG=617837 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/3b678169f32f46b0bab203bfd0572fad1c314ab7 Cr-Commit-Position: refs/heads/master@{#399406}

Patch Set 1 #

Patch Set 2 : png #

Patch Set 3 : #

Patch Set 4 : gpu #

Patch Set 5 : policy #

Patch Set 6 : empty_ones #

Patch Set 7 : #

Patch Set 8 : comment fixes #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : MERge #

Patch Set 14 : mac condition #

Patch Set 15 : no vpx hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -19 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -6 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +21 lines, -12 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 79 (37 generated)
brettw
png
4 years, 6 months ago (2016-06-06 23:01:59 UTC) #1
brettw
gpu
4 years, 6 months ago (2016-06-07 03:55:04 UTC) #2
brettw
policy
4 years, 6 months ago (2016-06-07 18:09:25 UTC) #4
brettw
empty_ones
4 years, 6 months ago (2016-06-07 19:26:32 UTC) #5
brettw
comment fixes
4 years, 6 months ago (2016-06-08 05:26:49 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/140001
4 years, 6 months ago (2016-06-08 05:27:04 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/123913)
4 years, 6 months ago (2016-06-08 05:38:39 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/160001
4 years, 6 months ago (2016-06-08 17:17:00 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/124199)
4 years, 6 months ago (2016-06-08 17:51:20 UTC) #17
jam
lgtm
4 years, 6 months ago (2016-06-08 19:17:54 UTC) #18
brucedawson
lgtm. This should significantly improve the problem. If build times are still worse then we ...
4 years, 6 months ago (2016-06-08 19:44:52 UTC) #20
brettw
I spent several hours debugging the mac failures on patch sets 8 and 9. I ...
4 years, 6 months ago (2016-06-08 22:18:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-08 22:19:16 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/107276)
4 years, 6 months ago (2016-06-08 22:33:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-08 23:22:28 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/124484)
4 years, 6 months ago (2016-06-09 00:59:02 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-09 01:03:26 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/124619)
4 years, 6 months ago (2016-06-09 01:13:33 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-09 01:30:10 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/124640)
4 years, 6 months ago (2016-06-09 03:22:44 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-09 16:53:12 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/125000)
4 years, 6 months ago (2016-06-09 19:23:48 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/200001
4 years, 6 months ago (2016-06-09 19:37:06 UTC) #44
brettw
New patch up with a hack arounbd a static library problem on Mac (see chrome/browser/BUILD.gn ...
4 years, 6 months ago (2016-06-09 20:33:54 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/220001
4 years, 6 months ago (2016-06-09 20:34:35 UTC) #48
brucedawson
Just looked at the latest change. Still lgtm.
4 years, 6 months ago (2016-06-09 20:36:18 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/227604)
4 years, 6 months ago (2016-06-09 21:36:27 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/220001
4 years, 6 months ago (2016-06-09 21:40:18 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/125224)
4 years, 6 months ago (2016-06-09 22:12:54 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/220001
4 years, 6 months ago (2016-06-10 00:07:51 UTC) #57
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
4 years, 6 months ago (2016-06-10 02:09:26 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/220001
4 years, 6 months ago (2016-06-10 20:47:20 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/125923)
4 years, 6 months ago (2016-06-10 21:35:19 UTC) #63
brettw
Patch is a subset of previous, the rest has been landed in smaller parts.
4 years, 6 months ago (2016-06-13 01:10:48 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/240001
4 years, 6 months ago (2016-06-13 01:11:03 UTC) #67
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/126220)
4 years, 6 months ago (2016-06-13 01:57:02 UTC) #69
brettw
I just exempted mac from this whole change.
4 years, 6 months ago (2016-06-13 02:18:15 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873004/280001
4 years, 6 months ago (2016-06-13 02:18:35 UTC) #73
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 6 months ago (2016-06-13 03:29:04 UTC) #75
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 03:29:08 UTC) #76
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/3b678169f32f46b0bab203bfd0572fad1c314ab7 Cr-Commit-Position: refs/heads/master@{#399406}
4 years, 6 months ago (2016-06-13 03:30:57 UTC) #78
Zhen Wang
4 years, 6 months ago (2016-06-13 17:16:18 UTC) #79
Message was sent while issue was closed.
A revert of this CL (patchset #15 id:280001) has been created in
https://codereview.chromium.org/2065633002/ by zhenw@chromium.org.

The reason for reverting is: This CL causes Win x64 Builder (Perf) compilation
error:

FAILED: obj/third_party/WebKit/Source/modules/blink_modules.lib 
C:/b/depot_tools/python276_bin/python.exe gyp-win-tool link-wrapper
environment.x64 False lib.exe /nologo /ignore:4221 /LTCG /LTCG /LTCG /LTCG
/OUT:obj/third_party/WebKit/Source/modules/blink_modules.lib
@obj/third_party/WebKit/Source/modules/blink_modules.lib.rsp
obj/third_party/WebKit/Source/modules/blink_modules.lib : fatal error LNK1248:
image size (10061341C) exceeds maximum allowable size (FFFFFFFF)

[791/850] LINK(DLL) mus_library.dll mus_library.dll.lib
[792/850] LINK cc_perftests.exe
ninja: build stopped: subcommand failed.


Also see http://crbug.com/619606..

Powered by Google App Engine
This is Rietveld 408576698