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

Issue 3012823002: Reland of "Decoupling rtc_base from Obj-C code" (Closed)

Created:
3 years, 3 months ago by mbonadei
Modified:
3 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of "Decoupling rtc_base from Obj-C code" Reason for revert: Trying to fix the link error on the chromium FYI trybots. Original issue's description: > Revert of Decoupling rtc_base from Obj-C code (patchset #1 id:1 of https://codereview.webrtc.org/3004373002/ ) > > Reason for revert: > It breaks a chromium FYI trybot (the switch from rtc_static_library to rtc_source_set seems to be the problem). > > Original issue's description: > > Reland of Decoupling rtc_base from Obj-C code (patchset #1 id:1 of https://codereview.webrtc.org/3008103002/ ) > > > > Reason for revert: > > Trying to reland after fixing downstream project. > > > > Original issue's description: > > > Revert of Decoupling rtc_base from Obj-C code (patchset #8 id:140001 of https://codereview.webrtc.org/3001623003/ ) > > > > > > Reason for revert: > > > It breaks a downstream project. > > > > > > Original issue's description: > > > > Decoupling rtc_base from Obj-C code > > > > > > > > The goal of this CL is to separate Obj-C/Obj-C++ code from targets which have > > > > also C++ code (see https://bugs.chromium.org/p/webrtc/issues/detail?id=7743 > > > > for more information). > > > > > > > > To achieve this we have created 2 targets (rtc_base_objc and rtc_base_generic) > > > > and rtc_base will act as a proxy between these targets (this way we can avoid a > > > > circular dependency between rtc_base_generic and rtc_base_objc). > > > > > > > > BUG=webrtc:7743 > > > > > > > > Review-Url: https://codereview.webrtc.org/3001623003 > > > > Cr-Commit-Position: refs/heads/master@{#19661} > > > > Committed: https://chromium.googlesource.com/external/webrtc/+/a0a5b98937de0f0bf90e17011d2cbc8c632cb409 > > > > > > TBR=kjellander@webrtc.org,kwiberg@webrtc.org > > > # Skipping CQ checks because original CL landed less than 1 days ago. > > > NOPRESUBMIT=true > > > NOTREECHECKS=true > > > NOTRY=true > > > BUG=webrtc:7743 > > > > > > Review-Url: https://codereview.webrtc.org/3008103002 > > > Cr-Commit-Position: refs/heads/master@{#19664} > > > Committed: https://chromium.googlesource.com/external/webrtc/+/791a8f611da8cc6b0668ccc03bf7525e6ba72a46 > > > > TBR=kjellander@webrtc.org,kwiberg@webrtc.org > > # Skipping CQ checks because original CL landed less than 1 days ago. > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=webrtc:7743 > > > > Review-Url: https://codereview.webrtc.org/3004373002 > > Cr-Commit-Position: refs/heads/master@{#19681} > > Committed: https://chromium.googlesource.com/external/webrtc/+/a0c893f324da5c9f0773f8990a29cd24643864e4 > > TBR=kjellander@webrtc.org,kwiberg@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7743 > > Review-Url: https://codereview.webrtc.org/3007183002 > Cr-Commit-Position: refs/heads/master@{#19688} > Committed: https://chromium.googlesource.com/external/webrtc/+/9c5e511806ef64c4cede52722c8a7ae7ae50ff56 TBR=kjellander@webrtc.org,kwiberg@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:7743 BUG=webrtc:7743 Review-Url: https://codereview.webrtc.org/3012823002 Cr-Commit-Position: refs/heads/master@{#19726} Committed: https://chromium.googlesource.com/external/webrtc/+/310e32b92a588ed31dad63c3b94a19cd025190f4

Patch Set 1 #

Patch Set 2 : Switching rtc_base to be a static_library again #

Patch Set 3 : Switching rtc_base_generic to be a static_library again #

Total comments: 1

Patch Set 4 : Adding noop.mm to workaround the static_library no source error #

Patch Set 5 : Fixing windows trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -4 lines) Patch
M webrtc/rtc_base/BUILD.gn View 1 2 3 4 3 chunks +35 lines, -4 lines 0 comments Download
A webrtc/rtc_base/noop.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A webrtc/rtc_base/noop.mm View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
mbonadei
It seems that if we switch rtc_base and rtc_base_approved back to rtc_static_library we are going ...
3 years, 3 months ago (2017-09-06 15:15:08 UTC) #3
kjellander_webrtc
lgtm assuming all the bots are happy. Will you run some Chromium trybots as well?
3 years, 3 months ago (2017-09-06 15:17:46 UTC) #5
mbonadei
On 2017/09/06 15:17:46, kjellander_webrtc wrote: > lgtm assuming all the bots are happy. Will you ...
3 years, 3 months ago (2017-09-06 15:21:23 UTC) #6
mbonadei
On 2017/09/06 15:21:23, mbonadei wrote: > On 2017/09/06 15:17:46, kjellander_webrtc wrote: > > lgtm assuming ...
3 years, 3 months ago (2017-09-06 15:23:46 UTC) #7
kjellander_webrtc
https://codereview.webrtc.org/3012823002/diff/40001/webrtc/rtc_base/BUILD.gn File webrtc/rtc_base/BUILD.gn (right): https://codereview.webrtc.org/3012823002/diff/40001/webrtc/rtc_base/BUILD.gn#newcode431 webrtc/rtc_base/BUILD.gn:431: public_deps = [ So the generic target is made ...
3 years, 3 months ago (2017-09-06 17:59:36 UTC) #8
mbonadei
On 2017/09/06 17:59:36, kjellander_webrtc wrote: > https://codereview.webrtc.org/3012823002/diff/40001/webrtc/rtc_base/BUILD.gn > File webrtc/rtc_base/BUILD.gn (right): > > https://codereview.webrtc.org/3012823002/diff/40001/webrtc/rtc_base/BUILD.gn#newcode431 > ...
3 years, 3 months ago (2017-09-06 19:28:59 UTC) #9
mbonadei
On 2017/09/06 19:28:59, mbonadei wrote: > On 2017/09/06 17:59:36, kjellander_webrtc wrote: > > https://codereview.webrtc.org/3012823002/diff/40001/webrtc/rtc_base/BUILD.gn > ...
3 years, 3 months ago (2017-09-07 07:12:51 UTC) #11
kwiberg-webrtc
On 2017/09/07 07:12:51, mbonadei wrote: > On 2017/09/06 19:28:59, mbonadei wrote: > > On 2017/09/06 ...
3 years, 3 months ago (2017-09-07 09:20:28 UTC) #12
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/3012823002/80001
3 years, 3 months ago (2017-09-07 14:36:25 UTC) #15
commit-bot: I haz the power
3 years, 3 months ago (2017-09-07 14:36:35 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/310e32b92a588ed31dad63c3b...

Powered by Google App Engine
This is Rietveld 408576698