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

Issue 2426563003: Moved transport.h from webrtc/ to webrtc/api, created build target and updated dependencies. (Closed)

Created:
4 years, 2 months ago by aleloi
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), zhuangzesen_agora.io, Andrew MacDonald, henrika_webrtc, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, hlundin-webrtc, peah-webrtc, minyue-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Moved transport.h from webrtc/ to webrtc/api, created build target and updated WebRTC dependencies. transport.h defines an interface for sending rtp and rtcp packets, which is used by MediaChannel in webrtc/media/engine, {Audio|Video}{Send|Receive}Stream and in a few other places. It was part of the build target //webrtc:webrtc, which is a monolithic target with all webrtc production code. This CL moves the header to its own target in webrtc/api and deprecates the old location. Targets in webrtc/api should in general only depend on other targets in webrtc/api. The target webrtc/api:call_api depends on transport.h. This change also makes webrtc/voice_engine pass GN's header include checker and is needed in order for webrtc/api:call_api to pass it. transport.h will be completely removed in a follow-up CL in a few weeks after clients have updated their includes. NOTRY=True BUG=webrtc:5589, webrtc:5878, webrtc:6785 Committed: https://crrev.com/a8eb756a346682a4af66f9a9c0b87cfe1ed5b114 Cr-Commit-Position: refs/heads/master@{#15267}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Added deprecatin notice. #

Patch Set 3 : Remove mentions of GYP. #

Total comments: 2

Patch Set 4 : Created issue webrtc:6785 as reminder and linked to it in comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -47 lines) Patch
M .gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/BUILD.gn View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/api/BUILD.gn View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/api/call/audio_receive_stream.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/call/audio_send_stream.h View 1 1 chunk +1 line, -1 line 0 comments Download
A + webrtc/api/call/transport.h View 1 2 chunks +4 lines, -5 lines 0 comments Download
M webrtc/call/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 2 chunks +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api.h View 2 chunks +1 line, -1 line 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/direct_transport.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/mock_transport.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/null_transport.h View 1 chunk +1 line, -1 line 0 comments Download
D webrtc/transport.h View 1 2 3 1 chunk +4 lines, -27 lines 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/transport_adapter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/voice_engine/include/voe_network.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/test/channel_transport/udp_transport.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 46 (24 generated)
aleloi
Please take a look! https://codereview.webrtc.org/2426563003/diff/40001/webrtc/api/call/transport.h File webrtc/api/call/transport.h (right): https://codereview.webrtc.org/2426563003/diff/40001/webrtc/api/call/transport.h#newcode14 webrtc/api/call/transport.h:14: #include "webrtc/base/basictypes.h" Not in any ...
4 years, 2 months ago (2016-10-17 13:53:54 UTC) #4
aleloi
Added kwiberg@ as top level owner. Please take a look, kwiberg@.
4 years, 2 months ago (2016-10-17 13:55:19 UTC) #6
aleloi
https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/call/transport.h File webrtc/api/call/transport.h (right): https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/call/transport.h#newcode14 webrtc/api/call/transport.h:14: #include "webrtc/base/basictypes.h" This file is not in any build ...
4 years, 2 months ago (2016-10-17 14:01:33 UTC) #9
ossu
Two quick comments. Tried to post this once but someone removed the patch set I ...
4 years, 2 months ago (2016-10-17 14:05:44 UTC) #10
aleloi
Oops, sorry for that, ossu@ https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn#newcode321 webrtc/api/BUILD.gn:321: rtc_source_set("transport_api") { On 2016/10/17 ...
4 years, 2 months ago (2016-10-17 14:21:56 UTC) #11
the sun
The CL description should mention Video[Send|Receive]Stream in addition to audio. https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn#newcode321 ...
4 years, 2 months ago (2016-10-17 14:38:36 UTC) #13
ossu
https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn#newcode321 webrtc/api/BUILD.gn:321: rtc_source_set("transport_api") { On 2016/10/17 14:38:35, the sun wrote: > ...
4 years, 2 months ago (2016-10-17 14:54:58 UTC) #16
the sun
On 2016/10/17 14:54:58, ossu wrote: > https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn > File webrtc/api/BUILD.gn (right): > > https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn#newcode321 > ...
4 years, 2 months ago (2016-10-17 15:00:46 UTC) #17
ossu
On 2016/10/17 15:00:46, the sun wrote: > On 2016/10/17 14:54:58, ossu wrote: > > https://codereview.webrtc.org/2426563003/diff/60001/webrtc/api/BUILD.gn ...
4 years, 2 months ago (2016-10-17 17:05:19 UTC) #18
the sun
On 2016/10/17 17:05:19, ossu wrote: > On 2016/10/17 15:00:46, the sun wrote: > > On ...
4 years, 1 month ago (2016-10-26 08:34:47 UTC) #19
the sun
On 2016/10/26 08:34:47, the sun wrote: > On 2016/10/17 17:05:19, ossu wrote: > > On ...
4 years, 1 month ago (2016-10-26 08:36:19 UTC) #20
kjellander_webrtc
On 2016/10/26 08:36:19, the sun wrote: > On 2016/10/26 08:34:47, the sun wrote: > > ...
4 years, 1 month ago (2016-10-26 08:59:29 UTC) #21
ossu
On 2016/10/26 08:59:29, kjellander_webrtc wrote: > On 2016/10/26 08:36:19, the sun wrote: > > On ...
4 years, 1 month ago (2016-10-26 09:15:13 UTC) #22
danilchap
Please postpone deleting transport.h in root since that will break dependent project that include it ...
4 years, 1 month ago (2016-10-26 09:41:18 UTC) #23
kjellander_webrtc
On 2016/10/26 09:41:18, danilchap wrote: > Please postpone deleting transport.h in root since that will ...
4 years, 1 month ago (2016-11-16 10:44:22 UTC) #24
kjellander_webrtc
On 2016/11/16 10:44:22, kjellander_webrtc wrote: > On 2016/10/26 09:41:18, danilchap wrote: > > Please postpone ...
4 years, 1 month ago (2016-11-16 10:45:34 UTC) #26
aleloi
Hi again! Sorry for waiting this long... This change breaks a single header out of ...
4 years, 1 month ago (2016-11-21 13:07:41 UTC) #30
kjellander_webrtc
On 2016/11/21 13:07:41, aleloi wrote: > Hi again! > > Sorry for waiting this long... ...
4 years, 1 month ago (2016-11-21 13:16:51 UTC) #31
kwiberg-webrtc
lgtm, but see comments https://codereview.webrtc.org/2426563003/diff/140001/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/2426563003/diff/140001/webrtc/BUILD.gn#newcode237 webrtc/BUILD.gn:237: # location in webrtc/api/call/transport.h Link ...
4 years ago (2016-11-25 12:16:26 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2426563003/160001
4 years ago (2016-11-28 14:49:50 UTC) #41
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years ago (2016-11-28 15:02:18 UTC) #44
commit-bot: I haz the power
4 years ago (2016-11-28 15:02:24 UTC) #46
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a8eb756a346682a4af66f9a9c0b87cfe1ed5b114
Cr-Commit-Position: refs/heads/master@{#15267}

Powered by Google App Engine
This is Rietveld 408576698