Commit graph

11 commits

Author SHA1 Message Date
Jordan Rose
e12759d56c Android: Extract Cargo build from gn 2023-01-05 15:52:33 -08:00
Rashad Sookram
68a188727e
Upgrade Gradle dependencies
Now the Gradle build for RingRTC only has a single Gradle project (and
no subprojects). Its debug and release variants are used for the
different builds of RingRTC.
2022-07-07 16:07:42 -04:00
Rashad Sookram
a6aab73f5a Build AARs faster
This allows the debug and release AARs to be built individually. 
Previously when you tried to build only one of them (through 
build-aar), both AARs would still be created. Now when you want to 
build only one of them, the Gradle portion of the build will take ~1/2 
the time that it previously did.

These changes also fix the bug where an AAR could be created without 
.so files in it, and the bug where the debug and release AARs would be 
exactly the same (where one overwrote the other).
2022-05-20 16:42:19 -07:00
Dimitris Apostolou
fba9b37356 Fix typos 2022-03-17 18:03:56 -07:00
Jordan Rose
944510b04b Disable VP9, iLBC, and protobuf debugging support
This saves binary size for features we're not using.

Also, skip building WebRTC tools. This just saves build time.
2021-11-04 15:20:34 -07:00
Jordan Rose
4f2b0a0686 Android: Build Java against the same SDK/NDK that WebRTC uses
This still requires JDK 8 to build, but a full Android installation is
no longer necessary.
2021-09-28 09:32:58 -07:00
Jim Gustafson
1e8e6901a0 Update copyrights and license 2021-01-19 17:19:23 -08:00
Jim Gustafson
9339f22c76 Implement native interface
This commit adds a native interface to RingRTC. This provides native
access to more WebRTC capabilities, such as the PeerConnectionFactory,
PeerConnection, and some native media capabilities.

The native interface is used for electron-based client support, so
that WebRTC can be accessed directly with RingRTC rather than through
the Chrome backend. A script bin/build-electron is provided to build
the electron library, and a node project with a TypeScript API is
provided in src/node.

A command line interface is also available. This uses some new hooks
for simulating networks through WebRTC. This client is meant for
testing, it is not a Signal client.
2020-06-08 14:38:56 -07:00
Curt Brune
c3dfd9fc91 Add 'clean' and 'distclean' targets to Makefile
The following clean targets are supported:
  clean	    -- remove all platform build products.
  distclean -- remove everything, including downloaded WebRTC dependencies.

Signed-off-by: Curt Brune <curt@signal.org>
2019-10-11 17:57:13 -07:00
Curt Brune
b2e1b42242 Include a Makefile for building the project
Tidy up the prepare-workspace and build-xxx scripts into a Makefile.

Also adjust the BUILDING instructions to show the new build flow.

To build iOS release frameworks type "make ios".

To build debug and release .aar for Android type "make android".

Signed-off-by: Curt Brune <curt@signal.org>
2019-10-02 14:02:28 -07:00
Curt Brune
8204e76d10 Initial commit of project files 2019-08-30 10:23:58 -07:00