Index: third_party/libjingle/BUILD.gn |
diff --git a/third_party/libjingle/BUILD.gn b/third_party/libjingle/BUILD.gn |
index 02c2bf977b16f1ec1348b309d6a46afcf016a083..fb01a64baff3f45c95339b2af50cb99b856b2a3b 100644 |
--- a/third_party/libjingle/BUILD.gn |
+++ b/third_party/libjingle/BUILD.gn |
@@ -553,6 +553,40 @@ if (enable_webrtc) { |
] |
} |
+ source_set("libjingle_peerconnection_so") { |
+ sources = [ |
+ "source/talk/app/webrtc/java/jni/peerconnection_jni.cc", |
+ ] |
+ deps = [ |
+ "libjingle_webrtc", |
+ "libpeerconnection", |
+ ] |
+ } |
+ |
+ android_library("libjingle_peerconnection_java") { |
+ java_files = [ |
+ "source/talk/app/webrtc/java/src/org/webrtc/AudioSource.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/AudioTrack.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/DataChannel.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/IceCandidate.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/Logging.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/MediaConstraints.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/MediaSource.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/MediaStream.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/MediaStreamTrack.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/SdpObserver.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/StatsObserver.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/StatsReport.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/SessionDescription.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/VideoSource.java", |
+ "source/talk/app/webrtc/java/src/org/webrtc/VideoTrack.java", |
+ ] |
+ } |
+ |
} # enable_webrtc |
# TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |