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

Issue 235983002: GN Windows build fixes (Closed)

Created:
6 years, 8 months ago by brettw
Modified:
6 years, 8 months ago
Reviewers:
scottmg
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

GN Windows build fixes This also removes some patterns from the sources assignment filter, and adds scary comments not to make it bigger. The GYP version of this is out of control so I want to set a clear policy of what is included and not. I removed X-related stuff from the filter (there are only about 50 files around the tree) and added manual rules for the affected files. BUG= R=scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263394

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -12 lines) Patch
M base/BUILD.gn View 2 chunks +7 lines, -7 lines 3 comments Download
M build/config/BUILDCONFIG.gn View 4 chunks +18 lines, -3 lines 0 comments Download
M skia/BUILD.gn View 4 chunks +14 lines, -1 line 0 comments Download
M skia/skia_gn_files.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/libusb/BUILD.gn View 1 chunk +4 lines, -0 lines 3 comments Download
M ui/events/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
6 years, 8 months ago (2014-04-11 21:33:29 UTC) #1
scottmg
https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn#newcode815 base/BUILD.gn:815: if (!use_x11) { why is this better? https://codereview.chromium.org/235983002/diff/1/third_party/libusb/BUILD.gn File ...
6 years, 8 months ago (2014-04-11 21:43:26 UTC) #2
scottmg
lgtm
6 years, 8 months ago (2014-04-11 21:43:31 UTC) #3
brettw
https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn#newcode815 base/BUILD.gn:815: if (!use_x11) { Before this was only done on ...
6 years, 8 months ago (2014-04-11 23:05:00 UTC) #4
brettw
Committed patchset #1 manually as r263394.
6 years, 8 months ago (2014-04-11 23:06:22 UTC) #5
scottmg
6 years, 8 months ago (2014-04-11 23:12:31 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn
File base/BUILD.gn (right):

https://codereview.chromium.org/235983002/diff/1/base/BUILD.gn#newcode815
base/BUILD.gn:815: if (!use_x11) {
On 2014/04/11 23:05:00, brettw wrote:
> Before this was only done on Linux when we weren't using X11 (since otherwise
on
> Linux it was always removed and this code would fail since the items weren't
> found). Now its removed any time we aren't using X11.

Oops, sorry, can't read.

https://codereview.chromium.org/235983002/diff/1/third_party/libusb/BUILD.gn
File third_party/libusb/BUILD.gn (right):

https://codereview.chromium.org/235983002/diff/1/third_party/libusb/BUILD.gn#...
third_party/libusb/BUILD.gn:95: "src/libusb/os/poll_posix.c",
On 2014/04/11 23:05:00, brettw wrote:
> On 2014/04/11 21:43:26, scottmg wrote:
> > why aren't these filtered by the set_assignment_filter?
> 
> They're .c files. The filter only has .cc in it now. I'm not excited about
> making the patterns more complicated and I don't think this will come up that
> often.

Ah, missed that. Makes sense I guess, but I feel like people will probably get
bitten now and then.

Powered by Google App Engine
This is Rietveld 408576698