1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
12 'target_name': 'desktop_capture',
13 'type': 'static_library',
15 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
18 "desktop_and_cursor_composer.cc",
19 "desktop_and_cursor_composer.h",
20 "desktop_capture_types.h",
24 "desktop_frame_win.cc",
25 "desktop_frame_win.h",
26 "desktop_geometry.cc",
28 "desktop_capture_options.h",
29 "desktop_capture_options.cc",
37 "mac/desktop_configuration.h",
38 "mac/desktop_configuration.mm",
39 "mac/desktop_configuration_monitor.h",
40 "mac/desktop_configuration_monitor.cc",
43 "mac/scoped_pixel_buffer_object.cc",
44 "mac/scoped_pixel_buffer_object.h",
47 "mouse_cursor_monitor.h",
48 "mouse_cursor_monitor_mac.mm",
49 "mouse_cursor_monitor_win.cc",
50 "mouse_cursor_monitor_x11.cc",
51 "mouse_cursor_shape.h",
52 "screen_capture_frame_queue.cc",
53 "screen_capture_frame_queue.h",
56 "screen_capturer_helper.cc",
57 "screen_capturer_helper.h",
58 "screen_capturer_mac.mm",
59 "screen_capturer_win.cc",
60 "screen_capturer_x11.cc",
61 "shared_desktop_frame.cc",
62 "shared_desktop_frame.h",
69 "win/scoped_gdi_object.h",
70 "win/scoped_thread_desktop.cc",
71 "win/scoped_thread_desktop.h",
74 "window_capturer_mac.cc",
75 "window_capturer_win.cc",
76 "window_capturer_x11.cc",
77 "x11/shared_x_display.h",
78 "x11/shared_x_display.cc",
79 "x11/x_error_trap.cc",
81 "x11/x_server_pixel_buffer.cc",
82 "x11/x_server_pixel_buffer.h",
85 ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64")', {
87 'desktop_capture_differ_sse2',
102 ['OS!="win" and OS!="mac" and use_x11==0', {
104 "mouse_cursor_monitor_null.cc",
105 "screen_capturer_null.cc",
106 "window_capturer_null.cc",
112 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
113 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
114 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
122 ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64")', {
125 # Have to be compiled as a separate target because it needs to be
126 # compiled with SSE2 enabled.
127 'target_name': 'desktop_capture_differ_sse2',
128 'type': 'static_library',
130 "differ_block_sse2.cc",
131 "differ_block_sse2.h",
134 [ 'os_posix == 1 and OS != "mac"', {