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