| 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 = current_cpu == "x86" || current_cpu == "x64" |
| 13 !is_ios && (current_cpu == "x86" || current_cpu == "x64") | |
| 14 | 13 |
| 15 rtc_static_library("primitives") { | 14 rtc_static_library("primitives") { |
| 16 sources = [ | 15 sources = [ |
| 17 "desktop_capture_types.h", | 16 "desktop_capture_types.h", |
| 18 "desktop_frame.cc", | 17 "desktop_frame.cc", |
| 19 "desktop_frame.h", | 18 "desktop_frame.h", |
| 20 "desktop_geometry.cc", | 19 "desktop_geometry.cc", |
| 21 "desktop_geometry.h", | 20 "desktop_geometry.h", |
| 22 "desktop_region.cc", | 21 "desktop_region.cc", |
| 23 "desktop_region.h", | 22 "desktop_region.h", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "cropped_desktop_frame.h", | 86 "cropped_desktop_frame.h", |
| 88 "cropping_window_capturer.cc", | 87 "cropping_window_capturer.cc", |
| 89 "cropping_window_capturer.h", | 88 "cropping_window_capturer.h", |
| 90 "cropping_window_capturer_win.cc", | 89 "cropping_window_capturer_win.cc", |
| 91 "desktop_and_cursor_composer.cc", | 90 "desktop_and_cursor_composer.cc", |
| 92 "desktop_and_cursor_composer.h", | 91 "desktop_and_cursor_composer.h", |
| 93 "desktop_capture_options.cc", | 92 "desktop_capture_options.cc", |
| 94 "desktop_capture_options.h", | 93 "desktop_capture_options.h", |
| 95 "desktop_capturer.cc", | 94 "desktop_capturer.cc", |
| 96 "desktop_capturer.h", | 95 "desktop_capturer.h", |
| 96 "desktop_capturer_differ_wrapper.cc", |
| 97 "desktop_capturer_differ_wrapper.h", |
| 97 "desktop_frame_win.cc", | 98 "desktop_frame_win.cc", |
| 98 "desktop_frame_win.h", | 99 "desktop_frame_win.h", |
| 100 "differ_block.cc", |
| 101 "differ_block.h", |
| 99 "mac/desktop_configuration.h", | 102 "mac/desktop_configuration.h", |
| 100 "mac/desktop_configuration.mm", | 103 "mac/desktop_configuration.mm", |
| 101 "mac/desktop_configuration_monitor.cc", | 104 "mac/desktop_configuration_monitor.cc", |
| 102 "mac/desktop_configuration_monitor.h", | 105 "mac/desktop_configuration_monitor.h", |
| 103 "mac/full_screen_chrome_window_detector.cc", | 106 "mac/full_screen_chrome_window_detector.cc", |
| 104 "mac/full_screen_chrome_window_detector.h", | 107 "mac/full_screen_chrome_window_detector.h", |
| 105 "mac/scoped_pixel_buffer_object.cc", | 108 "mac/scoped_pixel_buffer_object.cc", |
| 106 "mac/scoped_pixel_buffer_object.h", | 109 "mac/scoped_pixel_buffer_object.h", |
| 107 "mac/window_list_utils.cc", | 110 "mac/window_list_utils.cc", |
| 108 "mac/window_list_utils.h", | 111 "mac/window_list_utils.h", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 } | 172 } |
| 170 | 173 |
| 171 if (!is_win && !is_mac && !use_x11) { | 174 if (!is_win && !is_mac && !use_x11) { |
| 172 sources += [ | 175 sources += [ |
| 173 "mouse_cursor_monitor_null.cc", | 176 "mouse_cursor_monitor_null.cc", |
| 174 "screen_capturer_null.cc", | 177 "screen_capturer_null.cc", |
| 175 "window_capturer_null.cc", | 178 "window_capturer_null.cc", |
| 176 ] | 179 ] |
| 177 } | 180 } |
| 178 | 181 |
| 179 if (!is_ios) { | |
| 180 sources += [ | |
| 181 "desktop_capturer_differ_wrapper.cc", | |
| 182 "desktop_capturer_differ_wrapper.h", | |
| 183 "differ_block.cc", | |
| 184 "differ_block.h", | |
| 185 ] | |
| 186 } | |
| 187 | |
| 188 if (is_mac) { | 182 if (is_mac) { |
| 189 libs = [ | 183 libs = [ |
| 190 "AppKit.framework", | 184 "AppKit.framework", |
| 191 "IOKit.framework", | 185 "IOKit.framework", |
| 192 "OpenGL.framework", | 186 "OpenGL.framework", |
| 193 ] | 187 ] |
| 194 } | 188 } |
| 195 | 189 |
| 196 if (is_win) { | 190 if (is_win) { |
| 197 libs = [ | 191 libs = [ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 219 sources = [ | 213 sources = [ |
| 220 "differ_vector_sse2.cc", | 214 "differ_vector_sse2.cc", |
| 221 "differ_vector_sse2.h", | 215 "differ_vector_sse2.h", |
| 222 ] | 216 ] |
| 223 | 217 |
| 224 if (is_posix) { | 218 if (is_posix) { |
| 225 cflags = [ "-msse2" ] | 219 cflags = [ "-msse2" ] |
| 226 } | 220 } |
| 227 } | 221 } |
| 228 } | 222 } |
| OLD | NEW |