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

Issue 2215433002: Rework default GN symbol handling for win goma builds. (Closed)

Created:
4 years, 4 months ago by Dirk Pranke
Modified:
4 years, 3 months ago
CC:
chromium-reviews, chrisha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rework default GN symbol handling for win goma builds. Win goma builds do not support PDB files, so trying to build with full symbols is very painful. Previously we would default to "full symbols" but silently turn off symbols if using goma; this CL restructures things so that we default to "minimal symbols" if using goma (and visual studio's compiler). R=brucedawson@chromium.org, brettw@chromium.org, thakis@chromium.org BUG=634184 Committed: https://crrev.com/64fea5e29655036e2c5410b903cd43f832d04e93 Cr-Commit-Position: refs/heads/master@{#415325}

Patch Set 1 : fix typo #

Total comments: 3

Patch Set 2 : merge #

Patch Set 3 : fix long string literal #

Total comments: 4

Patch Set 4 : merge, clean up w/ clang review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M build/config/compiler/BUILD.gn View 1 2 3 1 chunk +2 lines, -8 lines 0 comments Download
M build/config/compiler/compiler.gni View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (17 generated)
Dirk Pranke
I think some change like this is a good idea (and an improvement over what ...
4 years, 4 months ago (2016-08-03 23:31:35 UTC) #4
scottmg
https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/BUILD.gn#newcode1482 build/config/compiler/BUILD.gn:1482: "Cannot generate full symbols w/ goma, use symbol_level=1") Oh, ...
4 years, 4 months ago (2016-08-03 23:37:24 UTC) #5
scottmg
(fine with me though)
4 years, 4 months ago (2016-08-03 23:41:24 UTC) #6
Nico
https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/compiler.gni#newcode87 build/config/compiler/compiler.gni:87: # compilation because otherwise the redundant debug information Don't ...
4 years, 4 months ago (2016-08-03 23:42:16 UTC) #7
Dirk Pranke
On 2016/08/03 23:37:24, scottmg wrote: > https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/BUILD.gn > File build/config/compiler/BUILD.gn (right): > > https://codereview.chromium.org/2215433002/diff/40001/build/config/compiler/BUILD.gn#newcode1482 > ...
4 years, 4 months ago (2016-08-03 23:43:41 UTC) #8
Dirk Pranke
+jam, since this CL might grow a bit in scope and have broader impact on ...
4 years, 4 months ago (2016-08-03 23:54:36 UTC) #10
jam
On 2016/08/03 23:54:36, Dirk Pranke wrote: > +jam, since this CL might grow a bit ...
4 years, 4 months ago (2016-08-04 21:51:45 UTC) #11
Nico
On 2016/08/03 23:54:36, Dirk Pranke wrote: > +jam, since this CL might grow a bit ...
4 years, 4 months ago (2016-08-04 22:05:11 UTC) #12
brettw
lgtm
4 years, 4 months ago (2016-08-04 22:18:07 UTC) #13
Dirk Pranke
On 2016/08/04 22:05:11, Nico wrote: > As a general guideline, I think it's good to ...
4 years, 4 months ago (2016-08-05 00:07:23 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/2215433002/40001
4 years, 4 months ago (2016-08-05 00:08:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/267921) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
4 years, 4 months ago (2016-08-05 00:16:33 UTC) #18
Reid Kleckner
https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/BUILD.gn#newcode1558 build/config/compiler/BUILD.gn:1558: !(is_win && use_goma), I'd like it if you tossed ...
4 years, 4 months ago (2016-08-13 01:55:27 UTC) #20
Dirk Pranke
@brucedawson, what do you think of just removing the assert altogether? https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): ...
4 years, 4 months ago (2016-08-14 23:34:58 UTC) #21
lfg
On 2016/08/13 01:55:27, Reid Kleckner wrote: > https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/BUILD.gn > File build/config/compiler/BUILD.gn (right): > > https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/BUILD.gn#newcode1558 ...
4 years, 4 months ago (2016-08-16 18:49:34 UTC) #22
brucedawson
On 2016/08/14 23:34:58, Dirk Pranke wrote: > @brucedawson, what do you think of just removing ...
4 years, 4 months ago (2016-08-18 17:59:53 UTC) #23
Nico
https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2215433002/diff/80001/build/config/compiler/compiler.gni#newcode85 build/config/compiler/compiler.gni:85: } else if (is_win && use_goma) { like rnk ...
4 years, 4 months ago (2016-08-22 16:14:28 UTC) #24
Dirk Pranke
@thakis - does this latest version look good to you?
4 years, 3 months ago (2016-08-29 21:45:43 UTC) #26
Nico
lgtm (Note to self: After this, if you don't explicitly set symbol_level but do set ...
4 years, 3 months ago (2016-08-30 13:47:07 UTC) #31
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/2215433002/100001
4 years, 3 months ago (2016-08-30 16:50:09 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 3 months ago (2016-08-30 16:55:19 UTC) #36
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/64fea5e29655036e2c5410b903cd43f832d04e93 Cr-Commit-Position: refs/heads/master@{#415325}
4 years, 3 months ago (2016-08-30 16:58:25 UTC) #38
mmenke
On 2016/08/30 16:58:25, commit-bot: I haz the power wrote: > Patchset 4 (id:??) landed as ...
4 years, 3 months ago (2016-08-30 18:15:16 UTC) #39
mmenke
On 2016/08/30 18:15:16, mmenke wrote: > On 2016/08/30 16:58:25, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-08-30 18:15:43 UTC) #40
scottmg
chrisha reported the same on internal windows list. I think it probably only needs an ...
4 years, 3 months ago (2016-08-30 18:19:34 UTC) #42
Nico
If this breaks your build, it likely breaks others, please revert! (it's likely missing an ...
4 years, 3 months ago (2016-08-30 18:20:01 UTC) #43
Dirk Pranke
A revert of this CL (patchset #4 id:100001) has been created in https://codereview.chromium.org/2291293002/ by dpranke@chromium.org. ...
4 years, 3 months ago (2016-08-30 18:24:17 UTC) #44
mmenke
On 2016/08/30 18:20:01, Nico wrote: > If this breaks your build, it likely breaks others, ...
4 years, 3 months ago (2016-08-30 18:24:21 UTC) #45
mmenke
On 2016/08/30 18:24:21, mmenke wrote: > On 2016/08/30 18:20:01, Nico wrote: > > If this ...
4 years, 3 months ago (2016-08-30 18:24:48 UTC) #46
Dirk Pranke
4 years, 3 months ago (2016-08-30 18:26:36 UTC) #47
Message was sent while issue was closed.
On 2016/08/30 18:24:48, mmenke wrote:
> On 2016/08/30 18:24:21, mmenke wrote:
> > On 2016/08/30 18:20:01, Nico wrote:
> > > If this breaks your build, it likely breaks others, please revert!
> > > 
> > > (it's likely missing an include goma.gni at the top - i guess the bots
don't
> > > catch this 'cause they all explicitly set use_goma)
> > 
> > Revert CQed
> 
> CQed, bypassing trybots, that is.  And I verified reverting fixes the issue
> locally.

let's see which revert wins :).

Powered by Google App Engine
This is Rietveld 408576698