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

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

Issue 1845113002: DirectX based screen capturer logic (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Recreate DXGIDuplicateOutput if AcquireNextFrame does not return a known error code. Created 4 years, 7 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
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/desktop_capture.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "shared_memory.h", 72 "shared_memory.h",
73 "win/cursor.cc", 73 "win/cursor.cc",
74 "win/cursor.h", 74 "win/cursor.h",
75 "win/desktop.cc", 75 "win/desktop.cc",
76 "win/desktop.h", 76 "win/desktop.h",
77 "win/scoped_gdi_object.h", 77 "win/scoped_gdi_object.h",
78 "win/scoped_thread_desktop.cc", 78 "win/scoped_thread_desktop.cc",
79 "win/scoped_thread_desktop.h", 79 "win/scoped_thread_desktop.h",
80 "win/screen_capture_utils.cc", 80 "win/screen_capture_utils.cc",
81 "win/screen_capture_utils.h", 81 "win/screen_capture_utils.h",
82 "win/screen_capturer_win_directx.cc",
83 "win/screen_capturer_win_directx.h",
82 "win/screen_capturer_win_gdi.cc", 84 "win/screen_capturer_win_gdi.cc",
83 "win/screen_capturer_win_gdi.h", 85 "win/screen_capturer_win_gdi.h",
84 "win/screen_capturer_win_magnifier.cc", 86 "win/screen_capturer_win_magnifier.cc",
85 "win/screen_capturer_win_magnifier.h", 87 "win/screen_capturer_win_magnifier.h",
86 "win/window_capture_utils.cc", 88 "win/window_capture_utils.cc",
87 "win/window_capture_utils.h", 89 "win/window_capture_utils.h",
88 "window_capturer.h", 90 "window_capturer.h",
89 "window_capturer_mac.mm", 91 "window_capturer_mac.mm",
90 "window_capturer_win.cc", 92 "window_capturer_win.cc",
91 ] 93 ]
(...skipping 22 matching lines...) Expand all
114 } 116 }
115 117
116 if (is_mac) { 118 if (is_mac) {
117 libs = [ 119 libs = [
118 "AppKit.framework", 120 "AppKit.framework",
119 "IOKit.framework", 121 "IOKit.framework",
120 "OpenGL.framework", 122 "OpenGL.framework",
121 ] 123 ]
122 } 124 }
123 125
126 if (is_win) {
127 libs = [ "d3d11.lib" ]
128 }
129
124 configs += [ "../..:common_config" ] 130 configs += [ "../..:common_config" ]
125 public_configs = [ "../..:common_inherited_config" ] 131 public_configs = [ "../..:common_inherited_config" ]
126 132
127 if (is_clang && !is_nacl) { 133 if (is_clang && !is_nacl) {
128 # Suppress warnings from Chrome's Clang plugins. 134 # Suppress warnings from Chrome's Clang plugins.
129 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 135 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
130 configs -= [ "//build/config/clang:find_bad_constructs" ] 136 configs -= [ "//build/config/clang:find_bad_constructs" ]
131 } 137 }
132 138
133 deps = [ 139 deps = [
(...skipping 18 matching lines...) Expand all
152 ] 158 ]
153 159
154 configs += [ "../..:common_config" ] 160 configs += [ "../..:common_config" ]
155 public_configs = [ "../..:common_inherited_config" ] 161 public_configs = [ "../..:common_inherited_config" ]
156 162
157 if (is_posix && !is_mac) { 163 if (is_posix && !is_mac) {
158 cflags = [ "-msse2" ] 164 cflags = [ "-msse2" ]
159 } 165 }
160 } 166 }
161 } 167 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/desktop_capture.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698