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