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

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

Created:
4 years, 6 months ago by brettw
Modified:
4 years, 6 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews
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. Reland of https://codereview.chromium.org/2043873004/ and https://codereview.chromium.org/2063483002 but disabled for official Windows builds. In support of the official condition, is_official_build moved to BUILDCONFIG. Since this is really a different level of debug/release, this may actually make more sense. The documentation around this was enhanced a lot, official now automatically turns off debug, and it will assert if you override both to produce an official debug build. BUG=617837 Committed: https://crrev.com/022f8f346d72007cf75469299f894ad4edfda5a8 Cr-Commit-Position: refs/heads/master@{#399633}

Patch Set 1 #

Patch Set 2 : buildconfig #

Total comments: 2

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -29 lines) Patch
M base/BUILD.gn View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 3 chunks +41 lines, -15 lines 0 comments Download
M build/config/chrome_build.gni View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/BUILD.gn View 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
brettw
4 years, 6 months ago (2016-06-13 18:13:12 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/2060983002/20001
4 years, 6 months ago (2016-06-13 18:14:07 UTC) #5
Dirk Pranke
lgtm https://codereview.chromium.org/2060983002/diff/20001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2060983002/diff/20001/base/BUILD.gn#newcode129 base/BUILD.gn:129: # hacl_helper_nonsfi doesn't link properly on Linux in ...
4 years, 6 months ago (2016-06-13 19:43:37 UTC) #7
brettw
typo
4 years, 6 months ago (2016-06-13 20:08:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060983002/40001
4 years, 6 months ago (2016-06-13 20:09:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86955)
4 years, 6 months ago (2016-06-14 00:03:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060983002/40001
4 years, 6 months ago (2016-06-14 00:21:05 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-14 01:22:55 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 01:23:05 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/022f8f346d72007cf75469299f894ad4edfda5a8 Cr-Commit-Position: refs/heads/master@{#399633}
4 years, 6 months ago (2016-06-14 01:25:03 UTC) #20
picksi1
4 years, 6 months ago (2016-06-15 14:54:09 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2071493002/ by picksi@chromium.org.

The reason for reverting is: Build broken:
https://build.chromium.org/p/chromium.perf/builders/Win%20x64%20Builder

See https://bugs.chromium.org/p/chromium/issues/detail?id=619949
For recommendation to revert..

Powered by Google App Engine
This is Rietveld 408576698