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/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 rtc_source_set("test_support") { | 121 rtc_source_set("test_support") { |
122 testonly = true | 122 testonly = true |
123 | 123 |
124 sources = [ | 124 sources = [ |
125 "gmock.h", | 125 "gmock.h", |
126 "gtest.h", | 126 "gtest.h", |
127 "testsupport/frame_reader.cc", | 127 "testsupport/frame_reader.cc", |
128 "testsupport/frame_reader.h", | 128 "testsupport/frame_reader.h", |
129 "testsupport/frame_writer.cc", | 129 "testsupport/frame_writer.cc", |
130 "testsupport/frame_writer.h", | 130 "testsupport/frame_writer.h", |
| 131 "testsupport/isolated_output.cc", |
| 132 "testsupport/isolated_output.h", |
131 "testsupport/metrics/video_metrics.cc", | 133 "testsupport/metrics/video_metrics.cc", |
132 "testsupport/metrics/video_metrics.h", | 134 "testsupport/metrics/video_metrics.h", |
133 "testsupport/mock/mock_frame_reader.h", | 135 "testsupport/mock/mock_frame_reader.h", |
134 "testsupport/mock/mock_frame_writer.h", | 136 "testsupport/mock/mock_frame_writer.h", |
135 "testsupport/packet_reader.cc", | 137 "testsupport/packet_reader.cc", |
136 "testsupport/packet_reader.h", | 138 "testsupport/packet_reader.h", |
137 "testsupport/perf_test.cc", | 139 "testsupport/perf_test.cc", |
138 "testsupport/perf_test.h", | 140 "testsupport/perf_test.h", |
139 "testsupport/trace_to_stderr.cc", | 141 "testsupport/trace_to_stderr.cc", |
140 "testsupport/trace_to_stderr.h", | 142 "testsupport/trace_to_stderr.h", |
141 ] | 143 ] |
142 | 144 |
143 deps = [ | 145 deps = [ |
144 ":video_test_common", | 146 ":video_test_common", |
145 "../base:gtest_prod", | 147 "../base:gtest_prod", |
146 "../base:rtc_base_approved", | 148 "../base:rtc_base_approved", |
147 "../common_video", | 149 "../common_video", |
148 "../system_wrappers", | 150 "../system_wrappers", |
149 "//testing/gmock", | 151 "//testing/gmock", |
150 "//testing/gtest", | 152 "//testing/gtest", |
| 153 "//third_party/gflags", |
151 ] | 154 ] |
152 | 155 |
153 public_deps = [ | 156 public_deps = [ |
154 ":fileutils", | 157 ":fileutils", |
155 ] | 158 ] |
156 | 159 |
157 if (!build_with_chromium && is_clang) { | 160 if (!build_with_chromium && is_clang) { |
158 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 161 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
159 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 162 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
160 } | 163 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 rtc_test("test_support_unittests") { | 209 rtc_test("test_support_unittests") { |
207 deps = [] | 210 deps = [] |
208 sources = [ | 211 sources = [ |
209 "fake_network_pipe_unittest.cc", | 212 "fake_network_pipe_unittest.cc", |
210 "frame_generator_unittest.cc", | 213 "frame_generator_unittest.cc", |
211 "rtp_file_reader_unittest.cc", | 214 "rtp_file_reader_unittest.cc", |
212 "rtp_file_writer_unittest.cc", | 215 "rtp_file_writer_unittest.cc", |
213 "testsupport/always_passing_unittest.cc", | 216 "testsupport/always_passing_unittest.cc", |
214 "testsupport/frame_reader_unittest.cc", | 217 "testsupport/frame_reader_unittest.cc", |
215 "testsupport/frame_writer_unittest.cc", | 218 "testsupport/frame_writer_unittest.cc", |
| 219 "testsupport/isolated_output_unittest.cc", |
216 "testsupport/metrics/video_metrics_unittest.cc", | 220 "testsupport/metrics/video_metrics_unittest.cc", |
217 "testsupport/packet_reader_unittest.cc", | 221 "testsupport/packet_reader_unittest.cc", |
218 "testsupport/perf_test_unittest.cc", | 222 "testsupport/perf_test_unittest.cc", |
219 "testsupport/unittest_utils.h", | 223 "testsupport/unittest_utils.h", |
220 ] | 224 ] |
221 | 225 |
222 # TODO(jschuh): Bug 1348: fix this warning. | 226 # TODO(jschuh): Bug 1348: fix this warning. |
223 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 227 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
224 | 228 |
225 if (is_win) { | 229 if (is_win) { |
(...skipping 15 matching lines...) Expand all Loading... |
241 deps += [ ":test_support_unittests_bundle_data" ] | 245 deps += [ ":test_support_unittests_bundle_data" ] |
242 } | 246 } |
243 | 247 |
244 deps += [ | 248 deps += [ |
245 ":fileutils_unittests", | 249 ":fileutils_unittests", |
246 ":test_common", | 250 ":test_common", |
247 ":test_main", | 251 ":test_main", |
248 "../modules/video_capture", | 252 "../modules/video_capture", |
249 "//testing/gmock", | 253 "//testing/gmock", |
250 "//testing/gtest", | 254 "//testing/gtest", |
| 255 "//third_party/gflags", |
251 ] | 256 ] |
252 } | 257 } |
253 rtc_source_set("fileutils_unittests") { | 258 rtc_source_set("fileutils_unittests") { |
254 testonly = true | 259 testonly = true |
255 sources = [ | 260 sources = [ |
256 "testsupport/fileutils_unittest.cc", | 261 "testsupport/fileutils_unittest.cc", |
257 ] | 262 ] |
258 deps = [ | 263 deps = [ |
259 ":fileutils", | 264 ":fileutils", |
260 "//testing/gmock", | 265 "//testing/gmock", |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 404 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
400 } | 405 } |
401 | 406 |
402 deps = [ | 407 deps = [ |
403 ":test_support", | 408 ":test_support", |
404 ":video_test_common", | 409 ":video_test_common", |
405 "../modules/media_file", | 410 "../modules/media_file", |
406 "//testing/gtest", | 411 "//testing/gtest", |
407 ] | 412 ] |
408 } | 413 } |
OLD | NEW |