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

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

Issue 2444583002: Move ScreenCapturer 'real' tests out of screen_capturer_unittest.cc. (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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 | « no previous file | webrtc/modules/desktop_capture/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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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("audio_coding/audio_coding.gni") 10 import("audio_coding/audio_coding.gni")
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "..:webrtc_common", 63 "..:webrtc_common",
64 "../common_video", 64 "../common_video",
65 "../modules/audio_coding", 65 "../modules/audio_coding",
66 "../modules/rtp_rtcp", 66 "../modules/rtp_rtcp",
67 "../modules/utility", 67 "../modules/utility",
68 "../modules/video_coding", 68 "../modules/video_coding",
69 "../modules/video_coding:video_codecs_test_framework", 69 "../modules/video_coding:video_codecs_test_framework",
70 "../system_wrappers", 70 "../system_wrappers",
71 "../test:test_support", 71 "../test:test_support",
72 "../test:test_support_main", 72 "../test:test_support_main",
73 "//testing/gmock",
73 "//testing/gtest", 74 "//testing/gtest",
74 ] 75 ]
75 76
76 sources = [ 77 sources = [
77 "audio_coding/test/APITest.cc", 78 "audio_coding/test/APITest.cc",
78 "audio_coding/test/Channel.cc", 79 "audio_coding/test/Channel.cc",
79 "audio_coding/test/EncodeDecodeTest.cc", 80 "audio_coding/test/EncodeDecodeTest.cc",
80 "audio_coding/test/PCMFile.cc", 81 "audio_coding/test/PCMFile.cc",
81 "audio_coding/test/PacketLossTest.cc", 82 "audio_coding/test/PacketLossTest.cc",
82 "audio_coding/test/RTPFile.cc", 83 "audio_coding/test/RTPFile.cc",
83 "audio_coding/test/TestAllCodecs.cc", 84 "audio_coding/test/TestAllCodecs.cc",
84 "audio_coding/test/TestRedFec.cc", 85 "audio_coding/test/TestRedFec.cc",
85 "audio_coding/test/TestStereo.cc", 86 "audio_coding/test/TestStereo.cc",
86 "audio_coding/test/TestVADDTX.cc", 87 "audio_coding/test/TestVADDTX.cc",
87 "audio_coding/test/Tester.cc", 88 "audio_coding/test/Tester.cc",
88 "audio_coding/test/TwoWayCommunication.cc", 89 "audio_coding/test/TwoWayCommunication.cc",
89 "audio_coding/test/iSACTest.cc", 90 "audio_coding/test/iSACTest.cc",
90 "audio_coding/test/opus_test.cc", 91 "audio_coding/test/opus_test.cc",
91 "audio_coding/test/target_delay_unittest.cc", 92 "audio_coding/test/target_delay_unittest.cc",
92 "audio_coding/test/utility.cc", 93 "audio_coding/test/utility.cc",
93 "rtp_rtcp/test/testFec/test_fec.cc", 94 "rtp_rtcp/test/testFec/test_fec.cc",
94 "video_coding/codecs/test/videoprocessor_integrationtest.cc", 95 "video_coding/codecs/test/videoprocessor_integrationtest.cc",
95 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc", 96 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc",
96 ] 97 ]
97 98
99 if (rtc_desktop_capture_supported) {
100 deps += [ "desktop_capture:desktop_capture_test_tools" ]
101 sources += [ "desktop_capture/screen_capturer_integration_test.cc" ]
102 }
103
98 data = modules_tests_resources 104 data = modules_tests_resources
99 105
100 if (is_android) { 106 if (is_android) {
101 deps += [ "//testing/android/native_test:native_test_native_code" ] 107 deps += [ "//testing/android/native_test:native_test_native_code" ]
102 shard_timeout = 900 108 shard_timeout = 900
103 } 109 }
104 110
105 if (is_ios) { 111 if (is_ios) {
106 deps += [ ":modules_tests_bundle_data" ] 112 deps += [ ":modules_tests_bundle_data" ]
107 } 113 }
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 533
528 if (rtc_desktop_capture_supported || is_android) { 534 if (rtc_desktop_capture_supported || is_android) {
529 deps += [ "desktop_capture" ] 535 deps += [ "desktop_capture" ]
530 sources += [ 536 sources += [
531 "desktop_capture/desktop_region_unittest.cc", 537 "desktop_capture/desktop_region_unittest.cc",
532 "desktop_capture/differ_block_unittest.cc", 538 "desktop_capture/differ_block_unittest.cc",
533 ] 539 ]
534 } 540 }
535 541
536 if (rtc_desktop_capture_supported) { 542 if (rtc_desktop_capture_supported) {
537 deps += [ "desktop_capture" ] 543 deps += [ "desktop_capture:desktop_capture_test_tools" ]
538 sources += [ 544 sources += [
539 "desktop_capture/desktop_and_cursor_composer_unittest.cc", 545 "desktop_capture/desktop_and_cursor_composer_unittest.cc",
540 "desktop_capture/desktop_frame_generator.cc", 546 "desktop_capture/desktop_frame_generator.cc",
541 "desktop_capture/desktop_frame_generator.h", 547 "desktop_capture/desktop_frame_generator.h",
542 "desktop_capture/fake_desktop_capturer.h", 548 "desktop_capture/fake_desktop_capturer.h",
543 "desktop_capture/fake_screen_capturer.cc", 549 "desktop_capture/fake_screen_capturer.cc",
544 "desktop_capture/fake_screen_capturer.h", 550 "desktop_capture/fake_screen_capturer.h",
545 "desktop_capture/mouse_cursor_monitor_unittest.cc", 551 "desktop_capture/mouse_cursor_monitor_unittest.cc",
546 "desktop_capture/rgba_color.cc",
547 "desktop_capture/rgba_color.h",
548 "desktop_capture/rgba_color_unittest.cc", 552 "desktop_capture/rgba_color_unittest.cc",
549 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc", 553 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc",
550 "desktop_capture/screen_capturer_helper_unittest.cc", 554 "desktop_capture/screen_capturer_helper_unittest.cc",
551 "desktop_capture/screen_capturer_mac_unittest.cc", 555 "desktop_capture/screen_capturer_mac_unittest.cc",
552 "desktop_capture/screen_capturer_mock_objects.h", 556 "desktop_capture/screen_capturer_mock_objects.h",
553 "desktop_capture/screen_capturer_unittest.cc", 557 "desktop_capture/screen_capturer_unittest.cc",
554 "desktop_capture/screen_drawer.cc",
555 "desktop_capture/screen_drawer.h",
556 "desktop_capture/screen_drawer_linux.cc",
557 "desktop_capture/screen_drawer_mac.cc",
558 "desktop_capture/screen_drawer_unittest.cc", 558 "desktop_capture/screen_drawer_unittest.cc",
559 "desktop_capture/screen_drawer_win.cc",
560 "desktop_capture/win/cursor_unittest.cc", 559 "desktop_capture/win/cursor_unittest.cc",
561 "desktop_capture/win/cursor_unittest_resources.h", 560 "desktop_capture/win/cursor_unittest_resources.h",
562 "desktop_capture/win/cursor_unittest_resources.rc", 561 "desktop_capture/win/cursor_unittest_resources.rc",
563 "desktop_capture/window_capturer_unittest.cc", 562 "desktop_capture/window_capturer_unittest.cc",
564 ] 563 ]
565 } 564 }
566 565
567 if (rtc_prefer_fixed_point) { 566 if (rtc_prefer_fixed_point) {
568 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ] 567 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ]
569 } else { 568 } else {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 "../test:test_common", 735 "../test:test_common",
737 "../test:test_support_main", 736 "../test:test_support_main",
738 "remote_bitrate_estimator:bwe_simulator_lib", 737 "remote_bitrate_estimator:bwe_simulator_lib",
739 "video_capture", 738 "video_capture",
740 "//testing/gmock", 739 "//testing/gmock",
741 "//testing/gtest", 740 "//testing/gtest",
742 "//third_party/gflags", 741 "//third_party/gflags",
743 ] 742 ]
744 } 743 }
745 } 744 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698