Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Side by Side Diff: webrtc/test/BUILD.gn

Issue 2629923002: GN: Refactor modules_unittests to eliminate package boundary violations. (Closed)
Patch Set: Addressing comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_processing/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 "testsupport/metrics/video_metrics.cc", 133 "testsupport/metrics/video_metrics.cc",
134 "testsupport/metrics/video_metrics.h", 134 "testsupport/metrics/video_metrics.h",
135 "testsupport/mock/mock_frame_reader.h", 135 "testsupport/mock/mock_frame_reader.h",
136 "testsupport/mock/mock_frame_writer.h", 136 "testsupport/mock/mock_frame_writer.h",
137 "testsupport/packet_reader.cc", 137 "testsupport/packet_reader.cc",
138 "testsupport/packet_reader.h", 138 "testsupport/packet_reader.h",
139 "testsupport/perf_test.cc", 139 "testsupport/perf_test.cc",
140 "testsupport/perf_test.h", 140 "testsupport/perf_test.h",
141 "testsupport/trace_to_stderr.cc", 141 "testsupport/trace_to_stderr.cc",
142 "testsupport/trace_to_stderr.h", 142 "testsupport/trace_to_stderr.h",
143 "testsupport/unittest_utils.h",
143 ] 144 ]
144 145
145 deps = [ 146 deps = [
146 ":video_test_common", 147 ":video_test_common",
147 "../base:gtest_prod", 148 "../base:gtest_prod",
148 "../base:rtc_base_approved", 149 "../base:rtc_base_approved",
149 "../common_video", 150 "../common_video",
150 "../system_wrappers", 151 "../system_wrappers",
151 "//testing/gmock", 152 "//testing/gmock",
152 "//testing/gtest", 153 "//testing/gtest",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "frame_generator_unittest.cc", 215 "frame_generator_unittest.cc",
215 "rtp_file_reader_unittest.cc", 216 "rtp_file_reader_unittest.cc",
216 "rtp_file_writer_unittest.cc", 217 "rtp_file_writer_unittest.cc",
217 "testsupport/always_passing_unittest.cc", 218 "testsupport/always_passing_unittest.cc",
218 "testsupport/frame_reader_unittest.cc", 219 "testsupport/frame_reader_unittest.cc",
219 "testsupport/frame_writer_unittest.cc", 220 "testsupport/frame_writer_unittest.cc",
220 "testsupport/isolated_output_unittest.cc", 221 "testsupport/isolated_output_unittest.cc",
221 "testsupport/metrics/video_metrics_unittest.cc", 222 "testsupport/metrics/video_metrics_unittest.cc",
222 "testsupport/packet_reader_unittest.cc", 223 "testsupport/packet_reader_unittest.cc",
223 "testsupport/perf_test_unittest.cc", 224 "testsupport/perf_test_unittest.cc",
224 "testsupport/unittest_utils.h",
225 ] 225 ]
226 226
227 # TODO(jschuh): Bug 1348: fix this warning. 227 # TODO(jschuh): Bug 1348: fix this warning.
228 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 228 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
229 229
230 if (is_win) { 230 if (is_win) {
231 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat ure. 231 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat ure.
232 } 232 }
233 233
234 if (!build_with_chromium && is_clang) { 234 if (!build_with_chromium && is_clang) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 ":test_support", 326 ":test_support",
327 "..:webrtc_common", 327 "..:webrtc_common",
328 "../api:transport_api", 328 "../api:transport_api",
329 "../audio", 329 "../audio",
330 "../base:rtc_base_approved", 330 "../base:rtc_base_approved",
331 "../call", 331 "../call",
332 "../modules/audio_device:mock_audio_device", 332 "../modules/audio_device:mock_audio_device",
333 "../modules/audio_mixer:audio_mixer_impl", 333 "../modules/audio_mixer:audio_mixer_impl",
334 "../modules/audio_processing", 334 "../modules/audio_processing",
335 "../modules/media_file", 335 "../modules/media_file",
336 "../modules/video_capture:video_capture",
336 "../modules/video_capture:video_capture_module", 337 "../modules/video_capture:video_capture_module",
337 "../video", 338 "../video",
338 "//testing/gmock", 339 "//testing/gmock",
339 "//testing/gtest", 340 "//testing/gtest",
340 ] 341 ]
341 } 342 }
342 343
343 config("test_renderer_exported_config") { 344 config("test_renderer_exported_config") {
344 if (is_win && is_clang) { 345 if (is_win && is_clang) {
345 # GN orders flags on a target before flags from configs. The default config 346 # GN orders flags on a target before flags from configs. The default config
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 406 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
406 } 407 }
407 408
408 deps = [ 409 deps = [
409 ":test_support", 410 ":test_support",
410 ":video_test_common", 411 ":video_test_common",
411 "../modules/media_file", 412 "../modules/media_file",
412 "//testing/gtest", 413 "//testing/gtest",
413 ] 414 ]
414 } 415 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698