| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 "window_capturer_null.cc", | 121 "window_capturer_null.cc", |
| 122 ] | 122 ] |
| 123 } | 123 } |
| 124 | 124 |
| 125 if (!is_ios) { | 125 if (!is_ios) { |
| 126 sources += [ | 126 sources += [ |
| 127 "differ.cc", | 127 "differ.cc", |
| 128 "differ.h", | 128 "differ.h", |
| 129 "differ_block.cc", | 129 "differ_block.cc", |
| 130 "differ_block.h", | 130 "differ_block.h", |
| 131 "screen_capturer_differ_wrapper.cc", |
| 132 "screen_capturer_differ_wrapper.h", |
| 131 ] | 133 ] |
| 132 } | 134 } |
| 133 | 135 |
| 134 if (is_mac) { | 136 if (is_mac) { |
| 135 libs = [ | 137 libs = [ |
| 136 "AppKit.framework", | 138 "AppKit.framework", |
| 137 "IOKit.framework", | 139 "IOKit.framework", |
| 138 "OpenGL.framework", | 140 "OpenGL.framework", |
| 139 ] | 141 ] |
| 140 } | 142 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 162 deps += [ ":desktop_capture_differ_sse2" ] | 164 deps += [ ":desktop_capture_differ_sse2" ] |
| 163 } | 165 } |
| 164 } | 166 } |
| 165 | 167 |
| 166 if (use_desktop_capture_differ_sse2) { | 168 if (use_desktop_capture_differ_sse2) { |
| 167 # Have to be compiled as a separate target because it needs to be compiled | 169 # Have to be compiled as a separate target because it needs to be compiled |
| 168 # with SSE2 enabled. | 170 # with SSE2 enabled. |
| 169 rtc_source_set("desktop_capture_differ_sse2") { | 171 rtc_source_set("desktop_capture_differ_sse2") { |
| 170 visibility = [ ":*" ] | 172 visibility = [ ":*" ] |
| 171 sources = [ | 173 sources = [ |
| 172 "differ_block_sse2.cc", | 174 "differ_vector_sse2.cc", |
| 173 "differ_block_sse2.h", | 175 "differ_vector_sse2.h", |
| 174 ] | 176 ] |
| 175 | 177 |
| 176 if (is_posix) { | 178 if (is_posix) { |
| 177 cflags = [ "-msse2" ] | 179 cflags = [ "-msse2" ] |
| 178 } | 180 } |
| 179 } | 181 } |
| 180 } | 182 } |
| OLD | NEW |