| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "mac/scoped_pixel_buffer_object.h", | 55 "mac/scoped_pixel_buffer_object.h", |
| 56 "mac/window_list_utils.cc", | 56 "mac/window_list_utils.cc", |
| 57 "mac/window_list_utils.h", | 57 "mac/window_list_utils.h", |
| 58 "mouse_cursor.cc", | 58 "mouse_cursor.cc", |
| 59 "mouse_cursor.h", | 59 "mouse_cursor.h", |
| 60 "mouse_cursor_monitor.h", | 60 "mouse_cursor_monitor.h", |
| 61 "mouse_cursor_monitor_mac.mm", | 61 "mouse_cursor_monitor_mac.mm", |
| 62 "mouse_cursor_monitor_win.cc", | 62 "mouse_cursor_monitor_win.cc", |
| 63 "screen_capture_frame_queue.h", | 63 "screen_capture_frame_queue.h", |
| 64 "screen_capturer.h", | 64 "screen_capturer.h", |
| 65 "screen_capturer_differ_wrapper.cc", |
| 66 "screen_capturer_differ_wrapper.h", |
| 65 "screen_capturer_helper.cc", | 67 "screen_capturer_helper.cc", |
| 66 "screen_capturer_helper.h", | 68 "screen_capturer_helper.h", |
| 67 "screen_capturer_mac.mm", | 69 "screen_capturer_mac.mm", |
| 68 "screen_capturer_win.cc", | 70 "screen_capturer_win.cc", |
| 69 "shared_desktop_frame.cc", | 71 "shared_desktop_frame.cc", |
| 70 "shared_desktop_frame.h", | 72 "shared_desktop_frame.h", |
| 71 "shared_memory.cc", | 73 "shared_memory.cc", |
| 72 "shared_memory.h", | 74 "shared_memory.h", |
| 73 "win/cursor.cc", | 75 "win/cursor.cc", |
| 74 "win/cursor.h", | 76 "win/cursor.h", |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 deps += [ ":desktop_capture_differ_sse2" ] | 165 deps += [ ":desktop_capture_differ_sse2" ] |
| 164 } | 166 } |
| 165 } | 167 } |
| 166 | 168 |
| 167 if (use_desktop_capture_differ_sse2) { | 169 if (use_desktop_capture_differ_sse2) { |
| 168 # Have to be compiled as a separate target because it needs to be compiled | 170 # Have to be compiled as a separate target because it needs to be compiled |
| 169 # with SSE2 enabled. | 171 # with SSE2 enabled. |
| 170 source_set("desktop_capture_differ_sse2") { | 172 source_set("desktop_capture_differ_sse2") { |
| 171 visibility = [ ":*" ] | 173 visibility = [ ":*" ] |
| 172 sources = [ | 174 sources = [ |
| 173 "differ_block_sse2.cc", | 175 "differ_vector_sse2.cc", |
| 174 "differ_block_sse2.h", | 176 "differ_vector_sse2.h", |
| 175 ] | 177 ] |
| 176 | 178 |
| 177 configs += [ "../..:common_config" ] | 179 configs += [ "../..:common_config" ] |
| 178 public_configs = [ "../..:common_inherited_config" ] | 180 public_configs = [ "../..:common_inherited_config" ] |
| 179 | 181 |
| 180 if (is_posix && !is_mac) { | 182 if (is_posix && !is_mac) { |
| 181 cflags = [ "-msse2" ] | 183 cflags = [ "-msse2" ] |
| 182 } | 184 } |
| 183 } | 185 } |
| 184 } | 186 } |
| OLD | NEW |