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 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 if (is_ios) { | 122 if (is_ios) { |
123 sources += [ "testsupport/iosfileutils.mm" ] | 123 sources += [ "testsupport/iosfileutils.mm" ] |
124 configs += [ "//build/config/compiler:enable_arc" ] | 124 configs += [ "//build/config/compiler:enable_arc" ] |
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 rtc_source_set("video_test_support") { | 128 rtc_source_set("video_test_support") { |
129 testonly = true | 129 testonly = true |
130 | 130 |
131 sources = [ | 131 sources = [ |
| 132 "testsupport/frame_reader.cc", |
132 "testsupport/frame_reader.h", | 133 "testsupport/frame_reader.h", |
| 134 "testsupport/frame_writer.cc", |
133 "testsupport/frame_writer.h", | 135 "testsupport/frame_writer.h", |
134 "testsupport/metrics/video_metrics.cc", | 136 "testsupport/metrics/video_metrics.cc", |
135 "testsupport/metrics/video_metrics.h", | 137 "testsupport/metrics/video_metrics.h", |
136 "testsupport/mock/mock_frame_reader.h", | 138 "testsupport/mock/mock_frame_reader.h", |
137 "testsupport/mock/mock_frame_writer.h", | 139 "testsupport/mock/mock_frame_writer.h", |
138 "testsupport/y4m_frame_writer.cc", | |
139 "testsupport/yuv_frame_reader.cc", | |
140 "testsupport/yuv_frame_writer.cc", | |
141 ] | 140 ] |
142 | 141 |
143 deps = [ | 142 deps = [ |
144 "../base:rtc_base_approved", | 143 "../base:rtc_base_approved", |
145 "../common_video", | 144 "../common_video", |
146 "../system_wrappers", | 145 "../system_wrappers", |
147 "//testing/gmock", | 146 "//testing/gmock", |
148 "//testing/gtest", | 147 "//testing/gtest", |
149 "//third_party/gflags", | 148 "//third_party/gflags", |
150 ] | 149 ] |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 252 } |
254 | 253 |
255 rtc_test("test_support_unittests") { | 254 rtc_test("test_support_unittests") { |
256 deps = [] | 255 deps = [] |
257 sources = [ | 256 sources = [ |
258 "fake_network_pipe_unittest.cc", | 257 "fake_network_pipe_unittest.cc", |
259 "frame_generator_unittest.cc", | 258 "frame_generator_unittest.cc", |
260 "rtp_file_reader_unittest.cc", | 259 "rtp_file_reader_unittest.cc", |
261 "rtp_file_writer_unittest.cc", | 260 "rtp_file_writer_unittest.cc", |
262 "testsupport/always_passing_unittest.cc", | 261 "testsupport/always_passing_unittest.cc", |
| 262 "testsupport/frame_reader_unittest.cc", |
| 263 "testsupport/frame_writer_unittest.cc", |
263 "testsupport/isolated_output_unittest.cc", | 264 "testsupport/isolated_output_unittest.cc", |
264 "testsupport/metrics/video_metrics_unittest.cc", | 265 "testsupport/metrics/video_metrics_unittest.cc", |
265 "testsupport/packet_reader_unittest.cc", | 266 "testsupport/packet_reader_unittest.cc", |
266 "testsupport/perf_test_unittest.cc", | 267 "testsupport/perf_test_unittest.cc", |
267 "testsupport/y4m_frame_writer_unittest.cc", | |
268 "testsupport/yuv_frame_reader_unittest.cc", | |
269 "testsupport/yuv_frame_writer_unittest.cc", | |
270 ] | 268 ] |
271 | 269 |
272 # TODO(jschuh): Bug 1348: fix this warning. | 270 # TODO(jschuh): Bug 1348: fix this warning. |
273 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 271 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
274 | 272 |
275 if (is_win) { | 273 if (is_win) { |
276 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat
ure. | 274 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat
ure. |
277 } | 275 } |
278 | 276 |
279 if (!build_with_chromium && is_clang) { | 277 if (!build_with_chromium && is_clang) { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 457 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
460 } | 458 } |
461 | 459 |
462 deps = [ | 460 deps = [ |
463 ":test_support", | 461 ":test_support", |
464 ":video_test_common", | 462 ":video_test_common", |
465 "../modules/media_file", | 463 "../modules/media_file", |
466 "//testing/gtest", | 464 "//testing/gtest", |
467 ] | 465 ] |
468 } | 466 } |
OLD | NEW |