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

Issue 1686373002: Allow WebRTC to require Mac 10.7 deployments in GN builds. (Closed)

Created:
4 years, 10 months ago by Dirk Pranke
Modified:
4 years, 8 months ago
CC:
chromium-reviews, tkchin_webrtc, kjellander_webrtc
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow WebRTC to require Mac 10.7 deployments in GN builds. The standalone (non-Chromium) WebRTC build has some targets that on the Mac use Objective-C features that require the targets to be deployed to 10.7 or newer hosts (i.e., they won't run on 10.6). Because we share GN //build configurations between the WebRTC and Chromium project, we need to give WebRTC to toggle the minimum configuration needed; we do this by creating a new file called build.gni in //build_overrides/build.gni file, and making //build/config/mac/mac_sdk.gni import that. This introduces a dependency from //build to //build_overrides, and means that other projects that depend on //build will need to create a new file when this change is rolled in.. R=brettw@chromium.org BUG=webrtc:5453, 588513 Committed: https://crrev.com/769de4d88df49a35f42932e71fbcb3ad1a26ec8d Cr-Commit-Position: refs/heads/master@{#376856}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Significantly re-work approach based on conversation w/ brettw@ #

Total comments: 2

Patch Set 3 : update README #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M build/config/mac/mac_sdk.gni View 1 1 chunk +6 lines, -1 line 2 comments Download
M build_overrides/README.md View 1 2 1 chunk +11 lines, -2 lines 0 comments Download
A build_overrides/build.gni View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
Dirk Pranke
See the linked bug and https://codereview.webrtc.org/1644843003/ for context. Please take a look? With this change, ...
4 years, 10 months ago (2016-02-11 02:01:39 UTC) #3
hjon_webrtc
On 2016/02/11 02:01:39, Dirk Pranke wrote: > See the linked bug and https://codereview.webrtc.org/1644843003/ for context. ...
4 years, 10 months ago (2016-02-11 17:24:46 UTC) #4
Dirk Pranke
On 2016/02/11 17:24:46, hjon_webrtc wrote: > If I've followed all of this correctly, it looks ...
4 years, 10 months ago (2016-02-11 17:29:04 UTC) #5
tkchin
On 2016/02/11 17:29:04, Dirk Pranke wrote: > On 2016/02/11 17:24:46, hjon_webrtc wrote: > > If ...
4 years, 10 months ago (2016-02-11 22:03:23 UTC) #6
brettw
https://codereview.chromium.org/1686373002/diff/1/build/config/mac/mac_sdk.gni File build/config/mac/mac_sdk.gni (right): https://codereview.chromium.org/1686373002/diff/1/build/config/mac/mac_sdk.gni#newcode10 build/config/mac/mac_sdk.gni:10: import("//build_overrides/webrtc.gni") We're trying to make the build directory independent ...
4 years, 10 months ago (2016-02-16 22:46:46 UTC) #7
Dirk Pranke
On 2016/02/16 22:46:46, brettw wrote: > https://codereview.chromium.org/1686373002/diff/1/build/config/mac/mac_sdk.gni > File build/config/mac/mac_sdk.gni (right): > > https://codereview.chromium.org/1686373002/diff/1/build/config/mac/mac_sdk.gni#newcode10 > ...
4 years, 10 months ago (2016-02-16 22:56:36 UTC) #8
brettw
On 2016/02/16 22:56:36, Dirk Pranke wrote: > On 2016/02/16 22:46:46, brettw wrote: > > https://codereview.chromium.org/1686373002/diff/1/build/config/mac/mac_sdk.gni ...
4 years, 10 months ago (2016-02-17 19:14:25 UTC) #9
Dirk Pranke
On 2016/02/17 19:14:25, brettw wrote: > On 2016/02/16 22:56:36, Dirk Pranke wrote: > > On ...
4 years, 10 months ago (2016-02-18 00:05:52 UTC) #10
brettw
https://codereview.chromium.org/1686373002/diff/1/build_overrides/webrtc.gni File build_overrides/webrtc.gni (right): https://codereview.chromium.org/1686373002/diff/1/build_overrides/webrtc.gni#newcode5 build_overrides/webrtc.gni:5: # TODO(https://bugs.chromium.org/p/webrtc/issues/detail?id=5453): Per in-person discussion we were going to ...
4 years, 10 months ago (2016-02-19 22:04:40 UTC) #11
Dirk Pranke
Okay, I've significantly reworked this patch as per our in-person discussion. Brett, please take a ...
4 years, 10 months ago (2016-02-21 22:47:54 UTC) #14
kjellander_chromium
lgtm and thanks for putting in the time creating a nice long-term solution that works ...
4 years, 10 months ago (2016-02-22 04:18:40 UTC) #16
Dirk Pranke
https://codereview.chromium.org/1686373002/diff/20001/build_overrides/README.md File build_overrides/README.md (right): https://codereview.chromium.org/1686373002/diff/20001/build_overrides/README.md#newcode27 build_overrides/README.md:27: //build_overrides.gni should go away completely in favor of some ...
4 years, 10 months ago (2016-02-22 04:25:04 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686373002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686373002/40001
4 years, 10 months ago (2016-02-22 04:39:51 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-22 05:27:19 UTC) #21
brettw
lgtm
4 years, 10 months ago (2016-02-22 23:34:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686373002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686373002/40001
4 years, 10 months ago (2016-02-22 23:37:13 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-22 23:50:09 UTC) #27
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/769de4d88df49a35f42932e71fbcb3ad1a26ec8d Cr-Commit-Position: refs/heads/master@{#376856}
4 years, 10 months ago (2016-02-22 23:51:24 UTC) #29
tkchin
On 2016/02/22 23:51:24, commit-bot: I haz the power wrote: > Patchset 3 (id:??) landed as ...
4 years, 10 months ago (2016-02-23 18:43:18 UTC) #30
Nico
https://codereview.chromium.org/1686373002/diff/40001/build/config/mac/mac_sdk.gni File build/config/mac/mac_sdk.gni (right): https://codereview.chromium.org/1686373002/diff/40001/build/config/mac/mac_sdk.gni#newcode8 build/config/mac/mac_sdk.gni:8: # We can drop the rtc_require_mac_10_7_deployment flag when Chromium ...
4 years, 8 months ago (2016-04-04 18:01:22 UTC) #32
tkchin_webrtc
4 years, 8 months ago (2016-04-04 18:49:02 UTC) #34
Message was sent while issue was closed.
https://codereview.chromium.org/1686373002/diff/40001/build/config/mac/mac_sd...
File build/config/mac/mac_sdk.gni (right):

https://codereview.chromium.org/1686373002/diff/40001/build/config/mac/mac_sd...
build/config/mac/mac_sdk.gni:8: # We can drop the
rtc_require_mac_10_7_deployment flag when Chromium
On 2016/04/04 18:01:22, Nico wrote:
> rtc_require_mac_10_7_deployment isn't referenced by anything but this comment.
> 
> we're about to bump the deployment target to 10.7 here
> https://codereview.chromium.org/1847533004/ and will bump it to 10.9 soon. is
> this build_overrides file still needed then? does webrtc keep targeting older
os
> x versions once chromium stops doing so?

We haven't done the work on WebRTC side to fix GN builds for iOS/Mac yet. But
this override is needed to do so (we're using the GYP equivalent).

Afaik there is no reason for us to continue to target old deployment targets if
Chromium is not doing so. I would like very much to be targeting 10.9.

Powered by Google App Engine
This is Rietveld 408576698