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

Issue 1441323002: Fix compilation of WebRTC on iOS for Chromium. (Closed)

Created:
5 years, 1 month ago by sdefresne
Modified:
5 years ago
CC:
Andrew MacDonald, niklas.enbom, peah-webrtc, qiang.lu, tterriberry_mozilla.com, webrtc-reviews_webrtc.org, yujie_mao (webrtc)
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix compilation of WebRTC on iOS for Chromium. Export the symbol SSL_USE_OPENSSL when building webrtc on iOS for Chromium to get in line with what is done with gyp. Fixes the following compilation error: ../../third_party/webrtc/base/helpers.cc:140:2: error: No SSL implementation has been selected! ^ BUG=459705

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M webrtc/BUILD.gn View 2 chunks +5 lines, -1 line 1 comment Download

Messages

Total messages: 17 (3 generated)
sdefresne
Please take a look. I'm not sure this is the right fix for WebRTC, but ...
5 years, 1 month ago (2015-11-13 13:45:03 UTC) #2
sdefresne
dpranke: can you review as gn expert? kjellander: can you review as webrtc OWNERS?
5 years, 1 month ago (2015-11-13 17:37:20 UTC) #4
Dirk Pranke
On 2015/11/13 17:37:20, sdefresne wrote: > dpranke: can you review as gn expert? Seems fine, ...
5 years, 1 month ago (2015-11-13 17:41:12 UTC) #5
sdefresne
On 2015/11/13 at 17:41:12, dpranke wrote: > On 2015/11/13 17:37:20, sdefresne wrote: > > dpranke: ...
5 years, 1 month ago (2015-11-14 09:24:07 UTC) #6
sdefresne
On 2015/11/14 at 09:24:07, sdefresne wrote: > On 2015/11/13 at 17:41:12, dpranke wrote: > > ...
5 years, 1 month ago (2015-11-16 09:57:42 UTC) #7
sdefresne
kjellander: ping?
5 years, 1 month ago (2015-11-16 09:57:53 UTC) #8
kjellander_webrtc
https://codereview.webrtc.org/1441323002/diff/1/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/1441323002/diff/1/webrtc/BUILD.gn#newcode35 webrtc/BUILD.gn:35: defines += [ "SSL_USE_OPENSSL" ] I don't want our ...
5 years, 1 month ago (2015-11-16 14:47:13 UTC) #9
Dirk Pranke
I'm sorry, I only got to look at this a little bit late today and ...
5 years, 1 month ago (2015-11-20 03:44:12 UTC) #10
kjellander_webrtc
Is the reason for this code path being compiled the same as in https://codereview.webrtc.org/1444323002/ ? ...
5 years, 1 month ago (2015-11-20 08:13:41 UTC) #11
sdefresne
On 2015/11/20 at 08:13:41, kjellander wrote: > Is the reason for this code path being ...
5 years, 1 month ago (2015-11-20 08:29:07 UTC) #12
Dirk Pranke
On 2015/11/20 08:29:07, sdefresne wrote: > On 2015/11/20 at 08:13:41, kjellander wrote: > > Is ...
5 years, 1 month ago (2015-11-21 00:55:55 UTC) #13
sdefresne
On 2015/11/21 at 00:55:55, dpranke wrote: > On 2015/11/20 08:29:07, sdefresne wrote: > > On ...
5 years, 1 month ago (2015-11-21 00:58:15 UTC) #14
Dirk Pranke
On 2015/11/21 00:58:15, sdefresne wrote: > On 2015/11/21 at 00:55:55, dpranke wrote: > > On ...
5 years, 1 month ago (2015-11-21 01:02:22 UTC) #15
kjellander_webrtc
5 years ago (2015-11-23 09:20:37 UTC) #16
On 2015/11/21 01:02:22, Dirk Pranke wrote:
> On 2015/11/21 00:58:15, sdefresne wrote:
> > On 2015/11/21 at 00:55:55, dpranke wrote:
> > > On 2015/11/20 08:29:07, sdefresne wrote:
> > > > On 2015/11/20 at 08:13:41, kjellander wrote:
> > > > > Is the reason for this code path being compiled the same as in
> > > > https://codereview.webrtc.org/1444323002/ ? Then it seems it won't need
to
> > be
> > > > solved if the original dependency problem can be fixed instead (Chromium
> > > > //components/autofill depends on WebRTC to use WebRTC xmllite, which is
> kind
> > of
> > > > silly). 
> > > > > Normally WebRTC is not compiled as part of the Chromium iOS build.
> > > 
> > > I'm confused by this comment; it looks like rtc_base and rtc_xmllite are
> > > being built in GYP builds. Were you referring to the other parts of
WebRTC?
> > > 
> > > On 2015/11/20 08:29:07, sdefresne wrote:
> > > > Yes agreed. Let's wait till the xmllite dependency is removed.
> > > 
> > > Sylvain, are you okay with me commenting out the components that
> > > depend on webrtc in the meantime? Otherwise I can't get the ios
> > > builds building as part of the CQ and waterfalls.
> > 
> > My preference would be to fix WebRTC.
> 
> What does "fix WebRTC" mean? Land your other CL? 
> 
> I thought you were saying that you would prefer to wait until we stopped
> needing xmllite, and then we wouldn't need to change WebRTC at all instead?

See https://codereview.webrtc.org/1471663002/ for the proper (I think) fix for
this error. I'm closing this CL now as it does not lgtm.

Powered by Google App Engine
This is Rietveld 408576698