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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } else { | 159 } else { |
160 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 160 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
161 } | 161 } |
162 | 162 |
163 if (!build_with_chromium && is_clang) { | 163 if (!build_with_chromium && is_clang) { |
164 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 164 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
165 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 165 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
166 } | 166 } |
167 | 167 |
168 deps = [ | 168 deps = [ |
169 "..:module_api", | |
170 "../..:webrtc_common", | 169 "../..:webrtc_common", |
171 "../../api:libjingle_peerconnection_api", | 170 "../../api:libjingle_peerconnection_api", |
172 "../../api:transport_api", | 171 "../../api:transport_api", |
173 "../../api/audio_codecs:audio_codecs_api", | 172 "../../api/audio_codecs:audio_codecs_api", |
174 "../../base:gtest_prod", | 173 "../../base:gtest_prod", |
175 "../../base:rtc_base_approved", | 174 "../../base:rtc_base_approved", |
176 "../../base:rtc_task_queue", | 175 "../../base:rtc_task_queue", |
177 "../../call:call_interfaces", | 176 "../../call:call_interfaces", |
178 "../../common_video", | 177 "../../common_video", |
179 "../../logging:rtc_event_log_api", | 178 "../../logging:rtc_event_log_api", |
(...skipping 14 matching lines...) Expand all Loading... |
194 } | 193 } |
195 | 194 |
196 rtc_source_set("fec_test_helper") { | 195 rtc_source_set("fec_test_helper") { |
197 testonly = true | 196 testonly = true |
198 sources = [ | 197 sources = [ |
199 "source/fec_test_helper.cc", | 198 "source/fec_test_helper.cc", |
200 "source/fec_test_helper.h", | 199 "source/fec_test_helper.h", |
201 ] | 200 ] |
202 deps = [ | 201 deps = [ |
203 ":rtp_rtcp", | 202 ":rtp_rtcp", |
204 "..:module_api", | |
205 "../../base:rtc_base_approved", | 203 "../../base:rtc_base_approved", |
206 ] | 204 ] |
207 | 205 |
208 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 206 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
209 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 207 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
210 if (!build_with_chromium && is_clang) { | 208 if (!build_with_chromium && is_clang) { |
211 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 209 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
212 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 210 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
213 } | 211 } |
214 } | 212 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 250 } |
253 } | 251 } |
254 | 252 |
255 rtc_source_set("mock_rtp_rtcp") { | 253 rtc_source_set("mock_rtp_rtcp") { |
256 testonly = true | 254 testonly = true |
257 sources = [ | 255 sources = [ |
258 "mocks/mock_rtp_rtcp.h", | 256 "mocks/mock_rtp_rtcp.h", |
259 ] | 257 ] |
260 deps = [ | 258 deps = [ |
261 ":rtp_rtcp", | 259 ":rtp_rtcp", |
262 "..:module_api", | |
263 "../../base:rtc_base_approved", | 260 "../../base:rtc_base_approved", |
264 "../../test:test_support", | 261 "../../test:test_support", |
265 ] | 262 ] |
266 } | 263 } |
267 | 264 |
268 rtc_source_set("rtp_rtcp_unittests") { | 265 rtc_source_set("rtp_rtcp_unittests") { |
269 testonly = true | 266 testonly = true |
270 | 267 |
271 # Skip restricting visibility on mobile platforms since the tests on those | 268 # Skip restricting visibility on mobile platforms since the tests on those |
272 # gets additional generated targets which would require many lines here to | 269 # gets additional generated targets which would require many lines here to |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 "test/testAPI/test_api.cc", | 329 "test/testAPI/test_api.cc", |
333 "test/testAPI/test_api.h", | 330 "test/testAPI/test_api.h", |
334 "test/testAPI/test_api_audio.cc", | 331 "test/testAPI/test_api_audio.cc", |
335 "test/testAPI/test_api_rtcp.cc", | 332 "test/testAPI/test_api_rtcp.cc", |
336 "test/testAPI/test_api_video.cc", | 333 "test/testAPI/test_api_video.cc", |
337 ] | 334 ] |
338 deps = [ | 335 deps = [ |
339 ":fec_test_helper", | 336 ":fec_test_helper", |
340 ":mock_rtp_rtcp", | 337 ":mock_rtp_rtcp", |
341 ":rtp_rtcp", | 338 ":rtp_rtcp", |
342 "..:module_api", | |
343 "../..:webrtc_common", | 339 "../..:webrtc_common", |
344 "../../api:transport_api", | 340 "../../api:transport_api", |
345 "../../base:rtc_base_approved", | 341 "../../base:rtc_base_approved", |
346 "../../common_video:common_video", | 342 "../../common_video:common_video", |
347 "../../system_wrappers:system_wrappers", | 343 "../../system_wrappers:system_wrappers", |
348 "../../test:field_trial", | 344 "../../test:field_trial", |
349 "../../test:rtp_test_utils", | 345 "../../test:rtp_test_utils", |
350 "../../test:test_common", | 346 "../../test:test_common", |
351 "../../test:test_support", | 347 "../../test:test_support", |
352 "//testing/gmock", | 348 "//testing/gmock", |
353 ] | 349 ] |
354 | 350 |
355 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 351 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
356 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 352 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
357 if (!build_with_chromium && is_clang) { | 353 if (!build_with_chromium && is_clang) { |
358 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 354 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
359 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 355 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
360 } | 356 } |
361 } | 357 } |
362 } | 358 } |
OLD | NEW |