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

Issue 2311493002: Remove unneeded split_count assignments (Closed)

Created:
4 years, 3 months ago by brucedawson
Modified:
4 years, 3 months ago
Reviewers:
brettw, Nico
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unneeded split_count assignments Refactoring of WebKit gn files has made splitting libraries less necessary. This broke generating of build files. This change removes the unneeded assignments. The error, in the generate_build_files step, was: C:\b\c\b\win_chrome\src\buildtools\win\gn.exe gen //out/Release --check -> returned 1 ERROR at //third_party/WebKit/Source/core/BUILD.gn:52:19: Assignment had no effect. split_count = 5 ^ You set the variable "split_count" here and it was unused before it went out of scope. See //third_party/WebKit/public/BUILD.gn:53:5: which caused the file to be included. "//third_party/WebKit/Source/core", ^--------------------------------- GN gen failed: 1 It first appeared in build 10455: https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/10455/steps/generate_build_files/logs/stdio Suspect is crrev.com/2299143005 TBR=brettw@chromium.org Committed: https://crrev.com/f7d8febdf0166e2193b5e34e81b6b9dfb9ffd7c4 Cr-Commit-Position: refs/heads/master@{#416441}

Patch Set 1 #

Patch Set 2 : Add else case... #

Patch Set 3 : Fix mac targets #

Patch Set 4 : Matching logic to core.gni? #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 2 chunks +10 lines, -13 lines 1 comment Download

Messages

Total messages: 35 (27 generated)
brucedawson
I think https://codereview.chromium.org/2299143005 broke official builds. I think this is the right fix. If the ...
4 years, 3 months ago (2016-09-03 00:48:13 UTC) #21
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/2311493002/60001
4 years, 3 months ago (2016-09-03 03:43:42 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-03 03:47:43 UTC) #28
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f7d8febdf0166e2193b5e34e81b6b9dfb9ffd7c4 Cr-Commit-Position: refs/heads/master@{#416441}
4 years, 3 months ago (2016-09-03 03:49:42 UTC) #30
Nico
https://codereview.chromium.org/2311493002/diff/60001/third_party/WebKit/Source/core/BUILD.gn File third_party/WebKit/Source/core/BUILD.gn (right): https://codereview.chromium.org/2311493002/diff/60001/third_party/WebKit/Source/core/BUILD.gn#newcode178 third_party/WebKit/Source/core/BUILD.gn:178: split_count = 19 wasn't this before effectively: if (is_win ...
4 years, 3 months ago (2016-09-03 04:04:21 UTC) #32
Nico
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2303293004/ by thakis@chromium.org. ...
4 years, 3 months ago (2016-09-03 04:09:09 UTC) #33
brucedawson
On 2016/09/03 04:09:09, Nico (away until Tuesday) wrote: > A revert of this CL (patchset ...
4 years, 3 months ago (2016-09-03 04:15:50 UTC) #34
Nico
4 years, 3 months ago (2016-09-03 04:17:55 UTC) #35
Message was sent while issue was closed.
On 2016/09/03 04:15:50, brucedawson wrote:
> On 2016/09/03 04:09:09, Nico (away until Tuesday) wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> > https://codereview.chromium.org/2303293004/ by mailto:thakis@chromium.org.
> > 
> > The reason for reverting is: Due to this landing after my revert of Brett's
> > change, it broke the world, e.g.
> > https://build.chromium.org/p/chromium/builders/Android/builds/61684 . Since
> I'm
> > not sure if the patch is quite right, I'll revert this too..
> 
> Thanks. Not sure why it broke the world after passing the try bots

You kicked off try jobs 3h ago, I reverted Brett's change ~20 minutes ago. The
trybots always test against a slightly old checkout and hope that nothing badly
conflicting lands. Most of the time this works, but not always.

Powered by Google App Engine
This is Rietveld 408576698