OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 if (!build_with_chromium && is_clang) { | 51 if (!build_with_chromium && is_clang) { |
52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
54 } | 54 } |
55 | 55 |
56 deps = [ | 56 deps = [ |
57 "..:video_stream_api", | 57 "..:video_stream_api", |
58 "..:webrtc_common", | 58 "..:webrtc_common", |
59 "../api:transport_api", | 59 "../api:transport_api", |
60 "../api/video_codecs:video_codecs_api", | 60 "../api/video_codecs:video_codecs_api", |
61 "../base:rtc_base_approved", | |
62 "../base:rtc_numerics", | |
63 "../base:rtc_task_queue", | |
64 "../base:sequenced_task_checker", | |
65 "../base:weak_ptr", | |
66 "../call:call_interfaces", | 61 "../call:call_interfaces", |
67 "../call:rtp_interfaces", | 62 "../call:rtp_interfaces", |
68 "../common_video", | 63 "../common_video", |
69 "../logging:rtc_event_log_api", | 64 "../logging:rtc_event_log_api", |
70 "../media:rtc_media_base", | 65 "../media:rtc_media_base", |
71 "../modules:module_api", | 66 "../modules:module_api", |
72 "../modules/bitrate_controller", | 67 "../modules/bitrate_controller", |
73 "../modules/congestion_controller", | 68 "../modules/congestion_controller", |
74 "../modules/pacing", | 69 "../modules/pacing", |
75 "../modules/remote_bitrate_estimator", | 70 "../modules/remote_bitrate_estimator", |
76 "../modules/rtp_rtcp", | 71 "../modules/rtp_rtcp", |
77 "../modules/utility", | 72 "../modules/utility", |
78 "../modules/video_coding", | 73 "../modules/video_coding", |
79 "../modules/video_coding:video_coding_utility", | 74 "../modules/video_coding:video_coding_utility", |
80 "../modules/video_coding:webrtc_vp8", | 75 "../modules/video_coding:webrtc_vp8", |
81 "../modules/video_processing", | 76 "../modules/video_processing", |
| 77 "../rtc_base:rtc_base_approved", |
| 78 "../rtc_base:rtc_numerics", |
| 79 "../rtc_base:rtc_task_queue", |
| 80 "../rtc_base:sequenced_task_checker", |
| 81 "../rtc_base:weak_ptr", |
82 "../system_wrappers", | 82 "../system_wrappers", |
83 "../voice_engine", | 83 "../voice_engine", |
84 ] | 84 ] |
85 } | 85 } |
86 | 86 |
87 if (rtc_include_tests) { | 87 if (rtc_include_tests) { |
88 rtc_source_set("video_quality_test") { | 88 rtc_source_set("video_quality_test") { |
89 testonly = true | 89 testonly = true |
90 visibility = [ ":*" ] # Only targets in this file can depend on this. | 90 visibility = [ ":*" ] # Only targets in this file can depend on this. |
91 sources = [ | 91 sources = [ |
92 "video_quality_test.cc", | 92 "video_quality_test.cc", |
93 "video_quality_test.h", | 93 "video_quality_test.h", |
94 ] | 94 ] |
95 deps = [ | 95 deps = [ |
96 "../base:rtc_base_tests_utils", | |
97 "../base:rtc_task_queue", | |
98 "../call:call_interfaces", | 96 "../call:call_interfaces", |
99 "../common_video", | 97 "../common_video", |
100 "../logging:rtc_event_log_api", | 98 "../logging:rtc_event_log_api", |
101 "../media:rtc_media", | 99 "../media:rtc_media", |
102 "../media:rtc_media_base", | 100 "../media:rtc_media_base", |
103 "../modules/audio_mixer:audio_mixer_impl", | 101 "../modules/audio_mixer:audio_mixer_impl", |
104 "../modules/rtp_rtcp", | 102 "../modules/rtp_rtcp", |
105 "../modules/video_coding:webrtc_h264", | 103 "../modules/video_coding:webrtc_h264", |
106 "../modules/video_coding:webrtc_vp8", | 104 "../modules/video_coding:webrtc_vp8", |
107 "../modules/video_coding:webrtc_vp9", | 105 "../modules/video_coding:webrtc_vp9", |
| 106 "../rtc_base:rtc_base_tests_utils", |
| 107 "../rtc_base:rtc_task_queue", |
108 "../system_wrappers", | 108 "../system_wrappers", |
109 "../test:test_common", | 109 "../test:test_common", |
110 "../test:test_support", | 110 "../test:test_support", |
111 "../voice_engine", | 111 "../voice_engine", |
112 "//testing/gtest", | 112 "//testing/gtest", |
113 "//webrtc/test:test_renderer", | 113 "//webrtc/test:test_renderer", |
114 "//webrtc/test:video_test_common", | 114 "//webrtc/test:video_test_common", |
115 ] | 115 ] |
116 if (!build_with_chromium && is_clang) { | 116 if (!build_with_chromium && is_clang) { |
117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
(...skipping 30 matching lines...) Expand all Loading... |
148 } | 148 } |
149 } | 149 } |
150 | 150 |
151 rtc_executable("video_loopback") { | 151 rtc_executable("video_loopback") { |
152 testonly = true | 152 testonly = true |
153 sources = [ | 153 sources = [ |
154 "video_loopback.cc", | 154 "video_loopback.cc", |
155 ] | 155 ] |
156 deps = [ | 156 deps = [ |
157 ":video_quality_test", | 157 ":video_quality_test", |
158 "../base:rtc_base_approved", | 158 "../rtc_base:rtc_base_approved", |
159 "../system_wrappers:metrics_default", | 159 "../system_wrappers:metrics_default", |
160 "../test:field_trial", | 160 "../test:field_trial", |
161 "../test:run_test", | 161 "../test:run_test", |
162 "../test:test_common", | 162 "../test:test_common", |
163 "../test:test_renderer", | 163 "../test:test_renderer", |
164 "../test:test_support", | 164 "../test:test_support", |
165 "//testing/gmock", | 165 "//testing/gmock", |
166 "//testing/gtest", | 166 "//testing/gtest", |
167 "//third_party/gflags", | 167 "//third_party/gflags", |
168 ] | 168 ] |
169 if (!build_with_chromium && is_clang) { | 169 if (!build_with_chromium && is_clang) { |
170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
172 } | 172 } |
173 } | 173 } |
174 | 174 |
175 rtc_executable("screenshare_loopback") { | 175 rtc_executable("screenshare_loopback") { |
176 testonly = true | 176 testonly = true |
177 sources = [ | 177 sources = [ |
178 "screenshare_loopback.cc", | 178 "screenshare_loopback.cc", |
179 ] | 179 ] |
180 | 180 |
181 deps = [ | 181 deps = [ |
182 ":video_quality_test", | 182 ":video_quality_test", |
183 "../base:rtc_base_approved", | 183 "../rtc_base:rtc_base_approved", |
184 "../system_wrappers:metrics_default", | 184 "../system_wrappers:metrics_default", |
185 "../test:field_trial", | 185 "../test:field_trial", |
186 "../test:run_test", | 186 "../test:run_test", |
187 "../test:test_common", | 187 "../test:test_common", |
188 "../test:test_renderer", | 188 "../test:test_renderer", |
189 "../test:test_support", | 189 "../test:test_support", |
190 ] | 190 ] |
191 if (!build_with_chromium && is_clang) { | 191 if (!build_with_chromium && is_clang) { |
192 # Suppress warnings from Chrome's Clang plugins. | 192 # Suppress warnings from Chrome's Clang plugins. |
193 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 193 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
194 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 194 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
195 } | 195 } |
196 } | 196 } |
197 | 197 |
198 rtc_executable("video_replay") { | 198 rtc_executable("video_replay") { |
199 testonly = true | 199 testonly = true |
200 sources = [ | 200 sources = [ |
201 "replay.cc", | 201 "replay.cc", |
202 ] | 202 ] |
203 deps = [ | 203 deps = [ |
204 "..:webrtc_common", | 204 "..:webrtc_common", |
205 "../api/video_codecs:video_codecs_api", | 205 "../api/video_codecs:video_codecs_api", |
206 "../base:rtc_base_approved", | |
207 "../call:call_interfaces", | 206 "../call:call_interfaces", |
208 "../common_video", | 207 "../common_video", |
209 "../logging:rtc_event_log_api", | 208 "../logging:rtc_event_log_api", |
210 "../modules/rtp_rtcp", | 209 "../modules/rtp_rtcp", |
| 210 "../rtc_base:rtc_base_approved", |
211 "../system_wrappers", | 211 "../system_wrappers", |
212 "../system_wrappers:metrics_default", | 212 "../system_wrappers:metrics_default", |
213 "../test:field_trial", | 213 "../test:field_trial", |
214 "../test:rtp_test_utils", | 214 "../test:rtp_test_utils", |
215 "../test:run_test", | 215 "../test:run_test", |
216 "../test:test_common", | 216 "../test:test_common", |
217 "../test:test_renderer", | 217 "../test:test_renderer", |
218 "../test:test_support", | 218 "../test:test_support", |
219 "../test:video_test_common", | 219 "../test:video_test_common", |
220 "//third_party/gflags", | 220 "//third_party/gflags", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 "stream_synchronization_unittest.cc", | 253 "stream_synchronization_unittest.cc", |
254 "video_receive_stream_unittest.cc", | 254 "video_receive_stream_unittest.cc", |
255 "video_send_stream_tests.cc", | 255 "video_send_stream_tests.cc", |
256 "vie_encoder_unittest.cc", | 256 "vie_encoder_unittest.cc", |
257 ] | 257 ] |
258 deps = [ | 258 deps = [ |
259 ":video", | 259 ":video", |
260 "..:video_stream_api", | 260 "..:video_stream_api", |
261 "../api:video_frame_api", | 261 "../api:video_frame_api", |
262 "../api/video_codecs:video_codecs_api", | 262 "../api/video_codecs:video_codecs_api", |
263 "../base:rtc_base_approved", | |
264 "../base:rtc_base_tests_utils", | |
265 "../call:call_interfaces", | 263 "../call:call_interfaces", |
266 "../call:rtp_receiver", | 264 "../call:rtp_receiver", |
267 "../common_video", | 265 "../common_video", |
268 "../logging:rtc_event_log_api", | 266 "../logging:rtc_event_log_api", |
269 "../media:rtc_media", | 267 "../media:rtc_media", |
270 "../media:rtc_media_base", | 268 "../media:rtc_media_base", |
271 "../media:rtc_media_tests_utils", | 269 "../media:rtc_media_tests_utils", |
272 "../modules:module_api", | 270 "../modules:module_api", |
273 "../modules/pacing", | 271 "../modules/pacing", |
274 "../modules/rtp_rtcp", | 272 "../modules/rtp_rtcp", |
275 "../modules/rtp_rtcp:mock_rtp_rtcp", | 273 "../modules/rtp_rtcp:mock_rtp_rtcp", |
276 "../modules/utility", | 274 "../modules/utility", |
277 "../modules/video_coding", | 275 "../modules/video_coding", |
278 "../modules/video_coding:video_coding_utility", | 276 "../modules/video_coding:video_coding_utility", |
279 "../modules/video_coding:webrtc_h264", | 277 "../modules/video_coding:webrtc_h264", |
280 "../modules/video_coding:webrtc_vp8", | 278 "../modules/video_coding:webrtc_vp8", |
281 "../modules/video_coding:webrtc_vp9", | 279 "../modules/video_coding:webrtc_vp9", |
| 280 "../rtc_base:rtc_base_approved", |
| 281 "../rtc_base:rtc_base_tests_utils", |
282 "../system_wrappers", | 282 "../system_wrappers", |
283 "../system_wrappers:field_trial_default", | 283 "../system_wrappers:field_trial_default", |
284 "../system_wrappers:metrics_api", | 284 "../system_wrappers:metrics_api", |
285 "../system_wrappers:metrics_default", | 285 "../system_wrappers:metrics_default", |
286 "../test:direct_transport", | 286 "../test:direct_transport", |
287 "../test:field_trial", | 287 "../test:field_trial", |
288 "../test:rtp_test_utils", | 288 "../test:rtp_test_utils", |
289 "../test:test_common", | 289 "../test:test_common", |
290 "../test:test_support", | 290 "../test:test_support", |
291 "../test:video_test_common", | 291 "../test:video_test_common", |
292 "//testing/gmock", | 292 "//testing/gmock", |
293 "//testing/gtest", | 293 "//testing/gtest", |
294 ] | 294 ] |
295 if (!build_with_chromium && is_clang) { | 295 if (!build_with_chromium && is_clang) { |
296 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 296 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
297 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 297 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
298 } | 298 } |
299 if (rtc_use_h264) { | 299 if (rtc_use_h264) { |
300 defines += [ "WEBRTC_USE_H264" ] | 300 defines += [ "WEBRTC_USE_H264" ] |
301 } | 301 } |
302 } | 302 } |
303 } | 303 } |
OLD | NEW |