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

Side by Side Diff: webrtc/modules/video_coding/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/utility/BUILD.gn ('k') | webrtc/modules/video_processing/BUILD.gn » ('j') | 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 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 deps = [ 303 deps = [
304 ":video_coding", 304 ":video_coding",
305 ":video_coding_utility", 305 ":video_coding_utility",
306 "../..:webrtc_common", 306 "../..:webrtc_common",
307 "../../base:rtc_base_approved", 307 "../../base:rtc_base_approved",
308 "../../common_video:common_video", 308 "../../common_video:common_video",
309 "../../system_wrappers:system_wrappers", 309 "../../system_wrappers:system_wrappers",
310 "../../test:test_support", 310 "../../test:test_support",
311 ] 311 ]
312 } 312 }
313 rtc_source_set("video_coding_unittests") {
314 testonly = true
315 sources = [
316 "codecs/test/packet_manipulator_unittest.cc",
317 "codecs/test/stats_unittest.cc",
318 "codecs/test/videoprocessor_unittest.cc",
319 "codecs/vp8/default_temporal_layers_unittest.cc",
320 "codecs/vp8/reference_picture_selection_unittest.cc",
321 "codecs/vp8/screenshare_layers_unittest.cc",
322 "codecs/vp8/simulcast_encoder_adapter_unittest.cc",
323 "codecs/vp8/simulcast_unittest.cc",
324 "codecs/vp8/simulcast_unittest.h",
325 "decoding_state_unittest.cc",
326 "frame_buffer2_unittest.cc",
327 "h264_sprop_parameter_sets_unittest.cc",
328 "h264_sps_pps_tracker_unittest.cc",
329 "histogram_unittest.cc",
330 "include/mock/mock_vcm_callbacks.h",
331 "jitter_buffer_unittest.cc",
332 "jitter_estimator_tests.cc",
333 "nack_module_unittest.cc",
334 "protection_bitrate_calculator_unittest.cc",
335 "receiver_unittest.cc",
336 "rtp_frame_reference_finder_unittest.cc",
337 "sequence_number_util_unittest.cc",
338 "session_info_unittest.cc",
339 "test/stream_generator.cc",
340 "test/stream_generator.h",
341 "timing_unittest.cc",
342 "utility/default_video_bitrate_allocator_unittest.cc",
343 "utility/frame_dropper_unittest.cc",
344 "utility/ivf_file_writer_unittest.cc",
345 "utility/moving_average_unittest.cc",
346 "utility/quality_scaler_unittest.cc",
347 "utility/simulcast_rate_allocator_unittest.cc",
348 "video_coding_robustness_unittest.cc",
349 "video_packet_buffer_unittest.cc",
350 "video_receiver_unittest.cc",
351 "video_sender_unittest.cc",
352 ]
353 if (rtc_libvpx_build_vp9) {
354 sources += [ "codecs/vp9/vp9_screenshare_layers_unittest.cc" ]
355 }
356 if (rtc_use_h264) {
357 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ]
358 }
359 deps = [
360 ":video_codecs_test_framework",
361 ":video_coding",
362 ":video_coding_utility",
363 ":webrtc_h264",
364 ":webrtc_vp8",
365 ":webrtc_vp9",
366 "../..:webrtc_common",
367 "../../api:video_frame_api",
368 "../../base:rtc_base",
369 "../../base:rtc_base_approved",
370 "../../base:rtc_task_queue",
371 "../../common_video:common_video",
372 "../../system_wrappers:metrics_default",
373 "../../system_wrappers:system_wrappers",
374 "../../test:field_trial",
375 "../../test:test_support",
376 "../../test:video_test_common",
377 "../rtp_rtcp:rtp_rtcp",
378 "//testing/gmock",
379 ]
380 if (rtc_build_libvpx) {
381 deps += [ rtc_libvpx_dir ]
382 }
383 if (is_win) {
384 cflags = [
385 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
386 "/wd4373", # virtual function override.
387 ]
388 }
389
390 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
391 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
392 if (!build_with_chromium && is_clang) {
393 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
394 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
395 }
396 }
313 } 397 }
OLDNEW
« no previous file with comments | « webrtc/modules/utility/BUILD.gn ('k') | webrtc/modules/video_processing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698