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

Issue 709593004: Make *some* version of the Win GN build work. (Closed)

Created:
6 years, 1 month ago by Dirk Pranke
Modified:
6 years, 1 month ago
Reviewers:
brettw, Nico, scottmg
CC:
chromium-reviews, wfh+watch_chromium.org, erikwright+watch_chromium.org, Dai Mikurube (NOT FULLTIME)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make *some* version of the Win GN build work. R=scottmg@chromium.org, brettw@chromium.org BUG=354261 Committed: https://crrev.com/43760591658239084cf4b92ec4dd4decbb9c5fe6 Cr-Commit-Position: refs/heads/master@{#303366}

Patch Set 1 #

Total comments: 2

Patch Set 2 : some cleanup, try to fix tcmalloc #

Total comments: 2

Patch Set 3 : update comments after review #

Patch Set 4 : turn off tcmalloc on win altogether #

Patch Set 5 : turn off tcmalloc altogether #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -54 lines) Patch
M BUILD.gn View 1 chunk +63 lines, -0 lines 0 comments Download
M base/allocator/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M build/config/allocator.gni View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 1 chunk +19 lines, -6 lines 0 comments Download
M build/secondary/third_party/nss/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
M crypto/BUILD.gn View 1 2 chunks +48 lines, -43 lines 0 comments Download
M third_party/zlib/BUILD.gn View 1 2 2 chunks +6 lines, -2 lines 2 comments Download

Messages

Total messages: 14 (3 generated)
Dirk Pranke
This is a work in progress, but it's pretty close. I have to clean up ...
6 years, 1 month ago (2014-11-07 03:26:55 UTC) #1
scottmg
lgtm https://codereview.chromium.org/709593004/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/709593004/diff/1/build/config/compiler/BUILD.gn#newcode924 build/config/compiler/BUILD.gn:924: # build, or on all the time? For ...
6 years, 1 month ago (2014-11-07 03:38:11 UTC) #2
Dirk Pranke
https://codereview.chromium.org/709593004/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/709593004/diff/1/build/config/compiler/BUILD.gn#newcode924 build/config/compiler/BUILD.gn:924: # build, or on all the time? For now ...
6 years, 1 month ago (2014-11-07 03:43:26 UTC) #3
brettw
lgtm https://codereview.chromium.org/709593004/diff/20001/build/config/allocator.gni File build/config/allocator.gni (right): https://codereview.chromium.org/709593004/diff/20001/build/config/allocator.gni#newcode5 build/config/allocator.gni:5: # TODO(GYP): Make tcmalloc work on win debug. ...
6 years, 1 month ago (2014-11-07 16:17:54 UTC) #4
Dirk Pranke
https://codereview.chromium.org/709593004/diff/20001/build/config/allocator.gni File build/config/allocator.gni (right): https://codereview.chromium.org/709593004/diff/20001/build/config/allocator.gni#newcode5 build/config/allocator.gni:5: # TODO(GYP): Make tcmalloc work on win debug. On ...
6 years, 1 month ago (2014-11-07 17:09:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/709593004/40001
6 years, 1 month ago (2014-11-08 00:30:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/709593004/80001
6 years, 1 month ago (2014-11-08 01:53:30 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-08 03:00:06 UTC) #10
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/43760591658239084cf4b92ec4dd4decbb9c5fe6 Cr-Commit-Position: refs/heads/master@{#303366}
6 years, 1 month ago (2014-11-08 03:00:40 UTC) #11
Nico
https://codereview.chromium.org/709593004/diff/80001/third_party/zlib/BUILD.gn File third_party/zlib/BUILD.gn (right): https://codereview.chromium.org/709593004/diff/80001/third_party/zlib/BUILD.gn#newcode10 third_party/zlib/BUILD.gn:10: if (!is_win && (cpu_arch == "x86" || cpu_arch == ...
6 years, 1 month ago (2014-11-18 19:13:44 UTC) #13
Dirk Pranke
6 years, 1 month ago (2014-11-18 20:37:45 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/709593004/diff/80001/third_party/zlib/BUILD.gn
File third_party/zlib/BUILD.gn (right):

https://codereview.chromium.org/709593004/diff/80001/third_party/zlib/BUILD.g...
third_party/zlib/BUILD.gn:10: if (!is_win && (cpu_arch == "x86" || cpu_arch ==
"x64")) {
On 2014/11/18 19:13:43, Nico wrote:
> This isn't correct. The gyp version does use crc_folder.c and
fill_window_sse.c
> on Windows, it just doesn't need the -msse4.2 flags and whatnot.

Okay, good to know. I'll try to fix that in a follow up patch.

I fully expect many of these initial patches to be wrong in some dimension;
often we're just trying to get things to compile *at all*, and we'll have to go
and patch things later.

This is not to say that we shouldn't try to get things right from the start,
just that we won't always be successful.

Powered by Google App Engine
This is Rietveld 408576698