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

Issue 1158763006: clang/win: Start work on getting clang/win working in gn. (Closed)

Created:
5 years, 6 months ago by Nico
Modified:
5 years, 6 months ago
Reviewers:
Dirk Pranke, brettw, scottmg
CC:
chromium-reviews, hans, Reid Kleckner
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

clang/win: Start work on getting clang/win working in gn. This is enough to get base building with clang on Windows. On Windows, we use clang-cl.exe which is command-line compatible with cl.exe. BUG=491209, 404525 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Committed: https://crrev.com/22c76db4a60e2e23c3f8f22f8e08b9b0cb49e002 Cr-Commit-Position: refs/heads/master@{#332563}

Patch Set 1 #

Total comments: 6

Patch Set 2 : x86 #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -61 lines) Patch
M build/common.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 chunk +4 lines, -5 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 5 chunks +114 lines, -45 lines 0 comments Download
M build/toolchain/win/BUILD.gn View 1 2 3 4 chunks +32 lines, -11 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
Nico
Not sure who's the right person to review this…Scott, giving this to you for now ...
5 years, 6 months ago (2015-06-02 22:52:59 UTC) #2
scottmg
+dpranke lgtm https://codereview.chromium.org/1158763006/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/1158763006/diff/1/build/config/compiler/BUILD.gn#newcode913 build/config/compiler/BUILD.gn:913: "-Wno-inconsistent-missing-override", #http://crbug.com/428099 On 2015/06/02 22:52:58, Nico wrote: ...
5 years, 6 months ago (2015-06-02 23:02:22 UTC) #4
Nico
https://codereview.chromium.org/1158763006/diff/1/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/1158763006/diff/1/build/toolchain/win/BUILD.gn#newcode216 build/toolchain/win/BUILD.gn:216: msvc_toolchain("x32") { On 2015/06/02 23:02:21, scottmg wrote: > "x32"? ...
5 years, 6 months ago (2015-06-02 23:04:30 UTC) #5
scottmg
https://codereview.chromium.org/1158763006/diff/1/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/1158763006/diff/1/build/toolchain/win/BUILD.gn#newcode216 build/toolchain/win/BUILD.gn:216: msvc_toolchain("x32") { On 2015/06/02 23:04:30, Nico wrote: > On ...
5 years, 6 months ago (2015-06-02 23:06:20 UTC) #6
Nico
Done. Apparently gn defaults to 64-bit builds? :-/ (It's the better default, but having different ...
5 years, 6 months ago (2015-06-02 23:06:44 UTC) #7
scottmg
On 2015/06/02 23:06:44, Nico wrote: > Done. Apparently gn defaults to 64-bit builds? :-/ (It's ...
5 years, 6 months ago (2015-06-02 23:07:41 UTC) #8
Nico
Looks like there aren't any gn windows bots. Anyhoo, I checked locally that things now ...
5 years, 6 months ago (2015-06-02 23:07:53 UTC) #9
scottmg
On 2015/06/02 23:07:53, Nico wrote: > Looks like there aren't any gn windows bots. Anyhoo, ...
5 years, 6 months ago (2015-06-02 23:09:37 UTC) #10
Nico
Now with even less x32.
5 years, 6 months ago (2015-06-02 23:21:42 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158763006/40001
5 years, 6 months ago (2015-06-02 23:23:45 UTC) #16
scottmg
lgtm! but Dirk should still look at goma.
5 years, 6 months ago (2015-06-02 23:28:46 UTC) #17
brettw
LGTM with one change. https://codereview.chromium.org/1158763006/diff/40001/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/1158763006/diff/40001/build/toolchain/win/BUILD.gn#newcode227 build/toolchain/win/BUILD.gn:227: cl = "${goma_prefix}$prefix/clang-cl.exe -m32" It ...
5 years, 6 months ago (2015-06-02 23:49:20 UTC) #19
Dirk Pranke
lgtm w/ brett's change, but make sure you send this through all of the GN ...
5 years, 6 months ago (2015-06-03 00:39:55 UTC) #20
Nico
Thanks! https://codereview.chromium.org/1158763006/diff/40001/build/toolchain/win/BUILD.gn File build/toolchain/win/BUILD.gn (right): https://codereview.chromium.org/1158763006/diff/40001/build/toolchain/win/BUILD.gn#newcode227 build/toolchain/win/BUILD.gn:227: cl = "${goma_prefix}$prefix/clang-cl.exe -m32" On 2015/06/02 23:49:20, brettw ...
5 years, 6 months ago (2015-06-03 02:38:44 UTC) #21
Dirk Pranke
On 2015/06/03 02:38:44, Nico wrote: > Dirk: I think patch set 3 has try jobs ...
5 years, 6 months ago (2015-06-03 02:46:47 UTC) #22
brettw
On 2015/06/03 02:38:44, Nico wrote: > Thanks! > > https://codereview.chromium.org/1158763006/diff/40001/build/toolchain/win/BUILD.gn > File build/toolchain/win/BUILD.gn (right): > ...
5 years, 6 months ago (2015-06-03 04:28:07 UTC) #23
brettw
lgtm I added the bots I use for triple-checking GN changes.
5 years, 6 months ago (2015-06-03 04:29:36 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158763006/60001
5 years, 6 months ago (2015-06-03 04:31:01 UTC) #27
Nico
On 2015/06/03 04:29:36, brettw wrote: > lgtm > > I added the bots I use ...
5 years, 6 months ago (2015-06-03 05:12:19 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/89850)
5 years, 6 months ago (2015-06-03 06:01:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158763006/60001
5 years, 6 months ago (2015-06-03 06:14:49 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-03 08:11:53 UTC) #33
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 08:12:48 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/22c76db4a60e2e23c3f8f22f8e08b9b0cb49e002
Cr-Commit-Position: refs/heads/master@{#332563}

Powered by Google App Engine
This is Rietveld 408576698