kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # Copyright (c) 2014 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") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("video") { |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 12 | sources = [ |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 13 | "call_stats.cc", |
| 14 | "call_stats.h", |
mflodman | 15d8357 | 2016-10-06 08:35:11 -0700 | [diff] [blame] | 15 | "encoder_rtcp_feedback.cc", |
| 16 | "encoder_rtcp_feedback.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 17 | "overuse_frame_detector.cc", |
| 18 | "overuse_frame_detector.h", |
| 19 | "payload_router.cc", |
| 20 | "payload_router.h", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 21 | "quality_threshold.cc", |
| 22 | "quality_threshold.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 23 | "receive_statistics_proxy.cc", |
| 24 | "receive_statistics_proxy.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 25 | "report_block_stats.cc", |
| 26 | "report_block_stats.h", |
mflodman | 4cd2790 | 2016-08-05 06:28:45 -0700 | [diff] [blame] | 27 | "rtp_streams_synchronizer.cc", |
| 28 | "rtp_streams_synchronizer.h", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 29 | "rtp_video_stream_receiver.cc", |
| 30 | "rtp_video_stream_receiver.h", |
asapersson | 35151f3 | 2016-05-02 23:44:01 -0700 | [diff] [blame] | 31 | "send_delay_stats.cc", |
| 32 | "send_delay_stats.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 33 | "send_statistics_proxy.cc", |
| 34 | "send_statistics_proxy.h", |
asapersson | 0e9d6d9 | 2016-05-23 06:07:55 -0700 | [diff] [blame] | 35 | "stats_counter.cc", |
| 36 | "stats_counter.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 37 | "stream_synchronization.cc", |
| 38 | "stream_synchronization.h", |
charujain | bf6a45b | 2016-11-03 04:21:42 -0700 | [diff] [blame] | 39 | "transport_adapter.cc", |
| 40 | "transport_adapter.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 41 | "video_receive_stream.cc", |
| 42 | "video_receive_stream.h", |
| 43 | "video_send_stream.cc", |
| 44 | "video_send_stream.h", |
mflodman | cfc8e3b | 2016-05-03 21:22:04 -0700 | [diff] [blame] | 45 | "video_stream_decoder.cc", |
| 46 | "video_stream_decoder.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 47 | "vie_encoder.cc", |
| 48 | "vie_encoder.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 49 | ] |
| 50 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 51 | if (!build_with_chromium && is_clang) { |
| 52 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 53 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 54 | } |
| 55 | |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 56 | deps = [ |
mbonadei | 81c79f5 | 2017-04-25 23:42:15 -0700 | [diff] [blame] | 57 | "..:video_stream_api", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 58 | "..:webrtc_common", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 59 | "../api:transport_api", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 60 | "../api/video_codecs:video_codecs_api", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 61 | "../base:rtc_base_approved", |
terelius | bc5d921 | 2017-01-13 09:14:33 -0800 | [diff] [blame] | 62 | "../base:rtc_numerics", |
perkj | 26091b1 | 2016-09-01 01:17:40 -0700 | [diff] [blame] | 63 | "../base:rtc_task_queue", |
perkj | 39a41d9 | 2017-06-12 05:53:35 -0700 | [diff] [blame] | 64 | "../base:sequenced_task_checker", |
| 65 | "../base:weak_ptr", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 66 | "../call:call_interfaces", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 67 | "../call:rtp_interfaces", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 68 | "../common_video", |
skvlad | cc91d28 | 2016-10-03 18:31:22 -0700 | [diff] [blame] | 69 | "../logging:rtc_event_log_api", |
philipel | 022b54e | 2016-12-20 04:15:59 -0800 | [diff] [blame] | 70 | "../media:rtc_media_base", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 71 | "../modules:module_api", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 72 | "../modules/bitrate_controller", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 73 | "../modules/congestion_controller", |
sprang | ebbf8a8 | 2015-09-21 15:11:14 -0700 | [diff] [blame] | 74 | "../modules/pacing", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 75 | "../modules/remote_bitrate_estimator", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 76 | "../modules/rtp_rtcp", |
| 77 | "../modules/utility", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 78 | "../modules/video_coding", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 79 | "../modules/video_coding:video_coding_utility", |
| 80 | "../modules/video_coding:webrtc_vp8", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 81 | "../modules/video_processing", |
kjellander | 8237abf | 2015-12-08 07:12:06 -0800 | [diff] [blame] | 82 | "../system_wrappers", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 83 | "../voice_engine", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 84 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 85 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 86 | |
| 87 | if (rtc_include_tests) { |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 88 | rtc_source_set("video_quality_test") { |
| 89 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 90 | visibility = [ ":*" ] # Only targets in this file can depend on this. |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 91 | sources = [ |
| 92 | "video_quality_test.cc", |
| 93 | "video_quality_test.h", |
| 94 | ] |
| 95 | deps = [ |
ilnik | df92c5c | 2017-02-23 02:08:44 -0800 | [diff] [blame] | 96 | "../base:rtc_base_tests_utils", |
brandtr | 696c9c6 | 2016-12-19 05:47:28 -0800 | [diff] [blame] | 97 | "../base:rtc_task_queue", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 98 | "../call:call_interfaces", |
| 99 | "../common_video", |
| 100 | "../logging:rtc_event_log_api", |
sprang | 67561a6 | 2017-06-15 06:34:42 -0700 | [diff] [blame] | 101 | "../media:rtc_media", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 102 | "../media:rtc_media_base", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 103 | "../modules/audio_mixer:audio_mixer_impl", |
| 104 | "../modules/rtp_rtcp", |
| 105 | "../modules/video_coding:webrtc_h264", |
| 106 | "../modules/video_coding:webrtc_vp8", |
| 107 | "../modules/video_coding:webrtc_vp9", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 108 | "../system_wrappers", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 109 | "../test:test_common", |
| 110 | "../test:test_support", |
| 111 | "../voice_engine", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 112 | "//testing/gtest", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 113 | "//webrtc/test:test_renderer", |
perkj | c5726c1 | 2017-03-01 03:37:08 -0800 | [diff] [blame] | 114 | "//webrtc/test:video_test_common", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 115 | ] |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 116 | if (!build_with_chromium && is_clang) { |
| 117 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 118 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 119 | } |
| 120 | } |
| 121 | |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 122 | rtc_source_set("video_full_stack_tests") { |
| 123 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 124 | |
| 125 | # Skip restricting visibility on mobile platforms since the tests on those |
| 126 | # gets additional generated targets which would require many lines here to |
| 127 | # cover (which would be confusing to read and hard to maintain). |
| 128 | if (!is_android && !is_ios) { |
| 129 | visibility = [ "//webrtc:webrtc_perf_tests" ] |
| 130 | } |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 131 | sources = [ |
| 132 | "full_stack_tests.cc", |
| 133 | ] |
| 134 | deps = [ |
| 135 | ":video_quality_test", |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame^] | 136 | "../modules/pacing:pacing", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 137 | "../test:field_trial", |
| 138 | "../test:test_support", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 139 | "//testing/gtest", |
| 140 | "//webrtc/test:test_common", |
| 141 | ] |
| 142 | if (!build_with_chromium && is_clang) { |
| 143 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 144 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 145 | } |
| 146 | if (rtc_use_h264) { |
| 147 | defines = [ "WEBRTC_USE_H264" ] |
| 148 | } |
| 149 | } |
| 150 | |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 151 | rtc_executable("video_loopback") { |
| 152 | testonly = true |
| 153 | sources = [ |
| 154 | "video_loopback.cc", |
| 155 | ] |
| 156 | deps = [ |
| 157 | ":video_quality_test", |
sprang | 1168fd4 | 2017-06-21 09:00:17 -0700 | [diff] [blame] | 158 | "../base:rtc_base_approved", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 159 | "../system_wrappers:metrics_default", |
| 160 | "../test:field_trial", |
| 161 | "../test:run_test", |
| 162 | "../test:test_common", |
| 163 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 164 | "../test:test_support", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 165 | "//testing/gmock", |
| 166 | "//testing/gtest", |
| 167 | "//third_party/gflags", |
| 168 | ] |
| 169 | if (!build_with_chromium && is_clang) { |
| 170 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 171 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | rtc_executable("screenshare_loopback") { |
| 176 | testonly = true |
| 177 | sources = [ |
| 178 | "screenshare_loopback.cc", |
| 179 | ] |
| 180 | |
| 181 | deps = [ |
| 182 | ":video_quality_test", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 183 | "../base:rtc_base_approved", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 184 | "../system_wrappers:metrics_default", |
| 185 | "../test:field_trial", |
| 186 | "../test:run_test", |
| 187 | "../test:test_common", |
| 188 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 189 | "../test:test_support", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 190 | ] |
| 191 | if (!build_with_chromium && is_clang) { |
| 192 | # Suppress warnings from Chrome's Clang plugins. |
| 193 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 194 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 195 | } |
| 196 | } |
| 197 | |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 198 | rtc_executable("video_replay") { |
| 199 | testonly = true |
| 200 | sources = [ |
| 201 | "replay.cc", |
| 202 | ] |
| 203 | deps = [ |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 204 | "..:webrtc_common", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 205 | "../api/video_codecs:video_codecs_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 206 | "../base:rtc_base_approved", |
| 207 | "../call:call_interfaces", |
| 208 | "../common_video", |
| 209 | "../logging:rtc_event_log_api", |
| 210 | "../modules/rtp_rtcp", |
| 211 | "../system_wrappers", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 212 | "../system_wrappers:metrics_default", |
| 213 | "../test:field_trial", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 214 | "../test:rtp_test_utils", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 215 | "../test:run_test", |
| 216 | "../test:test_common", |
| 217 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 218 | "../test:test_support", |
| 219 | "../test:video_test_common", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 220 | "//third_party/gflags", |
| 221 | ] |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 222 | if (!build_with_chromium && is_clang) { |
| 223 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 224 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 225 | } |
| 226 | } |
| 227 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 228 | # TODO(pbos): Rename test suite. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 229 | rtc_source_set("video_tests") { |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 230 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 231 | |
| 232 | # Skip restricting visibility on mobile platforms since the tests on those |
| 233 | # gets additional generated targets which would require many lines here to |
| 234 | # cover (which would be confusing to read and hard to maintain). |
| 235 | if (!is_android && !is_ios) { |
| 236 | visibility = [ "//webrtc:video_engine_tests" ] |
| 237 | } |
hta | 9aa9688 | 2016-12-06 05:36:03 -0800 | [diff] [blame] | 238 | defines = [] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 239 | sources = [ |
| 240 | "call_stats_unittest.cc", |
mflodman | 15d8357 | 2016-10-06 08:35:11 -0700 | [diff] [blame] | 241 | "encoder_rtcp_feedback_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 242 | "end_to_end_tests.cc", |
| 243 | "overuse_frame_detector_unittest.cc", |
| 244 | "payload_router_unittest.cc", |
Sebastian Jansson | e92f93f | 2017-06-22 14:44:04 +0200 | [diff] [blame] | 245 | "picture_id_tests.cc", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 246 | "quality_threshold_unittest.cc", |
sakal | e5ba44e | 2016-10-26 07:09:24 -0700 | [diff] [blame] | 247 | "receive_statistics_proxy_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 248 | "report_block_stats_unittest.cc", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 249 | "rtp_video_stream_receiver_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 250 | "send_delay_stats_unittest.cc", |
| 251 | "send_statistics_proxy_unittest.cc", |
| 252 | "stats_counter_unittest.cc", |
| 253 | "stream_synchronization_unittest.cc", |
johan | f2183ff | 2017-02-28 01:33:09 -0800 | [diff] [blame] | 254 | "video_receive_stream_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 255 | "video_send_stream_tests.cc", |
perkj | 26091b1 | 2016-09-01 01:17:40 -0700 | [diff] [blame] | 256 | "vie_encoder_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 257 | ] |
| 258 | deps = [ |
| 259 | ":video", |
mbonadei | 81c79f5 | 2017-04-25 23:42:15 -0700 | [diff] [blame] | 260 | "..:video_stream_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 261 | "../api:video_frame_api", |
| 262 | "../api/video_codecs:video_codecs_api", |
| 263 | "../base:rtc_base_approved", |
| 264 | "../base:rtc_base_tests_utils", |
| 265 | "../call:call_interfaces", |
nisse | 0f15f92 | 2017-06-21 01:05:22 -0700 | [diff] [blame] | 266 | "../call:rtp_receiver", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 267 | "../common_video", |
| 268 | "../logging:rtc_event_log_api", |
brandtr | 5e17175 | 2017-05-23 03:32:16 -0700 | [diff] [blame] | 269 | "../media:rtc_media", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 270 | "../media:rtc_media_base", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 271 | "../media:rtc_media_tests_utils", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 272 | "../modules:module_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 273 | "../modules/pacing", |
| 274 | "../modules/rtp_rtcp", |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 275 | "../modules/rtp_rtcp:mock_rtp_rtcp", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 276 | "../modules/utility", |
| 277 | "../modules/video_coding", |
| 278 | "../modules/video_coding:video_coding_utility", |
| 279 | "../modules/video_coding:webrtc_h264", |
| 280 | "../modules/video_coding:webrtc_vp8", |
| 281 | "../modules/video_coding:webrtc_vp9", |
| 282 | "../system_wrappers", |
| 283 | "../system_wrappers:field_trial_default", |
| 284 | "../system_wrappers:metrics_api", |
| 285 | "../system_wrappers:metrics_default", |
| 286 | "../test:direct_transport", |
| 287 | "../test:field_trial", |
| 288 | "../test:rtp_test_utils", |
| 289 | "../test:test_common", |
| 290 | "../test:test_support", |
| 291 | "../test:video_test_common", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 292 | "//testing/gmock", |
| 293 | "//testing/gtest", |
| 294 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 295 | if (!build_with_chromium && is_clang) { |
| 296 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 297 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 298 | } |
brandtr | 445fb8f | 2016-11-14 04:11:23 -0800 | [diff] [blame] | 299 | if (rtc_use_h264) { |
hta | 9aa9688 | 2016-12-06 05:36:03 -0800 | [diff] [blame] | 300 | defines += [ "WEBRTC_USE_H264" ] |
brandtr | 445fb8f | 2016-11-14 04:11:23 -0800 | [diff] [blame] | 301 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 302 | } |
| 303 | } |