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