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

Issue 2767643002: Enable the Java wrapper to load different .so library.

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

Description

Enable the Java wrapper to load different .so library. BUG=webrtc:7613

Patch Set 1 : Enable to build DataChannel only WebRTC. #

Patch Set 2 : Create PeerConnectionFactroyDatachannelOnly. #

Patch Set 3 : Add static method to the subclass to solve the linking error. #

Total comments: 4

Patch Set 4 : Hacky version. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M webrtc/sdk/android/api/org/webrtc/PeerConnection.java View 1 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
A webrtc/sdk/android/api/org/webrtc/PeerConnectionLibraryDataChannelOnly.java View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Zhi Huang
I think with this change and some ifdef in the BUILD file should be able ...
3 years, 9 months ago (2017-03-21 18:02:47 UTC) #4
Taylor Brandstetter
If we plan to support different sets of functionality by building shared libraries with different ...
3 years, 9 months ago (2017-03-23 18:02:29 UTC) #5
Zhi Huang
I think it's time to pick this CL up. Please take a look. Thanks.
3 years, 7 months ago (2017-05-10 21:52:10 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/2767643002/diff/100001/webrtc/sdk/android/BUILD.gn File webrtc/sdk/android/BUILD.gn (right): https://codereview.webrtc.org/2767643002/diff/100001/webrtc/sdk/android/BUILD.gn#newcode178 webrtc/sdk/android/BUILD.gn:178: "api/org/webrtc/PeerConnectionFactoryDatachannelOnly.java", nit: I'd call the file "...DataChannelOnly.java", since "DataChannel" ...
3 years, 7 months ago (2017-05-11 10:17:12 UTC) #12
Zhi Huang
Please take a look. Thanks. https://codereview.webrtc.org/2767643002/diff/100001/webrtc/sdk/android/BUILD.gn File webrtc/sdk/android/BUILD.gn (right): https://codereview.webrtc.org/2767643002/diff/100001/webrtc/sdk/android/BUILD.gn#newcode178 webrtc/sdk/android/BUILD.gn:178: "api/org/webrtc/PeerConnectionFactoryDatachannelOnly.java", On 2017/05/11 10:17:11, ...
3 years, 7 months ago (2017-05-12 00:35:48 UTC) #14
magjed_webrtc
3 years, 7 months ago (2017-05-12 10:45:06 UTC) #15
I'm not ok with this approach because it's not modular and it won't scale if we
also want to have e.g. audio or video only, or different combinations of these.
Why does the so file for datachannel-only has to have a different name? Can't
you use the existing name jingle_peerconnection_so and avoid changing anything
here?

Powered by Google App Engine
This is Rietveld 408576698