Move Android network monitor to separate target/directory.
Not sure why it was lumped in with base in the first place. But now that it's not set via a static method, it makes less sense. Bug: webrtc:9883 Change-Id: Ia46834865fa485c9949a01fec10cecba465246ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/180741 Commit-Queue: Taylor <deadbeef@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31852}
This commit is contained in:
committed by
Commit Bot
parent
702dcb6bc3
commit
ebf31b346b
@ -66,6 +66,7 @@ if (is_android) {
|
||||
":native_api_base",
|
||||
":native_api_codecs",
|
||||
":native_api_jni",
|
||||
":native_api_network_monitor",
|
||||
":native_api_peerconnection",
|
||||
":native_api_stacktrace",
|
||||
":native_api_video",
|
||||
@ -846,13 +847,16 @@ if (current_os == "linux" || is_android) {
|
||||
sources = [
|
||||
"native_api/base/init.cc",
|
||||
"native_api/base/init.h",
|
||||
"native_api/base/network_monitor.cc",
|
||||
"native_api/base/network_monitor.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":base_jni",
|
||||
":native_api_jni",
|
||||
|
||||
# TODO(deadbeef): Remove this once clients start depending on
|
||||
# native_network_monitor directly.
|
||||
":native_api_network_monitor",
|
||||
"//rtc_base",
|
||||
"//rtc_base:checks",
|
||||
]
|
||||
@ -904,6 +908,19 @@ if (current_os == "linux" || is_android) {
|
||||
]
|
||||
}
|
||||
|
||||
rtc_library("native_api_network_monitor") {
|
||||
visibility = [ "*" ]
|
||||
sources = [
|
||||
"native_api/network_monitor/network_monitor.cc",
|
||||
"native_api/network_monitor/network_monitor.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":base_jni",
|
||||
"//rtc_base",
|
||||
]
|
||||
}
|
||||
|
||||
# API for creating Java PeerConnectionFactory from C++ equivalents.
|
||||
rtc_library("native_api_peerconnection") {
|
||||
visibility = [ "*" ]
|
||||
|
||||
Reference in New Issue
Block a user