This reverts commit 4ec3e9c98873520b3171d40ab0426b2f05edbbd2. Reason for revert: Causes downstream build error. Original change's description: > Delete old Android ADM. > > The schedule move Android ADM code to sdk directory have been around > for several years, but the old code still not delete. > > Bug: webrtc:7452 > Change-Id: I0f75c680f71f0b2ce614de6cbd9f124c2a59d453 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/264620 > Reviewed-by: Magnus Jedvert <magjed@webrtc.org> > Commit-Queue: Henrik Andreassson <henrika@webrtc.org> > Reviewed-by: Henrik Andreassson <henrika@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#37174} Bug: webrtc:7452 Change-Id: If094e0a3ef5a3d340cbd5dfa0a8a88c3e97ba0bf No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/265393 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37180}
This directory holds a Java implementation of the webrtc::PeerConnection API, as
well as the JNI glue C++ code that lets the Java implementation reuse the C++
implementation of the same API.
To build the Java API and related tests, make sure you have a WebRTC checkout
with Android specific parts. This can be used for linux development as well by
configuring gn appropriately, as it is a superset of the webrtc checkout:
fetch --nohooks webrtc_android
gclient sync
You also must generate GN projects with:
--args='target_os="android" target_cpu="arm"'
More information on getting the code, compiling and running the AppRTCMobile
app can be found at:
https://webrtc.org/native-code/android/
To use the Java API, start by looking at the public interface of
org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
To understand the implementation of the API, see the native code in src/jni/pc/.