| 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") |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "cropped_desktop_frame.h", | 87 "cropped_desktop_frame.h", |
| 88 "cropping_window_capturer.cc", | 88 "cropping_window_capturer.cc", |
| 89 "cropping_window_capturer.h", | 89 "cropping_window_capturer.h", |
| 90 "cropping_window_capturer_win.cc", | 90 "cropping_window_capturer_win.cc", |
| 91 "desktop_and_cursor_composer.cc", | 91 "desktop_and_cursor_composer.cc", |
| 92 "desktop_and_cursor_composer.h", | 92 "desktop_and_cursor_composer.h", |
| 93 "desktop_capture_options.cc", | 93 "desktop_capture_options.cc", |
| 94 "desktop_capture_options.h", | 94 "desktop_capture_options.h", |
| 95 "desktop_capturer.cc", | 95 "desktop_capturer.cc", |
| 96 "desktop_capturer.h", | 96 "desktop_capturer.h", |
| 97 "desktop_frame_rotator.cc", |
| 98 "desktop_frame_rotator.h", |
| 97 "desktop_frame_win.cc", | 99 "desktop_frame_win.cc", |
| 98 "desktop_frame_win.h", | 100 "desktop_frame_win.h", |
| 99 "mac/desktop_configuration.h", | 101 "mac/desktop_configuration.h", |
| 100 "mac/desktop_configuration.mm", | 102 "mac/desktop_configuration.mm", |
| 101 "mac/desktop_configuration_monitor.cc", | 103 "mac/desktop_configuration_monitor.cc", |
| 102 "mac/desktop_configuration_monitor.h", | 104 "mac/desktop_configuration_monitor.h", |
| 103 "mac/full_screen_chrome_window_detector.cc", | 105 "mac/full_screen_chrome_window_detector.cc", |
| 104 "mac/full_screen_chrome_window_detector.h", | 106 "mac/full_screen_chrome_window_detector.h", |
| 105 "mac/scoped_pixel_buffer_object.cc", | 107 "mac/scoped_pixel_buffer_object.cc", |
| 106 "mac/scoped_pixel_buffer_object.h", | 108 "mac/scoped_pixel_buffer_object.h", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 libs = [ | 199 libs = [ |
| 198 "d3d11.lib", | 200 "d3d11.lib", |
| 199 "dxgi.lib", | 201 "dxgi.lib", |
| 200 ] | 202 ] |
| 201 } | 203 } |
| 202 | 204 |
| 203 deps = [ | 205 deps = [ |
| 204 ":primitives", | 206 ":primitives", |
| 205 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. | 207 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
| 206 "../../system_wrappers", | 208 "../../system_wrappers", |
| 209 "//third_party/libyuv", |
| 207 ] | 210 ] |
| 208 | 211 |
| 209 if (use_desktop_capture_differ_sse2) { | 212 if (use_desktop_capture_differ_sse2) { |
| 210 deps += [ ":desktop_capture_differ_sse2" ] | 213 deps += [ ":desktop_capture_differ_sse2" ] |
| 211 } | 214 } |
| 212 } | 215 } |
| 213 | 216 |
| 214 if (use_desktop_capture_differ_sse2) { | 217 if (use_desktop_capture_differ_sse2) { |
| 215 # Have to be compiled as a separate target because it needs to be compiled | 218 # Have to be compiled as a separate target because it needs to be compiled |
| 216 # with SSE2 enabled. | 219 # with SSE2 enabled. |
| 217 rtc_static_library("desktop_capture_differ_sse2") { | 220 rtc_static_library("desktop_capture_differ_sse2") { |
| 218 visibility = [ ":*" ] | 221 visibility = [ ":*" ] |
| 219 sources = [ | 222 sources = [ |
| 220 "differ_vector_sse2.cc", | 223 "differ_vector_sse2.cc", |
| 221 "differ_vector_sse2.h", | 224 "differ_vector_sse2.h", |
| 222 ] | 225 ] |
| 223 | 226 |
| 224 if (is_posix) { | 227 if (is_posix) { |
| 225 cflags = [ "-msse2" ] | 228 cflags = [ "-msse2" ] |
| 226 } | 229 } |
| 227 } | 230 } |
| 228 } | 231 } |
| OLD | NEW |