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("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 testonly = true | 180 testonly = true |
181 | 181 |
182 sources = [ | 182 sources = [ |
183 "testsupport/fileutils.cc", | 183 "testsupport/fileutils.cc", |
184 "testsupport/fileutils.h", | 184 "testsupport/fileutils.h", |
185 "testsupport/frame_reader.cc", | 185 "testsupport/frame_reader.cc", |
186 "testsupport/frame_reader.h", | 186 "testsupport/frame_reader.h", |
187 "testsupport/frame_writer.cc", | 187 "testsupport/frame_writer.cc", |
188 "testsupport/frame_writer.h", | 188 "testsupport/frame_writer.h", |
189 "testsupport/iosfileutils.mm", | 189 "testsupport/iosfileutils.mm", |
| 190 "testsupport/metrics/video_metrics.cc", |
| 191 "testsupport/metrics/video_metrics.h", |
190 "testsupport/mock/mock_frame_reader.h", | 192 "testsupport/mock/mock_frame_reader.h", |
191 "testsupport/mock/mock_frame_writer.h", | 193 "testsupport/mock/mock_frame_writer.h", |
192 "testsupport/packet_reader.cc", | 194 "testsupport/packet_reader.cc", |
193 "testsupport/packet_reader.h", | 195 "testsupport/packet_reader.h", |
194 "testsupport/perf_test.cc", | 196 "testsupport/perf_test.cc", |
195 "testsupport/perf_test.h", | 197 "testsupport/perf_test.h", |
196 "testsupport/trace_to_stderr.cc", | 198 "testsupport/trace_to_stderr.cc", |
197 "testsupport/trace_to_stderr.h", | 199 "testsupport/trace_to_stderr.h", |
198 ] | 200 ] |
199 | 201 |
200 deps = [ | 202 deps = [ |
201 "../base:gtest_prod", | 203 "../base:gtest_prod", |
| 204 "../common_video", |
202 "../system_wrappers", | 205 "../system_wrappers", |
203 "//testing/gmock", | 206 "//testing/gmock", |
204 "//testing/gtest", | 207 "//testing/gtest", |
205 ] | 208 ] |
206 | 209 |
| 210 if (is_clang) { |
| 211 # Suppress warnings from the Chromium Clang plugin. |
| 212 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 213 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 214 } |
| 215 |
207 if (is_ios) { | 216 if (is_ios) { |
208 configs += [ "//build/config/compiler:enable_arc" ] | 217 configs += [ "//build/config/compiler:enable_arc" ] |
209 } | 218 } |
210 | 219 |
211 if (use_x11) { | 220 if (use_x11) { |
212 deps += [ "//tools/xdisplaycheck" ] | 221 deps += [ "//tools/xdisplaycheck" ] |
213 } | 222 } |
214 | 223 |
215 if (is_android) { | 224 if (is_android) { |
216 deps += [ "//base:base" ] | 225 deps += [ "//base:base" ] |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 ":test_support", | 274 ":test_support", |
266 ] | 275 ] |
267 } | 276 } |
268 | 277 |
269 test("test_support_unittests") { | 278 test("test_support_unittests") { |
270 deps = [] | 279 deps = [] |
271 sources = [ | 280 sources = [ |
272 "channel_transport/udp_socket_manager_unittest.cc", | 281 "channel_transport/udp_socket_manager_unittest.cc", |
273 "channel_transport/udp_socket_wrapper_unittest.cc", | 282 "channel_transport/udp_socket_wrapper_unittest.cc", |
274 "channel_transport/udp_transport_unittest.cc", | 283 "channel_transport/udp_transport_unittest.cc", |
| 284 "common_unittest.cc", |
275 "fake_network_pipe_unittest.cc", | 285 "fake_network_pipe_unittest.cc", |
276 "frame_generator_unittest.cc", | 286 "frame_generator_unittest.cc", |
277 "rtp_file_reader_unittest.cc", | 287 "rtp_file_reader_unittest.cc", |
278 "rtp_file_writer_unittest.cc", | 288 "rtp_file_writer_unittest.cc", |
279 "testsupport/always_passing_unittest.cc", | 289 "testsupport/always_passing_unittest.cc", |
280 "testsupport/fileutils_unittest.cc", | 290 "testsupport/fileutils_unittest.cc", |
281 "testsupport/frame_reader_unittest.cc", | 291 "testsupport/frame_reader_unittest.cc", |
282 "testsupport/frame_writer_unittest.cc", | 292 "testsupport/frame_writer_unittest.cc", |
| 293 "testsupport/metrics/video_metrics_unittest.cc", |
283 "testsupport/packet_reader_unittest.cc", | 294 "testsupport/packet_reader_unittest.cc", |
284 "testsupport/perf_test_unittest.cc", | 295 "testsupport/perf_test_unittest.cc", |
285 "testsupport/unittest_utils.h", | 296 "testsupport/unittest_utils.h", |
286 ] | 297 ] |
287 | 298 |
288 configs += [ "..:common_config" ] | 299 configs += [ "..:common_config" ] |
289 public_configs = [ "..:common_inherited_config" ] | 300 public_configs = [ "..:common_inherited_config" ] |
290 | 301 |
291 # TODO(jschuh): Bug 1348: fix this warning. | 302 # TODO(jschuh): Bug 1348: fix this warning. |
292 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 303 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 configs -= [ "//build/config/clang:find_bad_constructs" ] | 479 configs -= [ "//build/config/clang:find_bad_constructs" ] |
469 } | 480 } |
470 | 481 |
471 deps = [ | 482 deps = [ |
472 ":test_support", | 483 ":test_support", |
473 ":video_test_common", | 484 ":video_test_common", |
474 "../modules/media_file", | 485 "../modules/media_file", |
475 "//testing/gtest", | 486 "//testing/gtest", |
476 ] | 487 ] |
477 } | 488 } |
OLD | NEW |