Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 1 | # 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 | |
mbonadei | 9aa3f0a | 2017-01-24 06:58:22 -0800 | [diff] [blame] | 9 | import("../webrtc.gni") |
Qiang Chen | 43fb912 | 2017-12-20 10:47:36 -0800 | [diff] [blame] | 10 | |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 11 | if (is_android) { |
| 12 | import("//build/config/android/config.gni") |
| 13 | import("//build/config/android/rules.gni") |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 14 | } else if (is_mac) { |
| 15 | import("//build/config/mac/rules.gni") |
| 16 | } else if (is_ios) { |
| 17 | import("//build/config/ios/rules.gni") |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | group("examples") { |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 21 | # This target shall build all targets in examples. |
| 22 | testonly = true |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 23 | deps = [] |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 24 | |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 25 | if (is_android) { |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 26 | deps += [ |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 27 | ":AppRTCMobile", |
| 28 | ":AppRTCMobileTest", |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 29 | ":AppRTCMobileTestStubbedVideoIO", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 30 | ] |
| 31 | } |
| 32 | |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 33 | if (!build_with_chromium) { |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 34 | deps += [ ":stun_prober" ] |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 35 | } |
| 36 | |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 37 | if (is_ios || (is_mac && target_cpu != "x86")) { |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 38 | deps += [ ":AppRTCMobile" ] |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 39 | } |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 40 | |
| 41 | if (is_linux || is_win) { |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 42 | deps += [ |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 43 | ":peerconnection_client", |
| 44 | ":peerconnection_server", |
| 45 | ":relayserver", |
| 46 | ":stunserver", |
| 47 | ":turnserver", |
| 48 | ] |
| 49 | } |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 50 | } |
| 51 | |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 52 | if (is_android) { |
Mirko Bonadei | fbb3b7d | 2017-11-07 15:36:33 +0000 | [diff] [blame] | 53 | rtc_android_apk("AppRTCMobile") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 54 | testonly = true |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 55 | apk_name = "AppRTCMobile" |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 56 | android_manifest = "androidapp/AndroidManifest.xml" |
| 57 | |
| 58 | deps = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 59 | ":AppRTCMobile_javalib", |
| 60 | ":AppRTCMobile_resources", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 61 | "../rtc_base:base_java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 62 | "//base:base_java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 63 | ] |
| 64 | |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 65 | shared_libraries = [ "../sdk/android:libjingle_peerconnection_so" ] |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 66 | } |
| 67 | |
Mirko Bonadei | fbb3b7d | 2017-11-07 15:36:33 +0000 | [diff] [blame] | 68 | rtc_android_library("AppRTCMobile_javalib") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 69 | testonly = true |
Mirko Bonadei | 4f024ef | 2018-01-04 13:12:03 +0100 | [diff] [blame] | 70 | android_manifest_for_lint = "androidapp/AndroidManifest.xml" |
sakal | 07a050f | 2017-02-13 05:58:27 -0800 | [diff] [blame] | 71 | |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 72 | java_files = [ |
| 73 | "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java", |
henrika | c3c2f31 | 2016-12-14 07:36:56 -0800 | [diff] [blame] | 74 | "androidapp/src/org/appspot/apprtc/AppRTCBluetoothManager.java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 75 | "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 Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 85 | "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java", |
Qingsi Wang | a4e72b7 | 2018-02-12 10:34:18 -0800 | [diff] [blame] | 86 | "androidapp/src/org/appspot/apprtc/RtcEventLog.java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 87 | "androidapp/src/org/appspot/apprtc/SettingsActivity.java", |
| 88 | "androidapp/src/org/appspot/apprtc/SettingsFragment.java", |
| 89 | "androidapp/src/org/appspot/apprtc/TCPChannelClient.java", |
| 90 | "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java", |
| 91 | "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java", |
| 92 | "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java", |
| 93 | "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java", |
| 94 | "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 95 | ] |
| 96 | |
| 97 | deps = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 98 | ":AppRTCMobile_resources", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 99 | "../modules/audio_device:audio_device_java", |
| 100 | "../rtc_base:base_java", |
| 101 | "../sdk/android:libjingle_peerconnection_java", |
| 102 | "../sdk/android:libjingle_peerconnection_metrics_default_java", |
| 103 | "androidapp/third_party/autobanh:autobanh_java", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 104 | ] |
| 105 | } |
| 106 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 107 | android_resources("AppRTCMobile_resources") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 108 | testonly = true |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 109 | resource_dirs = [ "androidapp/res" ] |
| 110 | custom_package = "org.appspot.apprtc" |
| 111 | } |
| 112 | |
Mirko Bonadei | fbb3b7d | 2017-11-07 15:36:33 +0000 | [diff] [blame] | 113 | rtc_instrumentation_test_apk("AppRTCMobileTest") { |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 114 | apk_name = "AppRTCMobileTest" |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 115 | android_manifest = "androidtests/AndroidManifest.xml" |
| 116 | |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 117 | java_files = [ |
| 118 | "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java", |
| 119 | ] |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 120 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 121 | apk_under_test = ":AppRTCMobile" |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 122 | |
| 123 | deps = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 124 | ":AppRTCMobile_javalib", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 125 | "../sdk/android:libjingle_peerconnection_java", |
sakal | cb79d51 | 2017-01-11 06:21:26 -0800 | [diff] [blame] | 126 | "//third_party/android_support_test_runner:runner_java", |
| 127 | "//third_party/junit", |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 128 | ] |
| 129 | } |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 130 | |
Mirko Bonadei | fbb3b7d | 2017-11-07 15:36:33 +0000 | [diff] [blame] | 131 | rtc_instrumentation_test_apk("AppRTCMobileTestStubbedVideoIO") { |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 132 | apk_name = "AppRTCMobileTestStubbedVideoIO" |
| 133 | android_manifest = "androidtests/AndroidManifest.xml" |
| 134 | |
oprypin | 30cda5e | 2017-04-24 04:15:13 -0700 | [diff] [blame] | 135 | java_files = [ "androidtests/src/org/appspot/apprtc/test/CallActivityStubbedInputOutputTest.java" ] |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 136 | |
| 137 | apk_under_test = ":AppRTCMobile" |
| 138 | |
| 139 | deps = [ |
| 140 | ":AppRTCMobile_javalib", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 141 | "../sdk/android:libjingle_peerconnection_java", |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 142 | "//third_party/android_support_test_runner:rules_java", |
| 143 | "//third_party/android_support_test_runner:runner_java", |
| 144 | "//third_party/espresso:espresso_all_java", |
| 145 | "//third_party/hamcrest:hamcrest_java", |
| 146 | "//third_party/junit", |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 147 | ] |
| 148 | |
| 149 | data = [ |
Edward Lemur | 70ba9b4 | 2018-01-22 13:46:58 +0100 | [diff] [blame] | 150 | "../build/android/adb_reverse_forwarder.py", |
| 151 | "../examples/androidtests/video_quality_loopback_test.py", |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 152 | "../resources/reference_video_640x360_30fps.y4m", |
Edward Lemur | 70ba9b4 | 2018-01-22 13:46:58 +0100 | [diff] [blame] | 153 | "../rtc_tools/barcode_tools/barcode_decoder.py", |
| 154 | "../rtc_tools/barcode_tools/helper_functions.py", |
| 155 | "../rtc_tools/compare_videos.py", |
| 156 | "../rtc_tools/testing/prebuilt_apprtc.zip", |
| 157 | "../rtc_tools/testing/golang/linux/go.tar.gz", |
| 158 | "../rtc_tools/testing/build_apprtc.py", |
| 159 | "../rtc_tools/testing/utils.py", |
| 160 | "../tools_webrtc/video_quality_toolchain/linux/ffmpeg", |
| 161 | "../tools_webrtc/video_quality_toolchain/linux/frame_analyzer", |
| 162 | "../tools_webrtc/video_quality_toolchain/linux/zxing", |
mandermo | a6069e8 | 2017-01-16 02:23:09 -0800 | [diff] [blame] | 163 | ] |
| 164 | } |
Sami Kalliomaki | 9c0c75b | 2016-06-29 14:55:00 +0200 | [diff] [blame] | 165 | } |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 166 | |
| 167 | if (is_ios || (is_mac && target_cpu != "x86")) { |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 168 | config("apprtc_common_config") { |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 169 | include_dirs = [ "objc/AppRTCMobile/common" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 170 | } |
| 171 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 172 | rtc_static_library("apprtc_common") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 173 | testonly = true |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 174 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 175 | "objc/AppRTCMobile/common/ARDUtilities.h", |
| 176 | "objc/AppRTCMobile/common/ARDUtilities.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 177 | ] |
ehmaldonado | e9cc686 | 2016-09-05 06:10:18 -0700 | [diff] [blame] | 178 | public_configs = [ ":apprtc_common_config" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 179 | |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 180 | if (is_ios) { |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 181 | # iOS must use WebRTC.framework which is dynamically linked. |
| 182 | # 'gn check' is disabled in order to avoid confusion and |
| 183 | # errors caused by multiple implementations. |
| 184 | check_includes = false |
kthelgason | 5901d9d | 2017-08-16 07:28:03 -0700 | [diff] [blame] | 185 | deps = [ |
Kári Tristan Helgason | 99bf77c | 2018-02-16 10:49:22 +0100 | [diff] [blame] | 186 | "../sdk:framework_objc", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 187 | "../system_wrappers:field_trial_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 188 | "../system_wrappers:runtime_enabled_features_default", |
kthelgason | 5901d9d | 2017-08-16 07:28:03 -0700 | [diff] [blame] | 189 | ] |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 190 | } else { |
kthelgason | 5901d9d | 2017-08-16 07:28:03 -0700 | [diff] [blame] | 191 | deps = [ |
kthelgason | 36d658d | 2017-08-24 05:43:45 -0700 | [diff] [blame] | 192 | "../sdk:common_objc", |
kthelgason | 5901d9d | 2017-08-16 07:28:03 -0700 | [diff] [blame] | 193 | "../system_wrappers:field_trial_default", |
| 194 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 195 | "../system_wrappers:runtime_enabled_features_default", |
kthelgason | 5901d9d | 2017-08-16 07:28:03 -0700 | [diff] [blame] | 196 | ] |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 197 | } |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 198 | } |
| 199 | |
| 200 | config("apprtc_signaling_config") { |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 201 | include_dirs = [ "objc/AppRTCMobile" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 202 | |
| 203 | # GN orders flags on a target before flags from configs. The default config |
| 204 | # adds these flags so to cancel them out they need to come from a config and |
| 205 | # cannot be on the target directly. |
| 206 | cflags = [ |
| 207 | "-Wno-sign-compare", |
| 208 | "-Wno-unused-variable", |
| 209 | ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 210 | } |
| 211 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 212 | rtc_static_library("apprtc_signaling") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 213 | testonly = true |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 214 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 215 | "objc/AppRTCMobile/ARDAppClient+Internal.h", |
| 216 | "objc/AppRTCMobile/ARDAppClient.h", |
| 217 | "objc/AppRTCMobile/ARDAppClient.m", |
| 218 | "objc/AppRTCMobile/ARDAppEngineClient.h", |
| 219 | "objc/AppRTCMobile/ARDAppEngineClient.m", |
| 220 | "objc/AppRTCMobile/ARDBitrateTracker.h", |
| 221 | "objc/AppRTCMobile/ARDBitrateTracker.m", |
sakal | c522e75 | 2017-04-05 12:17:48 -0700 | [diff] [blame] | 222 | "objc/AppRTCMobile/ARDCaptureController.h", |
| 223 | "objc/AppRTCMobile/ARDCaptureController.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 224 | "objc/AppRTCMobile/ARDJoinResponse+Internal.h", |
| 225 | "objc/AppRTCMobile/ARDJoinResponse.h", |
| 226 | "objc/AppRTCMobile/ARDJoinResponse.m", |
| 227 | "objc/AppRTCMobile/ARDMessageResponse+Internal.h", |
| 228 | "objc/AppRTCMobile/ARDMessageResponse.h", |
| 229 | "objc/AppRTCMobile/ARDMessageResponse.m", |
| 230 | "objc/AppRTCMobile/ARDRoomServerClient.h", |
sakal | c4adacf | 2017-03-28 01:22:48 -0700 | [diff] [blame] | 231 | "objc/AppRTCMobile/ARDSettingsModel+Private.h", |
| 232 | "objc/AppRTCMobile/ARDSettingsModel.h", |
| 233 | "objc/AppRTCMobile/ARDSettingsModel.m", |
| 234 | "objc/AppRTCMobile/ARDSettingsStore.h", |
| 235 | "objc/AppRTCMobile/ARDSettingsStore.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 236 | "objc/AppRTCMobile/ARDSignalingChannel.h", |
| 237 | "objc/AppRTCMobile/ARDSignalingMessage.h", |
| 238 | "objc/AppRTCMobile/ARDSignalingMessage.m", |
| 239 | "objc/AppRTCMobile/ARDStatsBuilder.h", |
| 240 | "objc/AppRTCMobile/ARDStatsBuilder.m", |
kthelgason | cc882af | 2017-01-13 05:59:46 -0800 | [diff] [blame] | 241 | "objc/AppRTCMobile/ARDTURNClient+Internal.h", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 242 | "objc/AppRTCMobile/ARDTURNClient.h", |
kthelgason | cc882af | 2017-01-13 05:59:46 -0800 | [diff] [blame] | 243 | "objc/AppRTCMobile/ARDTURNClient.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 244 | "objc/AppRTCMobile/ARDWebSocketChannel.h", |
| 245 | "objc/AppRTCMobile/ARDWebSocketChannel.m", |
| 246 | "objc/AppRTCMobile/RTCIceCandidate+JSON.h", |
| 247 | "objc/AppRTCMobile/RTCIceCandidate+JSON.m", |
| 248 | "objc/AppRTCMobile/RTCIceServer+JSON.h", |
| 249 | "objc/AppRTCMobile/RTCIceServer+JSON.m", |
| 250 | "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", |
| 251 | "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", |
| 252 | "objc/AppRTCMobile/RTCSessionDescription+JSON.h", |
| 253 | "objc/AppRTCMobile/RTCSessionDescription+JSON.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 254 | ] |
ehmaldonado | e9cc686 | 2016-09-05 06:10:18 -0700 | [diff] [blame] | 255 | public_configs = [ ":apprtc_signaling_config" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 256 | deps = [ |
| 257 | ":apprtc_common", |
| 258 | ":socketrocket", |
| 259 | ] |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 260 | if (is_ios) { |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 261 | # iOS must use WebRTC.framework which is dynamically linked. |
| 262 | # 'gn check' is disabled in order to avoid confusion and |
| 263 | # errors caused by multiple implementations. |
| 264 | check_includes = false |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 265 | deps += [ |
| 266 | ":AppRTCMobile_ios_frameworks", |
| 267 | "../sdk:framework_objc", |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 268 | ] |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 269 | } else { |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 270 | deps += [ |
| 271 | "../sdk:common_objc", |
| 272 | "../sdk:mediaconstraints_objc", |
| 273 | "../sdk:peerconnectionfactory_base_objc", |
| 274 | "../sdk:videocapture_objc", |
| 275 | "../sdk:videocodec_objc", |
| 276 | ] |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 277 | } |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 278 | libs = [ "QuartzCore.framework" ] |
| 279 | } |
| 280 | |
| 281 | if (is_ios) { |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 282 | rtc_static_library("AppRTCMobile_lib") { |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 283 | # iOS must use WebRTC.framework which is dynamically linked. |
| 284 | # 'gn check' is disabled in order to avoid confusion and |
| 285 | # errors caused by multiple implementations. |
| 286 | check_includes = false |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 287 | testonly = true |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 288 | sources = [ |
Patrik Höglund | 49acb1e | 2018-01-02 14:41:54 +0100 | [diff] [blame] | 289 | "objc/AppRTCMobile/ios/ARDAppDelegate.h", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 290 | "objc/AppRTCMobile/ios/ARDAppDelegate.m", |
Daniela | 012b56b | 2017-11-15 13:15:24 +0100 | [diff] [blame] | 291 | "objc/AppRTCMobile/ios/ARDFileCaptureController.h", |
| 292 | "objc/AppRTCMobile/ios/ARDFileCaptureController.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 293 | "objc/AppRTCMobile/ios/ARDMainView.h", |
| 294 | "objc/AppRTCMobile/ios/ARDMainView.m", |
| 295 | "objc/AppRTCMobile/ios/ARDMainViewController.h", |
| 296 | "objc/AppRTCMobile/ios/ARDMainViewController.m", |
denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 297 | "objc/AppRTCMobile/ios/ARDSettingsViewController.h", |
| 298 | "objc/AppRTCMobile/ios/ARDSettingsViewController.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 299 | "objc/AppRTCMobile/ios/ARDStatsView.h", |
| 300 | "objc/AppRTCMobile/ios/ARDStatsView.m", |
| 301 | "objc/AppRTCMobile/ios/ARDVideoCallView.h", |
| 302 | "objc/AppRTCMobile/ios/ARDVideoCallView.m", |
| 303 | "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", |
| 304 | "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", |
Anders Carlsson | 6bf43d2 | 2017-10-16 13:51:43 +0200 | [diff] [blame] | 305 | "objc/AppRTCMobile/ios/RTCVideoCodecInfo+HumanReadable.h", |
| 306 | "objc/AppRTCMobile/ios/RTCVideoCodecInfo+HumanReadable.m", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 307 | "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", |
| 308 | "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 309 | ] |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 310 | |
| 311 | deps = [ |
Kári Tristan Helgason | 946923a | 2017-06-02 14:05:56 +0200 | [diff] [blame] | 312 | ":AppRTCMobile_ios_frameworks", |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 313 | ":apprtc_common", |
| 314 | ":apprtc_signaling", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 315 | "../sdk:framework_objc", |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 316 | ] |
| 317 | } |
| 318 | |
| 319 | ios_app_bundle("AppRTCMobile") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 320 | testonly = true |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 321 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 322 | "objc/AppRTCMobile/ios/main.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 323 | ] |
| 324 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 325 | info_plist = "objc/AppRTCMobile/ios/Info.plist" |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 326 | |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 327 | configs += [ "..:common_config" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 328 | public_configs = [ "..:common_inherited_config" ] |
| 329 | |
| 330 | deps = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 331 | ":AppRTCMobile_ios_bundle_data", |
kthelgason | d3adbfb | 2017-01-26 01:14:04 -0800 | [diff] [blame] | 332 | ":AppRTCMobile_ios_frameworks", |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 333 | ":AppRTCMobile_lib", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 334 | "../sdk:framework_objc", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 335 | ] |
| 336 | |
| 337 | if (target_cpu == "x86") { |
| 338 | deps += [ "//testing/iossim:iossim" ] |
| 339 | } |
| 340 | } |
| 341 | |
kthelgason | d3adbfb | 2017-01-26 01:14:04 -0800 | [diff] [blame] | 342 | bundle_data("AppRTCMobile_ios_frameworks") { |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 343 | deps = [ |
kthelgason | 36d658d | 2017-08-24 05:43:45 -0700 | [diff] [blame] | 344 | "../sdk:framework_objc+link", |
kthelgason | d3adbfb | 2017-01-26 01:14:04 -0800 | [diff] [blame] | 345 | ] |
| 346 | sources = [ |
wjywbs | bef8a5d | 2017-10-09 02:32:28 -0400 | [diff] [blame] | 347 | "$root_build_dir/WebRTC.framework", |
kthelgason | d3adbfb | 2017-01-26 01:14:04 -0800 | [diff] [blame] | 348 | ] |
| 349 | outputs = [ |
| 350 | "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", |
| 351 | ] |
| 352 | } |
| 353 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 354 | bundle_data("AppRTCMobile_ios_bundle_data") { |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 355 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 356 | "objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf", |
Daniela | 012b56b | 2017-11-15 13:15:24 +0100 | [diff] [blame] | 357 | |
| 358 | # Sample video taken from https://media.xiph.org/video/derf/ |
| 359 | "objc/AppRTCMobile/ios/resources/foreman.mp4", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 360 | "objc/AppRTCMobile/ios/resources/iPhone5@2x.png", |
| 361 | "objc/AppRTCMobile/ios/resources/iPhone6@2x.png", |
| 362 | "objc/AppRTCMobile/ios/resources/iPhone6p@3x.png", |
| 363 | "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp.png", |
| 364 | "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp@2x.png", |
| 365 | "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp.png", |
| 366 | "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp@2x.png", |
denicija | 6d6762c | 2016-10-28 04:53:16 -0700 | [diff] [blame] | 367 | "objc/AppRTCMobile/ios/resources/ic_settings_black_24dp.png", |
| 368 | "objc/AppRTCMobile/ios/resources/ic_settings_black_24dp@2x.png", |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 369 | "objc/AppRTCMobile/ios/resources/ic_surround_sound_black_24dp.png", |
| 370 | "objc/AppRTCMobile/ios/resources/ic_surround_sound_black_24dp@2x.png", |
| 371 | "objc/AppRTCMobile/ios/resources/ic_switch_video_black_24dp.png", |
| 372 | "objc/AppRTCMobile/ios/resources/ic_switch_video_black_24dp@2x.png", |
| 373 | "objc/AppRTCMobile/ios/resources/mozart.mp3", |
andersc | b5ed905 | 2017-08-15 04:07:12 -0700 | [diff] [blame] | 374 | "objc/Icon-120.png", |
| 375 | "objc/Icon-180.png", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 376 | "objc/Icon.png", |
| 377 | ] |
| 378 | outputs = [ |
| 379 | "{{bundle_resources_dir}}/{{source_file_part}}", |
| 380 | ] |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | if (is_mac) { |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 385 | rtc_static_library("AppRTCMobile_lib") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 386 | testonly = true |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 387 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 388 | "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", |
| 389 | "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", |
| 390 | "objc/AppRTCMobile/mac/APPRTCViewController.h", |
| 391 | "objc/AppRTCMobile/mac/APPRTCViewController.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 392 | ] |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 393 | configs += [ "..:common_objc" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 394 | deps = [ |
| 395 | ":apprtc_common", |
| 396 | ":apprtc_signaling", |
Kári Tristan Helgason | 99bf77c | 2018-02-16 10:49:22 +0100 | [diff] [blame] | 397 | "../sdk:default_codec_factory_objc", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 398 | "../sdk:metal_objc", |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 399 | "../sdk:peerconnectionfactory_base_objc", |
kthelgason | 36d658d | 2017-08-24 05:43:45 -0700 | [diff] [blame] | 400 | "../sdk:ui_objc", |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 401 | "../sdk:videocapture_objc", |
| 402 | "../sdk:videocodec_objc", |
Kári Tristan Helgason | 99bf77c | 2018-02-16 10:49:22 +0100 | [diff] [blame] | 403 | "../sdk:videocodec_objc", |
| 404 | "../sdk:videotoolbox_objc", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 405 | ] |
| 406 | } |
| 407 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 408 | mac_app_bundle("AppRTCMobile") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 409 | testonly = true |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 410 | output_name = "AppRTCMobile" |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 411 | |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 412 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 413 | "objc/AppRTCMobile/mac/main.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 414 | ] |
| 415 | |
| 416 | public_configs = [ "..:common_inherited_config" ] |
| 417 | |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 418 | info_plist = "objc/AppRTCMobile/mac/Info.plist" |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 419 | |
| 420 | libs = [ "AppKit.framework" ] |
| 421 | |
| 422 | deps = [ |
denicija | 77bfd7c | 2016-11-15 00:41:26 -0800 | [diff] [blame] | 423 | ":AppRTCMobile_lib", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 424 | ] |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | config("socketrocket_include_config") { |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 429 | include_dirs = [ "objc/AppRTCMobile/third_party/SocketRocket" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 430 | } |
| 431 | |
| 432 | config("socketrocket_warning_config") { |
| 433 | # GN orders flags on a target before flags from configs. The default config |
| 434 | # adds these flags so to cancel them out they need to come from a config and |
| 435 | # cannot be on the target directly. |
| 436 | cflags = [ |
| 437 | "-Wno-deprecated-declarations", |
| 438 | "-Wno-nonnull", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 439 | "-Wno-semicolon-before-method-body", |
kthelgason | e47de1a | 2017-02-24 01:56:01 -0800 | [diff] [blame] | 440 | "-Wno-unused-variable", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 441 | ] |
| 442 | |
henrika | 27d8b61 | 2016-09-21 04:13:00 -0700 | [diff] [blame] | 443 | cflags_objc = [ |
| 444 | # Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
| 445 | "-Wno-objc-missing-property-synthesis", |
henrika | 27d8b61 | 2016-09-21 04:13:00 -0700 | [diff] [blame] | 446 | ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 447 | } |
| 448 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 449 | rtc_static_library("socketrocket") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 450 | testonly = true |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 451 | sources = [ |
Magnus Jedvert | c1815cf | 2016-09-27 10:10:41 +0200 | [diff] [blame] | 452 | "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", |
| 453 | "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 454 | ] |
kthelgason | c097710 | 2017-04-24 00:57:16 -0700 | [diff] [blame] | 455 | configs += [ ":socketrocket_warning_config" ] |
ehmaldonado | e9cc686 | 2016-09-05 06:10:18 -0700 | [diff] [blame] | 456 | public_configs = [ ":socketrocket_include_config" ] |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 457 | |
| 458 | libs = [ |
| 459 | "CFNetwork.framework", |
| 460 | "icucore", |
| 461 | ] |
| 462 | } |
adam.fedor | bcc5d87 | 2016-11-07 14:53:28 -0800 | [diff] [blame] | 463 | |
| 464 | if (rtc_include_tests) { |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 465 | # TODO(kthelgason): compile xctests on mac when chromium supports it. |
| 466 | if (is_ios) { |
| 467 | rtc_source_set("apprtcmobile_test_sources") { |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 468 | # iOS must use WebRTC.framework which is dynamically linked. |
| 469 | # 'gn check' is disabled in order to avoid confusion and |
| 470 | # errors caused by multiple implementations. |
| 471 | check_includes = false |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 472 | testonly = true |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 473 | include_dirs = [ |
| 474 | "objc/AppRTCMobile", |
| 475 | "objc/AppRTCMobile/ios", |
| 476 | ] |
| 477 | testonly = true |
| 478 | sources = [ |
| 479 | "objc/AppRTCMobile/tests/ARDAppClient_xctest.mm", |
Daniela | 012b56b | 2017-11-15 13:15:24 +0100 | [diff] [blame] | 480 | "objc/AppRTCMobile/tests/ARDFileCaptureController_xctest.mm", |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 481 | "objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm", |
| 482 | ] |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 483 | deps = [ |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 484 | ":AppRTCMobile_ios_frameworks", |
| 485 | ":AppRTCMobile_lib", |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 486 | ":apprtc_signaling", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 487 | "../rtc_base:rtc_base", |
| 488 | "../sdk:framework_objc", |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 489 | "//build/config/ios:xctest", |
| 490 | "//third_party/ocmock", |
| 491 | ] |
adam.fedor | bcc5d87 | 2016-11-07 14:53:28 -0800 | [diff] [blame] | 492 | } |
| 493 | |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 494 | rtc_ios_xctest_test("apprtcmobile_tests") { |
| 495 | info_plist = "objc/AppRTCMobile/ios/Info.plist" |
| 496 | sources = [ |
| 497 | "objc/AppRTCMobile/ios/main.m", |
| 498 | ] |
| 499 | deps = [ |
Mirko Bonadei | cbaaaed | 2018-02-19 15:14:04 +0100 | [diff] [blame] | 500 | ":AppRTCMobile_lib", |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 501 | ":apprtcmobile_test_sources", |
Mirko Bonadei | 1a339c3 | 2017-12-14 13:06:10 +0100 | [diff] [blame] | 502 | "../sdk:framework_objc", |
kthelgason | 4065a57 | 2017-02-14 04:58:56 -0800 | [diff] [blame] | 503 | ] |
| 504 | ldflags = [ "-all_load" ] |
| 505 | } |
adam.fedor | bcc5d87 | 2016-11-07 14:53:28 -0800 | [diff] [blame] | 506 | } |
| 507 | } |
tkchin | 2ddfdba | 2016-08-07 21:37:45 -0700 | [diff] [blame] | 508 | } |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 509 | |
| 510 | if (is_linux || is_win) { |
ehmaldonado | d02fe4b | 2016-08-26 13:31:24 -0700 | [diff] [blame] | 511 | config("peerconnection_client_warnings_config") { |
kjellander | 4a9abad | 2016-09-18 08:12:29 -0700 | [diff] [blame] | 512 | cflags = [] |
ehmaldonado | d02fe4b | 2016-08-26 13:31:24 -0700 | [diff] [blame] | 513 | if (is_win && is_clang) { |
kjellander | 4a9abad | 2016-09-18 08:12:29 -0700 | [diff] [blame] | 514 | cflags += [ |
ehmaldonado | d02fe4b | 2016-08-26 13:31:24 -0700 | [diff] [blame] | 515 | # Disable warnings failing when compiling with Clang on Windows. |
| 516 | # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 517 | "-Wno-format", |
| 518 | |
| 519 | # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271 |
| 520 | # for -Wno-reorder and -Wno-sign-compare |
| 521 | "-Wno-reorder", |
| 522 | "-Wno-sign-compare", |
| 523 | ] |
| 524 | } |
kjellander | d4626e5 | 2016-09-07 02:33:01 -0700 | [diff] [blame] | 525 | if (is_linux && target_cpu == "x86") { |
kjellander | 4a9abad | 2016-09-18 08:12:29 -0700 | [diff] [blame] | 526 | cflags += [ |
kjellander | d4626e5 | 2016-09-07 02:33:01 -0700 | [diff] [blame] | 527 | # Needed to compile on Linux 32-bit. |
| 528 | "-Wno-sentinel", |
| 529 | ] |
| 530 | } |
ehmaldonado | d02fe4b | 2016-08-26 13:31:24 -0700 | [diff] [blame] | 531 | } |
| 532 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 533 | rtc_executable("peerconnection_client") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 534 | testonly = true |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 535 | sources = [ |
| 536 | "peerconnection/client/conductor.cc", |
| 537 | "peerconnection/client/conductor.h", |
| 538 | "peerconnection/client/defaults.cc", |
| 539 | "peerconnection/client/defaults.h", |
| 540 | "peerconnection/client/peer_connection_client.cc", |
| 541 | "peerconnection/client/peer_connection_client.h", |
| 542 | ] |
ehmaldonado | 7a2ce0b | 2016-09-05 01:35:44 -0700 | [diff] [blame] | 543 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 544 | if (!build_with_chromium && is_clang) { |
| 545 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 546 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 547 | } |
Patrik Höglund | b5b5bce | 2017-11-13 10:19:58 +0100 | [diff] [blame] | 548 | deps = [ |
Mirko Bonadei | 34814c7 | 2018-01-11 10:13:56 +0100 | [diff] [blame] | 549 | "../api:libjingle_peerconnection_api", |
Patrik Höglund | b5b5bce | 2017-11-13 10:19:58 +0100 | [diff] [blame] | 550 | "../api:video_frame_api_i420", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 551 | "../rtc_base:checks", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 552 | "../rtc_base:stringutils", |
Patrik Höglund | b5b5bce | 2017-11-13 10:19:58 +0100 | [diff] [blame] | 553 | ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 554 | if (is_win) { |
| 555 | sources += [ |
| 556 | "peerconnection/client/flagdefs.h", |
| 557 | "peerconnection/client/main.cc", |
| 558 | "peerconnection/client/main_wnd.cc", |
| 559 | "peerconnection/client/main_wnd.h", |
| 560 | ] |
| 561 | cflags = [ "/wd4245" ] |
| 562 | configs += [ "//build/config/win:windowed" ] |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 563 | deps += [ "../media:rtc_media_base" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 564 | } |
| 565 | if (is_linux) { |
| 566 | sources += [ |
| 567 | "peerconnection/client/linux/main.cc", |
| 568 | "peerconnection/client/linux/main_wnd.cc", |
| 569 | "peerconnection/client/linux/main_wnd.h", |
| 570 | ] |
Henrik Kjellander | efbde2c | 2017-03-27 08:28:27 +0200 | [diff] [blame] | 571 | cflags = [ "-Wno-deprecated-declarations" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 572 | libs = [ |
| 573 | "X11", |
| 574 | "Xcomposite", |
| 575 | "Xext", |
| 576 | "Xrender", |
| 577 | ] |
thomasanderson | ef16e99 | 2016-12-13 02:57:43 -0800 | [diff] [blame] | 578 | deps += [ "//build/config/linux/gtk" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 579 | } |
ehmaldonado | d02fe4b | 2016-08-26 13:31:24 -0700 | [diff] [blame] | 580 | configs += [ ":peerconnection_client_warnings_config" ] |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 581 | |
| 582 | deps += [ |
Niels Möller | 8366e17 | 2018-02-14 12:20:13 +0100 | [diff] [blame] | 583 | "../api:libjingle_peerconnection_api", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 584 | "../api:libjingle_peerconnection_test_api", |
| 585 | "../api:video_frame_api", |
Karl Wiberg | 1b0eae3 | 2017-10-17 14:48:54 +0200 | [diff] [blame] | 586 | "../api/audio_codecs:builtin_audio_decoder_factory", |
| 587 | "../api/audio_codecs:builtin_audio_encoder_factory", |
Mirko Bonadei | 75baa49 | 2018-01-11 17:07:30 +0100 | [diff] [blame] | 588 | "../media:rtc_audio_video", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 589 | "../modules/video_capture:video_capture_module", |
| 590 | "../pc:libjingle_peerconnection", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 591 | "../rtc_base:rtc_base", |
| 592 | "../rtc_base:rtc_base_approved", |
| 593 | "../rtc_base:rtc_json", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 594 | "../system_wrappers:field_trial_default", |
| 595 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 596 | "../system_wrappers:runtime_enabled_features_default", |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 597 | "//third_party/libyuv", |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 598 | ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 599 | } |
kjellander | d4626e5 | 2016-09-07 02:33:01 -0700 | [diff] [blame] | 600 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 601 | rtc_executable("peerconnection_server") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 602 | testonly = true |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 603 | sources = [ |
| 604 | "peerconnection/server/data_socket.cc", |
| 605 | "peerconnection/server/data_socket.h", |
| 606 | "peerconnection/server/main.cc", |
| 607 | "peerconnection/server/peer_channel.cc", |
| 608 | "peerconnection/server/peer_channel.h", |
| 609 | "peerconnection/server/utils.cc", |
| 610 | "peerconnection/server/utils.h", |
| 611 | ] |
| 612 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 613 | "..:webrtc_common", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 614 | "../rtc_base:rtc_base_approved", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 615 | "../rtc_base:stringutils", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 616 | "../rtc_tools:command_line_parser", |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 617 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 618 | if (!build_with_chromium && is_clang) { |
| 619 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 620 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 621 | } |
| 622 | } |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 623 | rtc_executable("relayserver") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 624 | testonly = true |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 625 | sources = [ |
| 626 | "relayserver/relayserver_main.cc", |
| 627 | ] |
| 628 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 629 | "../p2p:rtc_p2p", |
| 630 | "../pc:rtc_pc", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 631 | "../rtc_base:rtc_base", |
| 632 | "../rtc_base:rtc_base_approved", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 633 | "../system_wrappers:field_trial_default", |
| 634 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 635 | "../system_wrappers:runtime_enabled_features_default", |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 636 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 637 | if (!build_with_chromium && is_clang) { |
| 638 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 639 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 640 | } |
| 641 | } |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 642 | rtc_executable("turnserver") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 643 | testonly = true |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 644 | sources = [ |
| 645 | "turnserver/turnserver_main.cc", |
| 646 | ] |
| 647 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 648 | "../p2p:rtc_p2p", |
| 649 | "../pc:rtc_pc", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 650 | "../rtc_base:rtc_base", |
| 651 | "../rtc_base:rtc_base_approved", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 652 | "../system_wrappers:field_trial_default", |
| 653 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 654 | "../system_wrappers:runtime_enabled_features_default", |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 655 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 656 | if (!build_with_chromium && is_clang) { |
| 657 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 658 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 659 | } |
| 660 | } |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 661 | rtc_executable("stunserver") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 662 | testonly = true |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 663 | sources = [ |
| 664 | "stunserver/stunserver_main.cc", |
| 665 | ] |
| 666 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 667 | "../p2p:rtc_p2p", |
| 668 | "../pc:rtc_pc", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 669 | "../rtc_base:rtc_base", |
| 670 | "../rtc_base:rtc_base_approved", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 671 | "../system_wrappers:field_trial_default", |
| 672 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 673 | "../system_wrappers:runtime_enabled_features_default", |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 674 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 675 | if (!build_with_chromium && is_clang) { |
| 676 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 677 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kthelgason | 0727f15 | 2016-08-08 09:03:23 -0700 | [diff] [blame] | 678 | } |
| 679 | } |
| 680 | } |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 681 | |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 682 | if (is_win || is_android) { |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 683 | rtc_shared_library("webrtc_unity_plugin") { |
| 684 | testonly = true |
| 685 | sources = [ |
| 686 | "unityplugin/simple_peer_connection.cc", |
| 687 | "unityplugin/simple_peer_connection.h", |
| 688 | "unityplugin/unity_plugin_apis.cc", |
| 689 | "unityplugin/unity_plugin_apis.h", |
gyzhou | b38f386 | 2017-07-25 16:04:31 -0700 | [diff] [blame] | 690 | "unityplugin/video_observer.cc", |
| 691 | "unityplugin/video_observer.h", |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 692 | ] |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 693 | |
| 694 | if (is_android) { |
| 695 | sources += [ |
| 696 | "unityplugin/classreferenceholder.cc", |
| 697 | "unityplugin/classreferenceholder.h", |
| 698 | "unityplugin/jni_onload.cc", |
| 699 | ] |
Qiang Chen | 43fb912 | 2017-12-20 10:47:36 -0800 | [diff] [blame] | 700 | suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ] |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 701 | } |
| 702 | |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 703 | if (!build_with_chromium && is_clang) { |
| 704 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 705 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 706 | } |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 707 | if (is_win) { |
| 708 | cflags = [ "/wd4245" ] |
| 709 | configs += [ |
| 710 | "//build/config/win:windowed", |
| 711 | ":peerconnection_client_warnings_config", |
| 712 | ] |
| 713 | } |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 714 | deps = [ |
Mirko Bonadei | 34814c7 | 2018-01-11 10:13:56 +0100 | [diff] [blame] | 715 | "../api:libjingle_peerconnection_api", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 716 | "../api:libjingle_peerconnection_test_api", |
| 717 | "../api:video_frame_api", |
Qiang Chen | 51e2046 | 2017-12-05 11:11:21 -0800 | [diff] [blame] | 718 | "../api/audio_codecs:builtin_audio_decoder_factory", |
| 719 | "../api/audio_codecs:builtin_audio_encoder_factory", |
Mirko Bonadei | 75baa49 | 2018-01-11 17:07:30 +0100 | [diff] [blame] | 720 | "../media:rtc_audio_video", |
Anders Carlsson | a114c88 | 2018-01-04 15:10:22 +0100 | [diff] [blame] | 721 | "../media:rtc_internal_video_codecs", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 722 | "../media:rtc_media", |
| 723 | "../media:rtc_media_base", |
Qiang Chen | 43fb912 | 2017-12-20 10:47:36 -0800 | [diff] [blame] | 724 | "../modules/audio_device:audio_device", |
| 725 | "../modules/audio_processing:audio_processing", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 726 | "../modules/video_capture:video_capture_module", |
| 727 | "../pc:libjingle_peerconnection", |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 728 | "../rtc_base:rtc_base", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 729 | "../system_wrappers:field_trial_default", |
| 730 | "../system_wrappers:metrics_default", |
Ilya Nikolaevskiy | 2ffe3e8 | 2018-01-17 19:57:24 +0000 | [diff] [blame] | 731 | "../system_wrappers:runtime_enabled_features_default", |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 732 | ] |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 733 | if (is_android) { |
| 734 | deps += [ "../sdk/android:libjingle_peerconnection_jni" ] |
| 735 | } |
| 736 | } |
| 737 | } |
| 738 | |
| 739 | if (is_android) { |
Mirko Bonadei | fbb3b7d | 2017-11-07 15:36:33 +0000 | [diff] [blame] | 740 | rtc_android_library("webrtc_unity_java") { |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 741 | java_files = [ "unityplugin/java/src/org/webrtc/UnityUtility.java" ] |
| 742 | deps = [ |
| 743 | "../rtc_base:base_java", |
| 744 | "../sdk/android:libjingle_peerconnection_java", |
| 745 | ] |
| 746 | } |
| 747 | |
| 748 | dist_jar("libwebrtc_unity") { |
| 749 | _target_dir_name = get_label_info(":$target_name", "dir") |
| 750 | output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" |
| 751 | direct_deps_only = true |
| 752 | use_interface_jars = false |
Oleh Prypin | 1e53f8a | 2017-12-21 22:06:21 +0100 | [diff] [blame] | 753 | use_unprocessed_jars = true |
Oleh Prypin | 86021d9 | 2017-09-24 22:29:06 +0200 | [diff] [blame] | 754 | requires_android = true |
qiangchen | 42f96d5 | 2017-08-08 17:08:03 -0700 | [diff] [blame] | 755 | deps = [ |
| 756 | ":webrtc_unity_java", |
| 757 | "../modules/audio_device:audio_device_java", |
| 758 | "../rtc_base:base_java", |
| 759 | "../sdk/android:libjingle_peerconnection_java", |
| 760 | "../sdk/android:libjingle_peerconnection_metrics_default_java", |
| 761 | ] |
gyzhou | ad7cad8 | 2017-05-11 16:10:03 -0700 | [diff] [blame] | 762 | } |
| 763 | } |
| 764 | |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 765 | if (!build_with_chromium) { |
| 766 | # Doesn't build within Chrome on Win. |
| 767 | rtc_executable("stun_prober") { |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 768 | testonly = true |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 769 | sources = [ |
| 770 | "stunprober/main.cc", |
| 771 | ] |
| 772 | |
| 773 | if (!build_with_chromium && is_clang) { |
| 774 | # Suppress warnings from Chrome's Clang plugins. |
| 775 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 776 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 777 | } |
| 778 | |
| 779 | deps = [ |
| 780 | "../p2p:libstunprober", |
| 781 | "../p2p:rtc_p2p", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 782 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 783 | "../rtc_base:rtc_base", |
| 784 | "../rtc_base:rtc_base_approved", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 785 | "../rtc_base:stringutils", |
charujain | aca3a24 | 2016-11-01 03:09:15 -0700 | [diff] [blame] | 786 | "../system_wrappers:field_trial_default", |
| 787 | ] |
| 788 | } |
| 789 | } |