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

Issue 2120673004: Add field_trial_default dependency to libjingle_peerconnection (Closed)

Created:
4 years, 5 months ago by arlolra
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add field_trial_default dependency to libjingle_peerconnection This is needed for webrtc::field_trial::FindFullName in peerconnection.cc NOTRY=True Committed: https://crrev.com/a7a01df2aebe7108afad208ccd0341c2f0bc7b3b Cr-Commit-Position: refs/heads/master@{#13836}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 3

Patch Set 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/BUILD.gn View 1 2 2 chunks +1 line, -1 line 0 comments Download
M webrtc/api/api.gyp View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (13 generated)
pthatcher2
I'm fine with this if kjellander is.
4 years, 4 months ago (2016-08-16 20:57:36 UTC) #3
kjellander_webrtc
This can land with NOTRY=True if the trybots I fired are happy. https://codereview.webrtc.org/2120673004/diff/1/webrtc/api/api.gyp File webrtc/api/api.gyp ...
4 years, 4 months ago (2016-08-16 21:26:22 UTC) #6
kjellander_webrtc
lgtm
4 years, 4 months ago (2016-08-16 21:26:34 UTC) #8
kjellander_webrtc
Actually, this does not lgtm yet, you should do the same for the GN target ...
4 years, 4 months ago (2016-08-17 13:42:57 UTC) #11
arlolra
Thanks! Hopefully I didn't overstep with the changes there.
4 years, 4 months ago (2016-08-17 15:50:10 UTC) #12
kjellander_webrtc
On 2016/08/17 15:50:10, arlolra wrote: > Thanks! Hopefully I didn't overstep with the changes there. ...
4 years, 4 months ago (2016-08-17 16:49:24 UTC) #13
arlolra
On 2016/08/17 16:49:24, kjellander_webrtc wrote: > On 2016/08/17 15:50:10, arlolra wrote: > > Thanks! Hopefully ...
4 years, 4 months ago (2016-08-17 17:16:41 UTC) #14
kjellander_webrtc
Sorry! I forgot to post my comment drafts in the last round. https://codereview.webrtc.org/2120673004/diff/20001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn ...
4 years, 4 months ago (2016-08-18 10:22:40 UTC) #15
arlolra
On 2016/08/18 10:22:40, kjellander_webrtc wrote: > Sorry! I forgot to post my comment drafts in ...
4 years, 4 months ago (2016-08-20 14:51:13 UTC) #16
kjellander_webrtc
On 2016/08/20 14:51:13, arlolra wrote: > On 2016/08/18 10:22:40, kjellander_webrtc wrote: > > Sorry! I ...
4 years, 3 months ago (2016-08-22 06:21:51 UTC) #18
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/2120673004/40001
4 years, 3 months ago (2016-08-22 06:34:46 UTC) #20
commit-bot: I haz the power
A disapproval has been posted by following reviewers: kjellander@webrtc.org. Please make sure to get positive ...
4 years, 3 months ago (2016-08-22 06:34:49 UTC) #22
kjellander_webrtc
On 2016/08/22 06:34:49, commit-bot: I haz the power wrote: > A disapproval has been posted ...
4 years, 3 months ago (2016-08-22 06:38:19 UTC) #23
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/2120673004/40001
4 years, 3 months ago (2016-08-22 06:38:36 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-22 06:48:16 UTC) #27
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a7a01df2aebe7108afad208ccd0341c2f0bc7b3b Cr-Commit-Position: refs/heads/master@{#13836}
4 years, 3 months ago (2016-08-22 06:48:22 UTC) #29
sakal
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.webrtc.org/2263063002/ by sakal@webrtc.org. ...
4 years, 3 months ago (2016-08-22 07:25:50 UTC) #30
arlolra
On 2016/08/22 07:25:50, sakal wrote: > A revert of this CL (patchset #3 id:40001) has ...
4 years, 3 months ago (2016-08-22 14:14:18 UTC) #31
kjellander_webrtc
On 2016/08/22 07:25:50, sakal wrote: > A revert of this CL (patchset #3 id:40001) has ...
4 years, 3 months ago (2016-08-22 14:31:28 UTC) #32
arlolra
Isn't the solution just to remove, ``` } else { # Otherwise, we just add ...
4 years, 3 months ago (2016-08-22 15:21:28 UTC) #33
kjellander_webrtc
4 years, 2 months ago (2016-10-12 03:16:42 UTC) #34
Message was sent while issue was closed.
On 2016/08/22 15:21:28, arlolra wrote:
> Isn't the solution just to remove,
> 
> ```
> } else {
>     # Otherwise, we just add the field_trial which redirects to base.
>     sources = [
>       "../webrtc_overrides/field_trial.cc",
>     ]
> }
> ```
> 
> here
> https://cs.chromium.org/chromium/src/third_party/libjingle/BUILD.gn?rcl=0&l=70
> 
> since the symbol is already defined with this patch?
> 
> That seems to work for the `is_nacl` case.

I wasn't fully aware of how the field trial stuff worked before. The idea is
that you provide either your own implementation (to allow hooking up your own
statistics) or you link with one of the default implementations, which is not
linked by default for any of our production code (to provide the flexibility to
downstream users). This is also being reworked a little recently in
https://codereview.webrtc.org/2403463002/.
I'm afraid this is not well documented, which is also something that could be
improved.

Powered by Google App Engine
This is Rietveld 408576698