webrtc/ringrtc/BUILD.gn
Jordan Rose fe9009be92 Move C++/Rust FFI support into WebRTC repo
The gn files are simplified from what's currently in the RingRTC repo,
looking ahead to when the RingRTC Rust and Java builds for Android
aren't included in the WebRTC build.
2023-01-10 16:01:03 -08:00

31 lines
505 B
Text

#
# Copyright 2019-2021 Signal Messenger, LLC
# SPDX-License-Identifier: AGPL-3.0-only
#
if (is_android) {
import("//webrtc.gni")
group("ringrtc") {
public_deps = [
"//sdk/android:libwebrtc",
"rffi:libringrtc_rffi",
]
}
}
if (is_ios) {
group("ringrtc") {
# @note The RingRTC build is done outside of gn/ninja...
}
}
if (is_linux || is_mac || is_win) {
import("//webrtc.gni")
rtc_library("ringrtc") {
public_deps = [
"rffi:libringrtc_rffi",
]
}
}