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

Issue 1847013002: Set defines for Chromium build. (Closed)

Created:
4 years, 8 months ago by kjellander_webrtc
Modified:
4 years, 8 months ago
Reviewers:
tommi, perkj_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Set defines for Chromium build. Copy the defines from the target_defaults section of Chromium's src/third_party/libjingle.gyp into our webrtc/build/common.gypi in order to ensure the same defines are used for the Chromium build when removing the source listings in src/third_party/libjingle.gyp. With this CL landed, it should be possible to replace them with dependencies on: * webrtc/api/api.gyp:libjingle_peerconnections * webrtc/media/media.gyp:rtc_media * webrtc/pc/pc.gyp:rtc_pc * webrtc/pp2/p2p.gyp:rtc_p2p * webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp Not ported (Windows specific): * Precompiled headers (build/win_precompile.gypi): since it only seems to offer a compile speedup. Will be landed for all of WebRTC in separate CL. BUG=webrtc:4256 NOTRY=True R=perkj@webrtc.org, tommi@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/9266cc066845c5d5be6551c583dcc831a2a47b67

Patch Set 1 #

Patch Set 2 : Simplied how the defines are handled #

Total comments: 6

Patch Set 3 : Added TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
M webrtc/build/common.gypi View 1 2 5 chunks +63 lines, -1 line 0 comments Download
M webrtc/media/media.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (8 generated)
kjellander_webrtc
4 years, 8 months ago (2016-03-31 15:37:57 UTC) #4
kjellander_webrtc
Actually, hold off reviewing this as it's better I cover pc.gyp in this CL as ...
4 years, 8 months ago (2016-03-31 15:46:34 UTC) #6
kjellander_webrtc
OK the new patch set is much simpler and safer I believe. I haven't yet ...
4 years, 8 months ago (2016-03-31 17:34:54 UTC) #9
kjellander_webrtc
On 2016/03/31 17:34:54, kjellander (webrtc) wrote: > OK the new patch set is much simpler ...
4 years, 8 months ago (2016-03-31 17:35:44 UTC) #10
perkj_webrtc
https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi#newcode496 webrtc/build/common.gypi:496: 'FEATURE_ENABLE_VOICEMAIL', I don't think you need FEATURE_ENABLE_VOICEMAIL. Only used ...
4 years, 8 months ago (2016-04-01 09:33:47 UTC) #11
kjellander_webrtc
https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi#newcode496 webrtc/build/common.gypi:496: 'FEATURE_ENABLE_VOICEMAIL', On 2016/04/01 09:33:47, perkj_webrtc wrote: > I don't ...
4 years, 8 months ago (2016-04-01 10:34:36 UTC) #12
perkj_webrtc
lgtm Provided we (you) try to clean it up once Chrome has moved to use ...
4 years, 8 months ago (2016-04-01 12:05:38 UTC) #13
tommi
lgtm https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi#newcode496 webrtc/build/common.gypi:496: 'FEATURE_ENABLE_VOICEMAIL', On 2016/04/01 10:34:36, kjellander (webrtc) wrote: > ...
4 years, 8 months ago (2016-04-01 13:23:09 UTC) #14
kjellander_webrtc
https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1847013002/diff/20001/webrtc/build/common.gypi#newcode496 webrtc/build/common.gypi:496: 'FEATURE_ENABLE_VOICEMAIL', On 2016/04/01 13:23:09, tommi-webrtc wrote: > On 2016/04/01 ...
4 years, 8 months ago (2016-04-04 07:11:59 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9266cc066845c5d5be6551c583dcc831a2a47b67 Cr-Commit-Position: refs/heads/master@{#12212}
4 years, 8 months ago (2016-04-04 07:12:48 UTC) #17
kjellander_webrtc
Committed patchset #3 (id:40001) manually as 9266cc066845c5d5be6551c583dcc831a2a47b67 (presubmit successful).
4 years, 8 months ago (2016-04-04 07:12:57 UTC) #19
kjellander_webrtc
4 years, 8 months ago (2016-04-05 06:39:23 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/1861603002/ by kjellander@webrtc.org.

The reason for reverting is: This breaks remoting_unittests on Windows in
Chromium:
[5116:2536:0404/012329:5457156:ERROR:webrtcsession.cc(1388)] ConnectDataChannel
called when data_channel_ is NULL.
[5116:2536:0404/012329:5457187:ERROR:opensslidentity.cc(154)] Generating
certificate: error:0c000071:ASN.1 encoding
routines:OPENSSL_internal:ERROR_GETTING_TIME

[5116:2536:0404/012329:5457218:ERROR:opensslidentity.cc(154)] Generating
certificate: error:0c000071:ASN.1 encoding
routines:OPENSSL_internal:ERROR_GETTING_TIME

[5116:2536:0404/012329:5457218:WARNING:dtlsidentitystore.cc(221)] Failed to
generate DTLS identity.
[.

Powered by Google App Engine
This is Rietveld 408576698