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

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

Issue 2468753002: Add CreateWindowCapturer() and CreateScreenCapturer() in DesktopCapturer (Closed)
Patch Set: Build break without X11 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")
11 import("desktop_capture/desktop_capture.gni")
11 12
12 declare_args() { 13 declare_args() {
13 # Desktop capturer is supported only on Windows, OSX and Linux. 14 # Desktop capturer is supported only on Windows, OSX and Linux.
14 rtc_desktop_capture_supported = is_win || is_mac || is_linux 15 rtc_desktop_capture_supported = rtc_desktop_capture_supported
15 } 16 }
16 17
17 group("modules") { 18 group("modules") {
18 public_deps = [ 19 public_deps = [
19 "audio_coding", 20 "audio_coding",
20 "audio_conference_mixer", 21 "audio_conference_mixer",
21 "audio_device", 22 "audio_device",
22 "audio_mixer", 23 "audio_mixer",
23 "audio_processing", 24 "audio_processing",
24 "bitrate_controller", 25 "bitrate_controller",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 "audio_coding/test/iSACTest.cc", 96 "audio_coding/test/iSACTest.cc",
96 "audio_coding/test/opus_test.cc", 97 "audio_coding/test/opus_test.cc",
97 "audio_coding/test/target_delay_unittest.cc", 98 "audio_coding/test/target_delay_unittest.cc",
98 "audio_coding/test/utility.cc", 99 "audio_coding/test/utility.cc",
99 "rtp_rtcp/test/testFec/test_fec.cc", 100 "rtp_rtcp/test/testFec/test_fec.cc",
100 "video_coding/codecs/test/videoprocessor_integrationtest.cc", 101 "video_coding/codecs/test/videoprocessor_integrationtest.cc",
101 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc", 102 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc",
102 ] 103 ]
103 104
104 if (rtc_desktop_capture_supported) { 105 if (rtc_desktop_capture_supported) {
105 deps += [ "desktop_capture:desktop_capture_test_tools" ] 106 deps += [ "desktop_capture:screen_drawer" ]
106 sources += [ "desktop_capture/screen_capturer_integration_test.cc" ] 107 sources += [
108 "desktop_capture/screen_capturer_integration_test.cc",
109 "desktop_capture/screen_drawer_unittest.cc",
110 ]
107 } 111 }
108 112
109 data = modules_tests_resources 113 data = modules_tests_resources
110 114
111 if (is_android) { 115 if (is_android) {
112 deps += [ "//testing/android/native_test:native_test_native_code" ] 116 deps += [ "//testing/android/native_test:native_test_native_code" ]
113 shard_timeout = 900 117 shard_timeout = 900
114 } 118 }
115 119
116 if (is_ios) { 120 if (is_ios) {
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 541
538 if (rtc_desktop_capture_supported || is_android) { 542 if (rtc_desktop_capture_supported || is_android) {
539 deps += [ "desktop_capture" ] 543 deps += [ "desktop_capture" ]
540 sources += [ 544 sources += [
541 "desktop_capture/desktop_region_unittest.cc", 545 "desktop_capture/desktop_region_unittest.cc",
542 "desktop_capture/differ_block_unittest.cc", 546 "desktop_capture/differ_block_unittest.cc",
543 ] 547 ]
544 } 548 }
545 549
546 if (rtc_desktop_capture_supported) { 550 if (rtc_desktop_capture_supported) {
547 deps += [ "desktop_capture:desktop_capture_test_tools" ] 551 deps += [ "desktop_capture:desktop_capture_mock" ]
548 sources += [ 552 sources += [
549 "desktop_capture/desktop_and_cursor_composer_unittest.cc", 553 "desktop_capture/desktop_and_cursor_composer_unittest.cc",
550 "desktop_capture/desktop_frame_generator.cc", 554 "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc",
551 "desktop_capture/desktop_frame_generator.h",
552 "desktop_capture/fake_desktop_capturer.h",
553 "desktop_capture/fake_screen_capturer.cc",
554 "desktop_capture/fake_screen_capturer.h",
555 "desktop_capture/mouse_cursor_monitor_unittest.cc", 555 "desktop_capture/mouse_cursor_monitor_unittest.cc",
556 "desktop_capture/rgba_color_unittest.cc", 556 "desktop_capture/rgba_color_unittest.cc",
557 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc", 557 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc",
558 "desktop_capture/screen_capturer_helper_unittest.cc", 558 "desktop_capture/screen_capturer_helper_unittest.cc",
559 "desktop_capture/screen_capturer_mac_unittest.cc", 559 "desktop_capture/screen_capturer_mac_unittest.cc",
560 "desktop_capture/screen_capturer_mock_objects.h", 560 "desktop_capture/screen_capturer_mock_objects.h",
561 "desktop_capture/screen_capturer_unittest.cc", 561 "desktop_capture/screen_capturer_unittest.cc",
562 "desktop_capture/screen_drawer_unittest.cc",
563 "desktop_capture/win/cursor_unittest.cc", 562 "desktop_capture/win/cursor_unittest.cc",
564 "desktop_capture/win/cursor_unittest_resources.h", 563 "desktop_capture/win/cursor_unittest_resources.h",
565 "desktop_capture/win/cursor_unittest_resources.rc", 564 "desktop_capture/win/cursor_unittest_resources.rc",
566 "desktop_capture/window_capturer_unittest.cc", 565 "desktop_capture/window_capturer_unittest.cc",
567 ] 566 ]
568 } 567 }
569 568
570 if (rtc_prefer_fixed_point) { 569 if (rtc_prefer_fixed_point) {
571 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ] 570 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ]
572 } else { 571 } else {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 "../test:test_common", 741 "../test:test_common",
743 "../test:test_support_main", 742 "../test:test_support_main",
744 "remote_bitrate_estimator:bwe_simulator_lib", 743 "remote_bitrate_estimator:bwe_simulator_lib",
745 "video_capture", 744 "video_capture",
746 "//testing/gmock", 745 "//testing/gmock",
747 "//testing/gtest", 746 "//testing/gtest",
748 "//third_party/gflags", 747 "//third_party/gflags",
749 ] 748 ]
750 } 749 }
751 } 750 }
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