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

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

Issue 2697453002: [DesktopCapturer] FallbackDesktopCapturerWrapper and its tests (Closed)
Patch Set: Resolve review comments Created 3 years, 10 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("../../webrtc.gni") 10 import("../../webrtc.gni")
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 rtc_source_set("desktop_capture_unittests") { 58 rtc_source_set("desktop_capture_unittests") {
59 testonly = true 59 testonly = true
60 sources = [ 60 sources = [
61 "desktop_and_cursor_composer_unittest.cc", 61 "desktop_and_cursor_composer_unittest.cc",
62 "desktop_capturer_differ_wrapper_unittest.cc", 62 "desktop_capturer_differ_wrapper_unittest.cc",
63 "desktop_frame_rotation_unittest.cc", 63 "desktop_frame_rotation_unittest.cc",
64 "desktop_region_unittest.cc", 64 "desktop_region_unittest.cc",
65 "differ_block_unittest.cc", 65 "differ_block_unittest.cc",
66 "fallback_desktop_capturer_wrapper_unittest.cc",
66 "mouse_cursor_monitor_unittest.cc", 67 "mouse_cursor_monitor_unittest.cc",
67 "rgba_color_unittest.cc", 68 "rgba_color_unittest.cc",
68 "test_utils.cc", 69 "test_utils.cc",
69 "test_utils.h", 70 "test_utils.h",
70 "test_utils_unittest.cc", 71 "test_utils_unittest.cc",
71 "win/cursor_unittest.cc", 72 "win/cursor_unittest.cc",
72 "win/cursor_unittest_resources.h", 73 "win/cursor_unittest_resources.h",
73 "win/cursor_unittest_resources.rc", 74 "win/cursor_unittest_resources.rc",
74 ] 75 ]
75 deps = [ 76 deps = [
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "desktop_capturer.cc", 179 "desktop_capturer.cc",
179 "desktop_capturer.h", 180 "desktop_capturer.h",
180 "desktop_capturer_differ_wrapper.cc", 181 "desktop_capturer_differ_wrapper.cc",
181 "desktop_capturer_differ_wrapper.h", 182 "desktop_capturer_differ_wrapper.h",
182 "desktop_frame_rotation.cc", 183 "desktop_frame_rotation.cc",
183 "desktop_frame_rotation.h", 184 "desktop_frame_rotation.h",
184 "desktop_frame_win.cc", 185 "desktop_frame_win.cc",
185 "desktop_frame_win.h", 186 "desktop_frame_win.h",
186 "differ_block.cc", 187 "differ_block.cc",
187 "differ_block.h", 188 "differ_block.h",
189 "fallback_desktop_capturer_wrapper.cc",
190 "fallback_desktop_capturer_wrapper.h",
188 "mac/desktop_configuration.h", 191 "mac/desktop_configuration.h",
189 "mac/desktop_configuration.mm", 192 "mac/desktop_configuration.mm",
190 "mac/desktop_configuration_monitor.cc", 193 "mac/desktop_configuration_monitor.cc",
191 "mac/desktop_configuration_monitor.h", 194 "mac/desktop_configuration_monitor.h",
192 "mac/full_screen_chrome_window_detector.cc", 195 "mac/full_screen_chrome_window_detector.cc",
193 "mac/full_screen_chrome_window_detector.h", 196 "mac/full_screen_chrome_window_detector.h",
194 "mac/scoped_pixel_buffer_object.cc", 197 "mac/scoped_pixel_buffer_object.cc",
195 "mac/scoped_pixel_buffer_object.h", 198 "mac/scoped_pixel_buffer_object.h",
196 "mac/window_list_utils.cc", 199 "mac/window_list_utils.cc",
197 "mac/window_list_utils.h", 200 "mac/window_list_utils.h",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 if (is_win) { 277 if (is_win) {
275 libs = [ 278 libs = [
276 "d3d11.lib", 279 "d3d11.lib",
277 "dxgi.lib", 280 "dxgi.lib",
278 ] 281 ]
279 } 282 }
280 283
281 deps = [ 284 deps = [
282 ":primitives", 285 ":primitives",
283 "../..:webrtc_common", 286 "../..:webrtc_common",
287 "../../base:gtest_prod",
284 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. 288 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806.
285 "../../system_wrappers", 289 "../../system_wrappers",
286 "//third_party/libyuv", 290 "//third_party/libyuv",
287 ] 291 ]
288 292
289 if (use_desktop_capture_differ_sse2) { 293 if (use_desktop_capture_differ_sse2) {
290 deps += [ ":desktop_capture_differ_sse2" ] 294 deps += [ ":desktop_capture_differ_sse2" ]
291 } 295 }
292 } 296 }
293 297
294 if (use_desktop_capture_differ_sse2) { 298 if (use_desktop_capture_differ_sse2) {
295 # Have to be compiled as a separate target because it needs to be compiled 299 # Have to be compiled as a separate target because it needs to be compiled
296 # with SSE2 enabled. 300 # with SSE2 enabled.
297 rtc_static_library("desktop_capture_differ_sse2") { 301 rtc_static_library("desktop_capture_differ_sse2") {
298 visibility = [ ":*" ] 302 visibility = [ ":*" ]
299 sources = [ 303 sources = [
300 "differ_vector_sse2.cc", 304 "differ_vector_sse2.cc",
301 "differ_vector_sse2.h", 305 "differ_vector_sse2.h",
302 ] 306 ]
303 307
304 if (is_posix) { 308 if (is_posix) {
305 cflags = [ "-msse2" ] 309 cflags = [ "-msse2" ]
306 } 310 }
307 } 311 }
308 } 312 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698