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

Side by Side Diff: webrtc/api/java/README

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated location for peerconnection_unittests.isolate Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This directory holds a Java implementation of the webrtc::PeerConnection API, as 1 This directory holds a Java implementation of the webrtc::PeerConnection API, as
2 well as the JNI glue C++ code that lets the Java implementation reuse the C++ 2 well as the JNI glue C++ code that lets the Java implementation reuse the C++
3 implementation of the same API. 3 implementation of the same API.
4 4
5 To build the Java API and related tests, build with 5 To build the Java API and related tests, build with
6 OS=linux or OS=android and include 6 OS=linux or OS=android and include
7 build_with_libjingle=1 build_with_chromium=0 7 build_with_libjingle=1 build_with_chromium=0
8 in $GYP_DEFINES. 8 in $GYP_DEFINES.
9 9
10 To use the Java API, start by looking at the public interface of 10 To use the Java API, start by looking at the public interface of
11 org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest. 11 org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
12 12
13 To understand the implementation of the API, see the native code in jni/. 13 To understand the implementation of the API, see the native code in jni/.
14 14
15 An example command-line to build & run the unittest: 15 An example command-line to build & run the unittest:
16 cd path/to/trunk 16 cd path/to/trunk
17 GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 java_home=path/to/JDK" gclient runhooks && \ 17 GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 java_home=path/to/JDK" gclient runhooks && \
18 ninja -C out/Debug libjingle_peerconnection_java_unittest && \ 18 ninja -C out/Debug libjingle_peerconnection_java_unittest && \
19 ./out/Debug/libjingle_peerconnection_java_unittest 19 ./out/Debug/libjingle_peerconnection_java_unittest
20 (where path/to/JDK should contain include/jni.h) 20 (where path/to/JDK should contain include/jni.h)
21 21
22 During development it can be helpful to run the JVM with the -Xcheck:jni flag. 22 During development it can be helpful to run the JVM with the -Xcheck:jni flag.
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698