blob: 5c4dbc77fb7c517ab243fbfd29f35911f1d69b7e [file] [log] [blame]
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +02001# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
mbonadei9aa3f0a2017-01-24 06:58:22 -08009import("../webrtc.gni")
Qiang Chen43fb9122017-12-20 10:47:36 -080010
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020011if (is_android) {
12 import("//build/config/android/config.gni")
13 import("//build/config/android/rules.gni")
tkchin2ddfdba2016-08-07 21:37:45 -070014} else if (is_mac) {
15 import("//build/config/mac/rules.gni")
16} else if (is_ios) {
17 import("//build/config/ios/rules.gni")
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020018}
19
20group("examples") {
kjellander6ceab082016-10-28 05:44:03 -070021 # This target shall build all targets in examples.
22 testonly = true
Mirko Bonadei1a339c32017-12-14 13:06:10 +010023 deps = []
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020024
tkchin2ddfdba2016-08-07 21:37:45 -070025 if (is_android) {
Mirko Bonadei1a339c32017-12-14 13:06:10 +010026 deps += [
kjellander6ceab082016-10-28 05:44:03 -070027 ":AppRTCMobile",
28 ":AppRTCMobileTest",
mandermoa6069e82017-01-16 02:23:09 -080029 ":AppRTCMobileTestStubbedVideoIO",
kjellander6ceab082016-10-28 05:44:03 -070030 ]
31 }
32
charujainaca3a242016-11-01 03:09:15 -070033 if (!build_with_chromium) {
Mirko Bonadei1a339c32017-12-14 13:06:10 +010034 deps += [ ":stun_prober" ]
charujainaca3a242016-11-01 03:09:15 -070035 }
36
kjellander6ceab082016-10-28 05:44:03 -070037 if (is_ios || (is_mac && target_cpu != "x86")) {
Mirko Bonadei1a339c32017-12-14 13:06:10 +010038 deps += [ ":AppRTCMobile" ]
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020039 }
kjellander6ceab082016-10-28 05:44:03 -070040
41 if (is_linux || is_win) {
Mirko Bonadei1a339c32017-12-14 13:06:10 +010042 deps += [
kthelgason0727f152016-08-08 09:03:23 -070043 ":peerconnection_client",
44 ":peerconnection_server",
45 ":relayserver",
46 ":stunserver",
47 ":turnserver",
48 ]
49 }
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020050}
51
tkchin2ddfdba2016-08-07 21:37:45 -070052if (is_android) {
Mirko Bonadeifbb3b7d2017-11-07 15:36:33 +000053 rtc_android_apk("AppRTCMobile") {
kjellander1993b1d2017-03-06 00:29:21 -080054 testonly = true
Magnus Jedvertc1815cf2016-09-27 10:10:41 +020055 apk_name = "AppRTCMobile"
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020056 android_manifest = "androidapp/AndroidManifest.xml"
57
58 deps = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +020059 ":AppRTCMobile_javalib",
60 ":AppRTCMobile_resources",
jianjun.zhuc0247402017-07-11 06:20:45 -070061 "../rtc_base:base_java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020062 "//base:base_java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020063 ]
64
jianjun.zhuc0247402017-07-11 06:20:45 -070065 shared_libraries = [ "../sdk/android:libjingle_peerconnection_so" ]
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020066 }
67
Mirko Bonadeifbb3b7d2017-11-07 15:36:33 +000068 rtc_android_library("AppRTCMobile_javalib") {
kjellander1993b1d2017-03-06 00:29:21 -080069 testonly = true
Mirko Bonadei4f024ef2018-01-04 13:12:03 +010070 android_manifest_for_lint = "androidapp/AndroidManifest.xml"
sakal07a050f2017-02-13 05:58:27 -080071
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020072 java_files = [
73 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java",
henrikac3c2f312016-12-14 07:36:56 -080074 "androidapp/src/org/appspot/apprtc/AppRTCBluetoothManager.java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020075 "androidapp/src/org/appspot/apprtc/AppRTCClient.java",
76 "androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java",
77 "androidapp/src/org/appspot/apprtc/CallActivity.java",
78 "androidapp/src/org/appspot/apprtc/CallFragment.java",
79 "androidapp/src/org/appspot/apprtc/CaptureQualityController.java",
80 "androidapp/src/org/appspot/apprtc/ConnectActivity.java",
81 "androidapp/src/org/appspot/apprtc/CpuMonitor.java",
82 "androidapp/src/org/appspot/apprtc/DirectRTCClient.java",
83 "androidapp/src/org/appspot/apprtc/HudFragment.java",
84 "androidapp/src/org/appspot/apprtc/PeerConnectionClient.java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020085 "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java",
86 "androidapp/src/org/appspot/apprtc/SettingsActivity.java",
87 "androidapp/src/org/appspot/apprtc/SettingsFragment.java",
88 "androidapp/src/org/appspot/apprtc/TCPChannelClient.java",
89 "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java",
90 "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java",
91 "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java",
92 "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java",
93 "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020094 ]
95
96 deps = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +020097 ":AppRTCMobile_resources",
jianjun.zhuc0247402017-07-11 06:20:45 -070098 "../modules/audio_device:audio_device_java",
99 "../rtc_base:base_java",
100 "../sdk/android:libjingle_peerconnection_java",
101 "../sdk/android:libjingle_peerconnection_metrics_default_java",
102 "androidapp/third_party/autobanh:autobanh_java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200103 ]
104 }
105
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200106 android_resources("AppRTCMobile_resources") {
kjellander1993b1d2017-03-06 00:29:21 -0800107 testonly = true
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200108 resource_dirs = [ "androidapp/res" ]
109 custom_package = "org.appspot.apprtc"
110 }
111
Mirko Bonadeifbb3b7d2017-11-07 15:36:33 +0000112 rtc_instrumentation_test_apk("AppRTCMobileTest") {
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200113 apk_name = "AppRTCMobileTest"
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200114 android_manifest = "androidtests/AndroidManifest.xml"
115
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100116 java_files = [
117 "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java",
118 ]
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200119
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200120 apk_under_test = ":AppRTCMobile"
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200121
122 deps = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200123 ":AppRTCMobile_javalib",
jianjun.zhuc0247402017-07-11 06:20:45 -0700124 "../sdk/android:libjingle_peerconnection_java",
sakalcb79d512017-01-11 06:21:26 -0800125 "//third_party/android_support_test_runner:runner_java",
126 "//third_party/junit",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200127 ]
128 }
mandermoa6069e82017-01-16 02:23:09 -0800129
Mirko Bonadeifbb3b7d2017-11-07 15:36:33 +0000130 rtc_instrumentation_test_apk("AppRTCMobileTestStubbedVideoIO") {
mandermoa6069e82017-01-16 02:23:09 -0800131 apk_name = "AppRTCMobileTestStubbedVideoIO"
132 android_manifest = "androidtests/AndroidManifest.xml"
133
oprypin30cda5e2017-04-24 04:15:13 -0700134 java_files = [ "androidtests/src/org/appspot/apprtc/test/CallActivityStubbedInputOutputTest.java" ]
mandermoa6069e82017-01-16 02:23:09 -0800135
136 apk_under_test = ":AppRTCMobile"
137
138 deps = [
139 ":AppRTCMobile_javalib",
jianjun.zhuc0247402017-07-11 06:20:45 -0700140 "../sdk/android:libjingle_peerconnection_java",
mandermoa6069e82017-01-16 02:23:09 -0800141 "//third_party/android_support_test_runner:rules_java",
142 "//third_party/android_support_test_runner:runner_java",
143 "//third_party/espresso:espresso_all_java",
144 "//third_party/hamcrest:hamcrest_java",
145 "//third_party/junit",
mandermoa6069e82017-01-16 02:23:09 -0800146 ]
147
148 data = [
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200149 "../resources/reference_video_640x360_30fps.y4m",
mandermoa6069e82017-01-16 02:23:09 -0800150 ]
151 }
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200152}
tkchin2ddfdba2016-08-07 21:37:45 -0700153
154if (is_ios || (is_mac && target_cpu != "x86")) {
tkchin2ddfdba2016-08-07 21:37:45 -0700155 config("apprtc_common_config") {
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200156 include_dirs = [ "objc/AppRTCMobile/common" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700157 }
158
kjellanderb62dbbe2016-09-23 00:38:52 -0700159 rtc_static_library("apprtc_common") {
kjellander1993b1d2017-03-06 00:29:21 -0800160 testonly = true
tkchin2ddfdba2016-08-07 21:37:45 -0700161 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200162 "objc/AppRTCMobile/common/ARDUtilities.h",
163 "objc/AppRTCMobile/common/ARDUtilities.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700164 ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700165 public_configs = [ ":apprtc_common_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700166
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200167 if (is_ios) {
kthelgason5901d9d2017-08-16 07:28:03 -0700168 deps = [
169 ":AppRTCMobile_ios_frameworks",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100170 "../sdk:common_objc",
171 "../system_wrappers:field_trial_default",
kthelgason5901d9d2017-08-16 07:28:03 -0700172 ]
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200173 } else {
kthelgason5901d9d2017-08-16 07:28:03 -0700174 deps = [
kthelgason36d658d2017-08-24 05:43:45 -0700175 "../sdk:common_objc",
kthelgason5901d9d2017-08-16 07:28:03 -0700176 "../system_wrappers:field_trial_default",
177 "../system_wrappers:metrics_default",
178 ]
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200179 }
tkchin2ddfdba2016-08-07 21:37:45 -0700180 }
181
182 config("apprtc_signaling_config") {
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200183 include_dirs = [ "objc/AppRTCMobile" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700184
185 # GN orders flags on a target before flags from configs. The default config
186 # adds these flags so to cancel them out they need to come from a config and
187 # cannot be on the target directly.
188 cflags = [
189 "-Wno-sign-compare",
190 "-Wno-unused-variable",
191 ]
tkchin2ddfdba2016-08-07 21:37:45 -0700192 }
193
kjellanderb62dbbe2016-09-23 00:38:52 -0700194 rtc_static_library("apprtc_signaling") {
kjellander1993b1d2017-03-06 00:29:21 -0800195 testonly = true
tkchin2ddfdba2016-08-07 21:37:45 -0700196 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200197 "objc/AppRTCMobile/ARDAppClient+Internal.h",
198 "objc/AppRTCMobile/ARDAppClient.h",
199 "objc/AppRTCMobile/ARDAppClient.m",
200 "objc/AppRTCMobile/ARDAppEngineClient.h",
201 "objc/AppRTCMobile/ARDAppEngineClient.m",
202 "objc/AppRTCMobile/ARDBitrateTracker.h",
203 "objc/AppRTCMobile/ARDBitrateTracker.m",
sakalc522e752017-04-05 12:17:48 -0700204 "objc/AppRTCMobile/ARDCaptureController.h",
205 "objc/AppRTCMobile/ARDCaptureController.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200206 "objc/AppRTCMobile/ARDJoinResponse+Internal.h",
207 "objc/AppRTCMobile/ARDJoinResponse.h",
208 "objc/AppRTCMobile/ARDJoinResponse.m",
209 "objc/AppRTCMobile/ARDMessageResponse+Internal.h",
210 "objc/AppRTCMobile/ARDMessageResponse.h",
211 "objc/AppRTCMobile/ARDMessageResponse.m",
212 "objc/AppRTCMobile/ARDRoomServerClient.h",
sakalc4adacf2017-03-28 01:22:48 -0700213 "objc/AppRTCMobile/ARDSettingsModel+Private.h",
214 "objc/AppRTCMobile/ARDSettingsModel.h",
215 "objc/AppRTCMobile/ARDSettingsModel.m",
216 "objc/AppRTCMobile/ARDSettingsStore.h",
217 "objc/AppRTCMobile/ARDSettingsStore.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200218 "objc/AppRTCMobile/ARDSignalingChannel.h",
219 "objc/AppRTCMobile/ARDSignalingMessage.h",
220 "objc/AppRTCMobile/ARDSignalingMessage.m",
221 "objc/AppRTCMobile/ARDStatsBuilder.h",
222 "objc/AppRTCMobile/ARDStatsBuilder.m",
kthelgasoncc882af2017-01-13 05:59:46 -0800223 "objc/AppRTCMobile/ARDTURNClient+Internal.h",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200224 "objc/AppRTCMobile/ARDTURNClient.h",
kthelgasoncc882af2017-01-13 05:59:46 -0800225 "objc/AppRTCMobile/ARDTURNClient.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200226 "objc/AppRTCMobile/ARDWebSocketChannel.h",
227 "objc/AppRTCMobile/ARDWebSocketChannel.m",
228 "objc/AppRTCMobile/RTCIceCandidate+JSON.h",
229 "objc/AppRTCMobile/RTCIceCandidate+JSON.m",
230 "objc/AppRTCMobile/RTCIceServer+JSON.h",
231 "objc/AppRTCMobile/RTCIceServer+JSON.m",
232 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h",
233 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m",
234 "objc/AppRTCMobile/RTCSessionDescription+JSON.h",
235 "objc/AppRTCMobile/RTCSessionDescription+JSON.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700236 ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700237 public_configs = [ ":apprtc_signaling_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700238 deps = [
239 ":apprtc_common",
240 ":socketrocket",
241 ]
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200242 if (is_ios) {
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100243 deps += [
244 ":AppRTCMobile_ios_frameworks",
245 "../sdk:framework_objc",
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200246 ]
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100247 } else {
248 deps += [ "../sdk:peerconnection_objc" ]
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200249 }
tkchin2ddfdba2016-08-07 21:37:45 -0700250 libs = [ "QuartzCore.framework" ]
251 }
252
253 if (is_ios) {
denicija77bfd7c2016-11-15 00:41:26 -0800254 rtc_static_library("AppRTCMobile_lib") {
kjellander1993b1d2017-03-06 00:29:21 -0800255 testonly = true
tkchin2ddfdba2016-08-07 21:37:45 -0700256 sources = [
Patrik Höglund49acb1e2018-01-02 14:41:54 +0100257 "objc/AppRTCMobile/ios/ARDAppDelegate.h",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200258 "objc/AppRTCMobile/ios/ARDAppDelegate.m",
Daniela012b56b2017-11-15 13:15:24 +0100259 "objc/AppRTCMobile/ios/ARDFileCaptureController.h",
260 "objc/AppRTCMobile/ios/ARDFileCaptureController.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200261 "objc/AppRTCMobile/ios/ARDMainView.h",
262 "objc/AppRTCMobile/ios/ARDMainView.m",
263 "objc/AppRTCMobile/ios/ARDMainViewController.h",
264 "objc/AppRTCMobile/ios/ARDMainViewController.m",
denicijad17d5362016-11-02 02:56:09 -0700265 "objc/AppRTCMobile/ios/ARDSettingsViewController.h",
266 "objc/AppRTCMobile/ios/ARDSettingsViewController.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200267 "objc/AppRTCMobile/ios/ARDStatsView.h",
268 "objc/AppRTCMobile/ios/ARDStatsView.m",
269 "objc/AppRTCMobile/ios/ARDVideoCallView.h",
270 "objc/AppRTCMobile/ios/ARDVideoCallView.m",
271 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h",
272 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m",
Anders Carlsson6bf43d22017-10-16 13:51:43 +0200273 "objc/AppRTCMobile/ios/RTCVideoCodecInfo+HumanReadable.h",
274 "objc/AppRTCMobile/ios/RTCVideoCodecInfo+HumanReadable.m",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200275 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h",
276 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m",
denicija77bfd7c2016-11-15 00:41:26 -0800277 ]
denicija77bfd7c2016-11-15 00:41:26 -0800278
279 deps = [
Kári Tristan Helgason946923a2017-06-02 14:05:56 +0200280 ":AppRTCMobile_ios_frameworks",
denicija77bfd7c2016-11-15 00:41:26 -0800281 ":apprtc_common",
282 ":apprtc_signaling",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100283 "../sdk:framework_objc",
denicija77bfd7c2016-11-15 00:41:26 -0800284 ]
285 }
286
287 ios_app_bundle("AppRTCMobile") {
kjellander1993b1d2017-03-06 00:29:21 -0800288 testonly = true
denicija77bfd7c2016-11-15 00:41:26 -0800289 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200290 "objc/AppRTCMobile/ios/main.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700291 ]
292
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200293 info_plist = "objc/AppRTCMobile/ios/Info.plist"
tkchin2ddfdba2016-08-07 21:37:45 -0700294
denicija77bfd7c2016-11-15 00:41:26 -0800295 configs += [ "..:common_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700296 public_configs = [ "..:common_inherited_config" ]
297
298 deps = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200299 ":AppRTCMobile_ios_bundle_data",
kthelgasond3adbfb2017-01-26 01:14:04 -0800300 ":AppRTCMobile_ios_frameworks",
denicija77bfd7c2016-11-15 00:41:26 -0800301 ":AppRTCMobile_lib",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100302 "../sdk:framework_objc",
tkchin2ddfdba2016-08-07 21:37:45 -0700303 ]
304
305 if (target_cpu == "x86") {
306 deps += [ "//testing/iossim:iossim" ]
307 }
308 }
309
kthelgasond3adbfb2017-01-26 01:14:04 -0800310 bundle_data("AppRTCMobile_ios_frameworks") {
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100311 deps = [
kthelgason36d658d2017-08-24 05:43:45 -0700312 "../sdk:framework_objc+link",
kthelgasond3adbfb2017-01-26 01:14:04 -0800313 ]
314 sources = [
wjywbsbef8a5d2017-10-09 02:32:28 -0400315 "$root_build_dir/WebRTC.framework",
kthelgasond3adbfb2017-01-26 01:14:04 -0800316 ]
317 outputs = [
318 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",
319 ]
320 }
321
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200322 bundle_data("AppRTCMobile_ios_bundle_data") {
tkchin2ddfdba2016-08-07 21:37:45 -0700323 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200324 "objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf",
Daniela012b56b2017-11-15 13:15:24 +0100325
326 # Sample video taken from https://media.xiph.org/video/derf/
327 "objc/AppRTCMobile/ios/resources/foreman.mp4",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200328 "objc/AppRTCMobile/ios/resources/iPhone5@2x.png",
329 "objc/AppRTCMobile/ios/resources/iPhone6@2x.png",
330 "objc/AppRTCMobile/ios/resources/iPhone6p@3x.png",
331 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp.png",
332 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp@2x.png",
333 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp.png",
334 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp@2x.png",
denicija6d6762c2016-10-28 04:53:16 -0700335 "objc/AppRTCMobile/ios/resources/ic_settings_black_24dp.png",
336 "objc/AppRTCMobile/ios/resources/ic_settings_black_24dp@2x.png",
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200337 "objc/AppRTCMobile/ios/resources/ic_surround_sound_black_24dp.png",
338 "objc/AppRTCMobile/ios/resources/ic_surround_sound_black_24dp@2x.png",
339 "objc/AppRTCMobile/ios/resources/ic_switch_video_black_24dp.png",
340 "objc/AppRTCMobile/ios/resources/ic_switch_video_black_24dp@2x.png",
341 "objc/AppRTCMobile/ios/resources/mozart.mp3",
anderscb5ed9052017-08-15 04:07:12 -0700342 "objc/Icon-120.png",
343 "objc/Icon-180.png",
tkchin2ddfdba2016-08-07 21:37:45 -0700344 "objc/Icon.png",
345 ]
346 outputs = [
347 "{{bundle_resources_dir}}/{{source_file_part}}",
348 ]
349 }
350 }
351
352 if (is_mac) {
denicija77bfd7c2016-11-15 00:41:26 -0800353 rtc_static_library("AppRTCMobile_lib") {
kjellander1993b1d2017-03-06 00:29:21 -0800354 testonly = true
tkchin2ddfdba2016-08-07 21:37:45 -0700355 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200356 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h",
357 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m",
358 "objc/AppRTCMobile/mac/APPRTCViewController.h",
359 "objc/AppRTCMobile/mac/APPRTCViewController.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700360 ]
jianjun.zhuc0247402017-07-11 06:20:45 -0700361 configs += [ "..:common_objc" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700362 deps = [
363 ":apprtc_common",
364 ":apprtc_signaling",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100365 "../sdk:metal_objc",
kthelgason36d658d2017-08-24 05:43:45 -0700366 "../sdk:ui_objc",
tkchin2ddfdba2016-08-07 21:37:45 -0700367 ]
368 }
369
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200370 mac_app_bundle("AppRTCMobile") {
kjellander1993b1d2017-03-06 00:29:21 -0800371 testonly = true
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200372 output_name = "AppRTCMobile"
tkchin2ddfdba2016-08-07 21:37:45 -0700373
tkchin2ddfdba2016-08-07 21:37:45 -0700374 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200375 "objc/AppRTCMobile/mac/main.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700376 ]
377
378 public_configs = [ "..:common_inherited_config" ]
379
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200380 info_plist = "objc/AppRTCMobile/mac/Info.plist"
tkchin2ddfdba2016-08-07 21:37:45 -0700381
382 libs = [ "AppKit.framework" ]
383
384 deps = [
denicija77bfd7c2016-11-15 00:41:26 -0800385 ":AppRTCMobile_lib",
tkchin2ddfdba2016-08-07 21:37:45 -0700386 ]
387 }
388 }
389
390 config("socketrocket_include_config") {
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200391 include_dirs = [ "objc/AppRTCMobile/third_party/SocketRocket" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700392 }
393
394 config("socketrocket_warning_config") {
395 # GN orders flags on a target before flags from configs. The default config
396 # adds these flags so to cancel them out they need to come from a config and
397 # cannot be on the target directly.
398 cflags = [
399 "-Wno-deprecated-declarations",
400 "-Wno-nonnull",
tkchin2ddfdba2016-08-07 21:37:45 -0700401 "-Wno-semicolon-before-method-body",
kthelgasone47de1a2017-02-24 01:56:01 -0800402 "-Wno-unused-variable",
tkchin2ddfdba2016-08-07 21:37:45 -0700403 ]
404
henrika27d8b612016-09-21 04:13:00 -0700405 cflags_objc = [
406 # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
407 "-Wno-objc-missing-property-synthesis",
henrika27d8b612016-09-21 04:13:00 -0700408 ]
tkchin2ddfdba2016-08-07 21:37:45 -0700409 }
410
kjellanderb62dbbe2016-09-23 00:38:52 -0700411 rtc_static_library("socketrocket") {
kjellander1993b1d2017-03-06 00:29:21 -0800412 testonly = true
tkchin2ddfdba2016-08-07 21:37:45 -0700413 sources = [
Magnus Jedvertc1815cf2016-09-27 10:10:41 +0200414 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h",
415 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m",
tkchin2ddfdba2016-08-07 21:37:45 -0700416 ]
kthelgasonc0977102017-04-24 00:57:16 -0700417 configs += [ ":socketrocket_warning_config" ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700418 public_configs = [ ":socketrocket_include_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700419
420 libs = [
421 "CFNetwork.framework",
422 "icucore",
423 ]
424 }
adam.fedorbcc5d872016-11-07 14:53:28 -0800425
426 if (rtc_include_tests) {
kthelgason4065a572017-02-14 04:58:56 -0800427 # TODO(kthelgason): compile xctests on mac when chromium supports it.
428 if (is_ios) {
429 rtc_source_set("apprtcmobile_test_sources") {
kjellander1993b1d2017-03-06 00:29:21 -0800430 testonly = true
kthelgason4065a572017-02-14 04:58:56 -0800431 include_dirs = [
432 "objc/AppRTCMobile",
433 "objc/AppRTCMobile/ios",
434 ]
435 testonly = true
436 sources = [
437 "objc/AppRTCMobile/tests/ARDAppClient_xctest.mm",
Daniela012b56b2017-11-15 13:15:24 +0100438 "objc/AppRTCMobile/tests/ARDFileCaptureController_xctest.mm",
kthelgason4065a572017-02-14 04:58:56 -0800439 "objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm",
440 ]
kjellander1993b1d2017-03-06 00:29:21 -0800441 deps = [
kthelgason4065a572017-02-14 04:58:56 -0800442 ":AppRTCMobile_ios_frameworks",
443 ":AppRTCMobile_lib",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100444 "../rtc_base:rtc_base",
445 "../sdk:framework_objc",
kthelgason4065a572017-02-14 04:58:56 -0800446 "//build/config/ios:xctest",
447 "//third_party/ocmock",
448 ]
adam.fedorbcc5d872016-11-07 14:53:28 -0800449 }
450
kthelgason4065a572017-02-14 04:58:56 -0800451 rtc_ios_xctest_test("apprtcmobile_tests") {
452 info_plist = "objc/AppRTCMobile/ios/Info.plist"
453 sources = [
454 "objc/AppRTCMobile/ios/main.m",
455 ]
456 deps = [
457 ":apprtcmobile_test_sources",
Mirko Bonadei1a339c32017-12-14 13:06:10 +0100458 "../sdk:framework_objc",
kthelgason4065a572017-02-14 04:58:56 -0800459 ]
460 ldflags = [ "-all_load" ]
461 }
adam.fedorbcc5d872016-11-07 14:53:28 -0800462 }
463 }
tkchin2ddfdba2016-08-07 21:37:45 -0700464}
kthelgason0727f152016-08-08 09:03:23 -0700465
466if (is_linux || is_win) {
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700467 config("peerconnection_client_warnings_config") {
kjellander4a9abad2016-09-18 08:12:29 -0700468 cflags = []
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700469 if (is_win && is_clang) {
kjellander4a9abad2016-09-18 08:12:29 -0700470 cflags += [
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700471 # Disable warnings failing when compiling with Clang on Windows.
472 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
473 "-Wno-format",
474
475 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271
476 # for -Wno-reorder and -Wno-sign-compare
477 "-Wno-reorder",
478 "-Wno-sign-compare",
479 ]
480 }
kjellanderd4626e52016-09-07 02:33:01 -0700481 if (is_linux && target_cpu == "x86") {
kjellander4a9abad2016-09-18 08:12:29 -0700482 cflags += [
kjellanderd4626e52016-09-07 02:33:01 -0700483 # Needed to compile on Linux 32-bit.
484 "-Wno-sentinel",
485 ]
486 }
kjellander4a9abad2016-09-18 08:12:29 -0700487
488 if (is_clang) {
489 # TODO(ehmaldonado): Make peerconnection_client compile with the standard
490 # set of warnings.
491 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6306
492 cflags += [ "-Wno-inconsistent-missing-override" ]
493 }
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700494 }
495
ehmaldonado38a21322016-09-02 04:10:34 -0700496 rtc_executable("peerconnection_client") {
kjellander1993b1d2017-03-06 00:29:21 -0800497 testonly = true
kthelgason0727f152016-08-08 09:03:23 -0700498 sources = [
499 "peerconnection/client/conductor.cc",
500 "peerconnection/client/conductor.h",
501 "peerconnection/client/defaults.cc",
502 "peerconnection/client/defaults.h",
503 "peerconnection/client/peer_connection_client.cc",
504 "peerconnection/client/peer_connection_client.h",
505 ]
ehmaldonado7a2ce0b2016-09-05 01:35:44 -0700506
kjellandere40a7ee2016-10-16 23:56:12 -0700507 if (!build_with_chromium && is_clang) {
508 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700509 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700510 }
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100511 deps = [
512 "../api:video_frame_api_i420",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100513 "../rtc_base:checks",
Patrik Höglund3e113432017-12-15 14:40:10 +0100514 "../rtc_base:stringutils",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100515 ]
kthelgason0727f152016-08-08 09:03:23 -0700516 if (is_win) {
517 sources += [
518 "peerconnection/client/flagdefs.h",
519 "peerconnection/client/main.cc",
520 "peerconnection/client/main_wnd.cc",
521 "peerconnection/client/main_wnd.h",
522 ]
523 cflags = [ "/wd4245" ]
524 configs += [ "//build/config/win:windowed" ]
jianjun.zhuc0247402017-07-11 06:20:45 -0700525 deps += [ "../media:rtc_media_base" ]
kthelgason0727f152016-08-08 09:03:23 -0700526 }
527 if (is_linux) {
528 sources += [
529 "peerconnection/client/linux/main.cc",
530 "peerconnection/client/linux/main_wnd.cc",
531 "peerconnection/client/linux/main_wnd.h",
532 ]
Henrik Kjellanderefbde2c2017-03-27 08:28:27 +0200533 cflags = [ "-Wno-deprecated-declarations" ]
kthelgason0727f152016-08-08 09:03:23 -0700534 libs = [
535 "X11",
536 "Xcomposite",
537 "Xext",
538 "Xrender",
539 ]
thomasandersonef16e992016-12-13 02:57:43 -0800540 deps += [ "//build/config/linux/gtk" ]
kthelgason0727f152016-08-08 09:03:23 -0700541 }
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700542 configs += [ ":peerconnection_client_warnings_config" ]
kjellander1993b1d2017-03-06 00:29:21 -0800543
544 deps += [
jianjun.zhuc0247402017-07-11 06:20:45 -0700545 "../api:libjingle_peerconnection_test_api",
546 "../api:video_frame_api",
Karl Wiberg1b0eae32017-10-17 14:48:54 +0200547 "../api/audio_codecs:builtin_audio_decoder_factory",
548 "../api/audio_codecs:builtin_audio_encoder_factory",
jianjun.zhuc0247402017-07-11 06:20:45 -0700549 "../media:rtc_media",
550 "../modules/video_capture:video_capture_module",
551 "../pc:libjingle_peerconnection",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700552 "../rtc_base:rtc_base",
553 "../rtc_base:rtc_base_approved",
554 "../rtc_base:rtc_json",
jianjun.zhuc0247402017-07-11 06:20:45 -0700555 "../system_wrappers:field_trial_default",
556 "../system_wrappers:metrics_default",
kjellander1993b1d2017-03-06 00:29:21 -0800557 "//third_party/libyuv",
kjellander1993b1d2017-03-06 00:29:21 -0800558 ]
kthelgason0727f152016-08-08 09:03:23 -0700559 }
kjellanderd4626e52016-09-07 02:33:01 -0700560
ehmaldonado38a21322016-09-02 04:10:34 -0700561 rtc_executable("peerconnection_server") {
kjellander1993b1d2017-03-06 00:29:21 -0800562 testonly = true
kthelgason0727f152016-08-08 09:03:23 -0700563 sources = [
564 "peerconnection/server/data_socket.cc",
565 "peerconnection/server/data_socket.h",
566 "peerconnection/server/main.cc",
567 "peerconnection/server/peer_channel.cc",
568 "peerconnection/server/peer_channel.h",
569 "peerconnection/server/utils.cc",
570 "peerconnection/server/utils.h",
571 ]
572 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700573 "..:webrtc_common",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700574 "../rtc_base:rtc_base_approved",
Patrik Höglund3e113432017-12-15 14:40:10 +0100575 "../rtc_base:stringutils",
jianjun.zhuc0247402017-07-11 06:20:45 -0700576 "../rtc_tools:command_line_parser",
kthelgason0727f152016-08-08 09:03:23 -0700577 ]
kjellandere40a7ee2016-10-16 23:56:12 -0700578 if (!build_with_chromium && is_clang) {
579 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700580 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700581 }
582 }
ehmaldonado38a21322016-09-02 04:10:34 -0700583 rtc_executable("relayserver") {
kjellander1993b1d2017-03-06 00:29:21 -0800584 testonly = true
kthelgason0727f152016-08-08 09:03:23 -0700585 sources = [
586 "relayserver/relayserver_main.cc",
587 ]
588 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700589 "../p2p:rtc_p2p",
590 "../pc:rtc_pc",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700591 "../rtc_base:rtc_base",
592 "../rtc_base:rtc_base_approved",
jianjun.zhuc0247402017-07-11 06:20:45 -0700593 "../system_wrappers:field_trial_default",
594 "../system_wrappers:metrics_default",
kthelgason0727f152016-08-08 09:03:23 -0700595 ]
kjellandere40a7ee2016-10-16 23:56:12 -0700596 if (!build_with_chromium && is_clang) {
597 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700598 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700599 }
600 }
ehmaldonado38a21322016-09-02 04:10:34 -0700601 rtc_executable("turnserver") {
kjellander1993b1d2017-03-06 00:29:21 -0800602 testonly = true
kthelgason0727f152016-08-08 09:03:23 -0700603 sources = [
604 "turnserver/turnserver_main.cc",
605 ]
606 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700607 "../p2p:rtc_p2p",
608 "../pc:rtc_pc",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700609 "../rtc_base:rtc_base",
610 "../rtc_base:rtc_base_approved",
jianjun.zhuc0247402017-07-11 06:20:45 -0700611 "../system_wrappers:field_trial_default",
612 "../system_wrappers:metrics_default",
kthelgason0727f152016-08-08 09:03:23 -0700613 ]
kjellandere40a7ee2016-10-16 23:56:12 -0700614 if (!build_with_chromium && is_clang) {
615 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700616 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700617 }
618 }
ehmaldonado38a21322016-09-02 04:10:34 -0700619 rtc_executable("stunserver") {
kjellander1993b1d2017-03-06 00:29:21 -0800620 testonly = true
kthelgason0727f152016-08-08 09:03:23 -0700621 sources = [
622 "stunserver/stunserver_main.cc",
623 ]
624 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700625 "../p2p:rtc_p2p",
626 "../pc:rtc_pc",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700627 "../rtc_base:rtc_base",
628 "../rtc_base:rtc_base_approved",
jianjun.zhuc0247402017-07-11 06:20:45 -0700629 "../system_wrappers:field_trial_default",
630 "../system_wrappers:metrics_default",
kthelgason0727f152016-08-08 09:03:23 -0700631 ]
kjellandere40a7ee2016-10-16 23:56:12 -0700632 if (!build_with_chromium && is_clang) {
633 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700634 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700635 }
636 }
637}
charujainaca3a242016-11-01 03:09:15 -0700638
qiangchen42f96d52017-08-08 17:08:03 -0700639if (is_win || is_android) {
gyzhouad7cad82017-05-11 16:10:03 -0700640 rtc_shared_library("webrtc_unity_plugin") {
641 testonly = true
642 sources = [
643 "unityplugin/simple_peer_connection.cc",
644 "unityplugin/simple_peer_connection.h",
645 "unityplugin/unity_plugin_apis.cc",
646 "unityplugin/unity_plugin_apis.h",
gyzhoub38f3862017-07-25 16:04:31 -0700647 "unityplugin/video_observer.cc",
648 "unityplugin/video_observer.h",
gyzhouad7cad82017-05-11 16:10:03 -0700649 ]
qiangchen42f96d52017-08-08 17:08:03 -0700650
651 if (is_android) {
652 sources += [
653 "unityplugin/classreferenceholder.cc",
654 "unityplugin/classreferenceholder.h",
655 "unityplugin/jni_onload.cc",
656 ]
Qiang Chen43fb9122017-12-20 10:47:36 -0800657 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ]
qiangchen42f96d52017-08-08 17:08:03 -0700658 }
659
gyzhouad7cad82017-05-11 16:10:03 -0700660 if (!build_with_chromium && is_clang) {
661 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
662 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
663 }
qiangchen42f96d52017-08-08 17:08:03 -0700664 if (is_win) {
665 cflags = [ "/wd4245" ]
666 configs += [
667 "//build/config/win:windowed",
668 ":peerconnection_client_warnings_config",
669 ]
670 }
gyzhouad7cad82017-05-11 16:10:03 -0700671 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700672 "../api:libjingle_peerconnection_test_api",
673 "../api:video_frame_api",
Qiang Chen51e20462017-12-05 11:11:21 -0800674 "../api/audio_codecs:builtin_audio_decoder_factory",
675 "../api/audio_codecs:builtin_audio_encoder_factory",
Patrik Höglundbe214a22018-01-04 12:14:35 +0100676 "../common_video",
jianjun.zhuc0247402017-07-11 06:20:45 -0700677 "../media:rtc_media",
678 "../media:rtc_media_base",
Qiang Chen43fb9122017-12-20 10:47:36 -0800679 "../modules/audio_device:audio_device",
680 "../modules/audio_processing:audio_processing",
jianjun.zhuc0247402017-07-11 06:20:45 -0700681 "../modules/video_capture:video_capture_module",
682 "../pc:libjingle_peerconnection",
qiangchen42f96d52017-08-08 17:08:03 -0700683 "../rtc_base:rtc_base",
jianjun.zhuc0247402017-07-11 06:20:45 -0700684 "../system_wrappers:field_trial_default",
685 "../system_wrappers:metrics_default",
gyzhouad7cad82017-05-11 16:10:03 -0700686 ]
qiangchen42f96d52017-08-08 17:08:03 -0700687 if (is_android) {
688 deps += [ "../sdk/android:libjingle_peerconnection_jni" ]
689 }
690 }
691}
692
693if (is_android) {
Mirko Bonadeifbb3b7d2017-11-07 15:36:33 +0000694 rtc_android_library("webrtc_unity_java") {
qiangchen42f96d52017-08-08 17:08:03 -0700695 java_files = [ "unityplugin/java/src/org/webrtc/UnityUtility.java" ]
696 deps = [
697 "../rtc_base:base_java",
698 "../sdk/android:libjingle_peerconnection_java",
699 ]
700 }
701
702 dist_jar("libwebrtc_unity") {
703 _target_dir_name = get_label_info(":$target_name", "dir")
704 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar"
705 direct_deps_only = true
706 use_interface_jars = false
Oleh Prypin1e53f8a2017-12-21 22:06:21 +0100707 use_unprocessed_jars = true
Oleh Prypin86021d92017-09-24 22:29:06 +0200708 requires_android = true
qiangchen42f96d52017-08-08 17:08:03 -0700709 deps = [
710 ":webrtc_unity_java",
711 "../modules/audio_device:audio_device_java",
712 "../rtc_base:base_java",
713 "../sdk/android:libjingle_peerconnection_java",
714 "../sdk/android:libjingle_peerconnection_metrics_default_java",
715 ]
gyzhouad7cad82017-05-11 16:10:03 -0700716 }
717}
718
charujainaca3a242016-11-01 03:09:15 -0700719if (!build_with_chromium) {
720 # Doesn't build within Chrome on Win.
721 rtc_executable("stun_prober") {
kjellander1993b1d2017-03-06 00:29:21 -0800722 testonly = true
charujainaca3a242016-11-01 03:09:15 -0700723 sources = [
724 "stunprober/main.cc",
725 ]
726
727 if (!build_with_chromium && is_clang) {
728 # Suppress warnings from Chrome's Clang plugins.
729 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
730 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
731 }
732
733 deps = [
734 "../p2p:libstunprober",
735 "../p2p:rtc_p2p",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100736 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700737 "../rtc_base:rtc_base",
738 "../rtc_base:rtc_base_approved",
Patrik Höglund3e113432017-12-15 14:40:10 +0100739 "../rtc_base:stringutils",
charujainaca3a242016-11-01 03:09:15 -0700740 "../system_wrappers:field_trial_default",
741 ]
742 }
743}