OLD | NEW |
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/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
11 | 11 |
12 use_desktop_capture_differ_sse2 = | 12 use_desktop_capture_differ_sse2 = |
13 !is_ios && (current_cpu == "x86" || current_cpu == "x64") | 13 !is_ios && (current_cpu == "x86" || current_cpu == "x64") |
14 | 14 |
15 rtc_static_library("primitives") { | 15 rtc_static_library("primitives") { |
16 sources = [ | 16 sources = [ |
17 "desktop_capture_types.h", | 17 "desktop_capture_types.h", |
18 "desktop_frame.cc", | 18 "desktop_frame.cc", |
19 "desktop_frame.h", | 19 "desktop_frame.h", |
20 "desktop_geometry.cc", | 20 "desktop_geometry.cc", |
21 "desktop_geometry.h", | 21 "desktop_geometry.h", |
22 "desktop_region.cc", | 22 "desktop_region.cc", |
23 "desktop_region.h", | 23 "desktop_region.h", |
| 24 "shared_desktop_frame.cc", |
| 25 "shared_desktop_frame.h", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
24 ] | 30 ] |
25 } | 31 } |
26 | 32 |
27 rtc_static_library("desktop_capture") { | 33 rtc_static_library("desktop_capture") { |
28 sources = [ | 34 sources = [ |
29 "cropped_desktop_frame.cc", | 35 "cropped_desktop_frame.cc", |
30 "cropped_desktop_frame.h", | 36 "cropped_desktop_frame.h", |
31 "cropping_window_capturer.cc", | 37 "cropping_window_capturer.cc", |
32 "cropping_window_capturer.h", | 38 "cropping_window_capturer.h", |
33 "cropping_window_capturer_win.cc", | 39 "cropping_window_capturer_win.cc", |
(...skipping 18 matching lines...) Expand all Loading... |
52 "mouse_cursor.h", | 58 "mouse_cursor.h", |
53 "mouse_cursor_monitor.h", | 59 "mouse_cursor_monitor.h", |
54 "mouse_cursor_monitor_mac.mm", | 60 "mouse_cursor_monitor_mac.mm", |
55 "mouse_cursor_monitor_win.cc", | 61 "mouse_cursor_monitor_win.cc", |
56 "screen_capture_frame_queue.h", | 62 "screen_capture_frame_queue.h", |
57 "screen_capturer.h", | 63 "screen_capturer.h", |
58 "screen_capturer_helper.cc", | 64 "screen_capturer_helper.cc", |
59 "screen_capturer_helper.h", | 65 "screen_capturer_helper.h", |
60 "screen_capturer_mac.mm", | 66 "screen_capturer_mac.mm", |
61 "screen_capturer_win.cc", | 67 "screen_capturer_win.cc", |
62 "shared_desktop_frame.cc", | |
63 "shared_desktop_frame.h", | |
64 "shared_memory.cc", | 68 "shared_memory.cc", |
65 "shared_memory.h", | 69 "shared_memory.h", |
66 "win/cursor.cc", | 70 "win/cursor.cc", |
67 "win/cursor.h", | 71 "win/cursor.h", |
68 "win/d3d_device.cc", | 72 "win/d3d_device.cc", |
69 "win/d3d_device.h", | 73 "win/d3d_device.h", |
70 "win/desktop.cc", | 74 "win/desktop.cc", |
71 "win/desktop.h", | 75 "win/desktop.h", |
72 "win/dxgi_adapter_duplicator.cc", | 76 "win/dxgi_adapter_duplicator.cc", |
73 "win/dxgi_adapter_duplicator.h", | 77 "win/dxgi_adapter_duplicator.h", |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 sources = [ | 174 sources = [ |
171 "differ_vector_sse2.cc", | 175 "differ_vector_sse2.cc", |
172 "differ_vector_sse2.h", | 176 "differ_vector_sse2.h", |
173 ] | 177 ] |
174 | 178 |
175 if (is_posix) { | 179 if (is_posix) { |
176 cflags = [ "-msse2" ] | 180 cflags = [ "-msse2" ] |
177 } | 181 } |
178 } | 182 } |
179 } | 183 } |
OLD | NEW |