Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: webrtc/modules/desktop_capture/BUILD.gn

Issue 2202443002: [WebRTC] Add ScreenCapturerDifferWrapper to share Differ across ScreenCapturers (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Sync latest changes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 "window_capturer_null.cc", 123 "window_capturer_null.cc",
124 ] 124 ]
125 } 125 }
126 126
127 if (!is_ios) { 127 if (!is_ios) {
128 sources += [ 128 sources += [
129 "differ.cc", 129 "differ.cc",
130 "differ.h", 130 "differ.h",
131 "differ_block.cc", 131 "differ_block.cc",
132 "differ_block.h", 132 "differ_block.h",
133 "screen_capturer_differ_wrapper.cc",
134 "screen_capturer_differ_wrapper.h",
133 ] 135 ]
134 } 136 }
135 137
136 if (is_mac) { 138 if (is_mac) {
137 libs = [ 139 libs = [
138 "AppKit.framework", 140 "AppKit.framework",
139 "IOKit.framework", 141 "IOKit.framework",
140 "OpenGL.framework", 142 "OpenGL.framework",
141 ] 143 ]
142 } 144 }
(...skipping 24 matching lines...) Expand all
167 deps += [ ":desktop_capture_differ_sse2" ] 169 deps += [ ":desktop_capture_differ_sse2" ]
168 } 170 }
169 } 171 }
170 172
171 if (use_desktop_capture_differ_sse2) { 173 if (use_desktop_capture_differ_sse2) {
172 # Have to be compiled as a separate target because it needs to be compiled 174 # Have to be compiled as a separate target because it needs to be compiled
173 # with SSE2 enabled. 175 # with SSE2 enabled.
174 source_set("desktop_capture_differ_sse2") { 176 source_set("desktop_capture_differ_sse2") {
175 visibility = [ ":*" ] 177 visibility = [ ":*" ]
176 sources = [ 178 sources = [
177 "differ_block_sse2.cc", 179 "differ_vector_sse2.cc",
178 "differ_block_sse2.h", 180 "differ_vector_sse2.h",
179 ] 181 ]
180 182
181 configs += [ "../..:common_config" ] 183 configs += [ "../..:common_config" ]
182 public_configs = [ "../..:common_inherited_config" ] 184 public_configs = [ "../..:common_inherited_config" ]
183 185
184 if (is_posix) { 186 if (is_posix) {
185 cflags = [ "-msse2" ] 187 cflags = [ "-msse2" ]
186 } 188 }
187 } 189 }
188 } 190 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698