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

Issue 2494103002: Move use_system_xcode to //build_overrides/build.gni (Closed)

Created:
4 years, 1 month ago by kjellander_chromium
Modified:
4 years, 1 month ago
CC:
chromium-reviews, erikchen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move use_system_xcode to //build_overrides/build.gni This makes it possible for projects that reuse Chromium's build toolchain to use the system Xcode by setting use_system_xcode=true in //build_overrides/build.gni BUG=webrtc:6700, chromium:659726 TBR=brettw@chromium.org Committed: https://crrev.com/f1e2718a3ff89c80691a50f8ea2503cbb9aa97ee Cr-Commit-Position: refs/heads/master@{#431838}

Patch Set 1 #

Patch Set 2 : Moved references into build.gni #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -18 lines) Patch
M .gn View 1 1 chunk +1 line, -0 lines 1 comment Download
M build/toolchain/toolchain.gni View 1 2 chunks +1 line, -18 lines 0 comments Download
M build_overrides/build.gni View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
kjellander_chromium
I think this is better than the revert in https://codereview.chromium.org/2500483002/ (which I now aborted for ...
4 years, 1 month ago (2016-11-11 14:22:52 UTC) #5
Michael Achenbach
lgtm if you make it work.
4 years, 1 month ago (2016-11-11 14:32:32 UTC) #9
Nico
But you use the hermetic toolchain on Windows, right? How does that work? On Nov ...
4 years, 1 month ago (2016-11-11 14:41:08 UTC) #10
kjellander_chromium
I apparently only tested PS#1 from a WebRTC perspective. PS#2 is a bit uglier but ...
4 years, 1 month ago (2016-11-11 14:46:55 UTC) #13
Nico
The Windows toolchain only has one SDK at a time too. How was the 2013->2015 ...
4 years, 1 month ago (2016-11-11 14:53:48 UTC) #14
Nico
(I think I'd revert the hermetic toolchain for now rather than rush in a fix, ...
4 years, 1 month ago (2016-11-11 14:55:09 UTC) #15
erikchen
lgtm https://codereview.chromium.org/2494103002/diff/20001/.gn File .gn (right): https://codereview.chromium.org/2494103002/diff/20001/.gn#newcode239 .gn:239: "//build/toolchain/toolchain.gni", this line can be removed.
4 years, 1 month ago (2016-11-11 17:00:33 UTC) #19
Dirk Pranke
lgtm
4 years, 1 month ago (2016-11-11 17:54:04 UTC) #20
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/2494103002/20001
4 years, 1 month ago (2016-11-12 05:30:07 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302973)
4 years, 1 month ago (2016-11-12 05:37:00 UTC) #25
kjellander_chromium
On 2016/11/12 05:37:00, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-11-14 05:54:50 UTC) #28
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/2494103002/20001
4 years, 1 month ago (2016-11-14 05:55:11 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-14 06:52:29 UTC) #32
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f1e2718a3ff89c80691a50f8ea2503cbb9aa97ee Cr-Commit-Position: refs/heads/master@{#431838}
4 years, 1 month ago (2016-11-14 06:54:37 UTC) #34
Nico
Since my suggestion of "revert first, then figure out what we actually want to do ...
4 years, 1 month ago (2016-11-14 16:09:16 UTC) #35
brettw
On 2016/11/14 16:09:16, Nico wrote: > Since my suggestion of "revert first, then figure out ...
4 years, 1 month ago (2016-11-14 16:57:52 UTC) #36
Michael Achenbach
On 2016/11/14 16:57:52, brettw (ping on IM after 24h) wrote: > On 2016/11/14 16:09:16, Nico ...
4 years, 1 month ago (2016-11-14 17:09:20 UTC) #37
kjellander_chromium
On 2016/11/14 17:09:20, machenbach (slow) wrote: > On 2016/11/14 16:57:52, brettw (ping on IM after ...
4 years, 1 month ago (2016-11-15 09:17:07 UTC) #38
Nico
4 years, 1 month ago (2016-11-15 15:23:09 UTC) #39
Message was sent while issue was closed.
Chromium also links against libc++.

On Tue, Nov 15, 2016 at 4:17 AM, <kjellander@chromium.org> wrote:

> On 2016/11/14 17:09:20, machenbach (slow) wrote:
> > On 2016/11/14 16:57:52, brettw (ping on IM after 24h) wrote:
> > > On 2016/11/14 16:09:16, Nico wrote:
> > > > Since my suggestion of "revert first, then figure out what we
> actually
> want
> > > > to do here, then do that" wasn't taken up:
>
> I didn't proceed with the revert since it seemed equally quick to just
> make it
> possible for downstream projects to set the use_system_xcode variable
> instead.
>
> > > > What's the desired long-term
> > > > plan here? It fairly likely isn't "webrtc stays on system xcode", is
> it?
> > >
> > > I am also curious about this.
>
> Yes, we'd love to use the hermetic toolchain. Unfortunately it doesn't
> work for
> our build right now: https://bugs.chromium.org/p/
> webrtc/issues/detail?id=6700#c1
> ld: library not found for -lc++
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> I incorrectly claimed we needed the 10.12 SDK in #msg13 above but it seems
> like
> it's just a library that's missing from the hermetic toolchain (since we
> target
> 10.11).
>
> > I thought the idea is to unblock downstream rolls with this like:
> > https://codereview.chromium.org/2502513002/
> >
> https://build.chromium.org/p/tryserver.v8/builders/v8_mac_
> rel_ng/builds/12426/steps/generate_build_files/logs/stdout
> >
> > Though, I still need to define the variables now in V8's build_overrides
> for
> > this to work - which is not optimal. We can in the downstream projects
> also
> > switch to hermetic xcode in a controlled way without blocking deps
> rollers.
> >
> > Basically this particular problem is just an instance of
> http://crbug.com/617873
> > - if we had a better solution for that I assume the roll wouldn't have
> been
> > blocked.
>
> We'd also love to see progress in that bug.
>
>
> https://codereview.chromium.org/2494103002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698