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

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: Lint errors Created 4 years, 8 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "screen_capturer_mac.mm", 69 "screen_capturer_mac.mm",
70 "screen_capturer_win.cc", 70 "screen_capturer_win.cc",
71 "shared_desktop_frame.cc", 71 "shared_desktop_frame.cc",
72 "shared_desktop_frame.h", 72 "shared_desktop_frame.h",
73 "shared_memory.cc", 73 "shared_memory.cc",
74 "shared_memory.h", 74 "shared_memory.h",
75 "win/cursor.cc", 75 "win/cursor.cc",
76 "win/cursor.h", 76 "win/cursor.h",
77 "win/desktop.cc", 77 "win/desktop.cc",
78 "win/desktop.h", 78 "win/desktop.h",
79 "win/desktop_frame_win_dxgi.cc",
80 "win/desktop_frame_win_dxgi.h",
79 "win/scoped_gdi_object.h", 81 "win/scoped_gdi_object.h",
80 "win/scoped_thread_desktop.cc", 82 "win/scoped_thread_desktop.cc",
81 "win/scoped_thread_desktop.h", 83 "win/scoped_thread_desktop.h",
82 "win/screen_capture_utils.cc", 84 "win/screen_capture_utils.cc",
83 "win/screen_capture_utils.h", 85 "win/screen_capture_utils.h",
86 "win/screen_capturer_win_directx.cc",
87 "win/screen_capturer_win_directx.h",
84 "win/screen_capturer_win_gdi.cc", 88 "win/screen_capturer_win_gdi.cc",
85 "win/screen_capturer_win_gdi.h", 89 "win/screen_capturer_win_gdi.h",
86 "win/screen_capturer_win_magnifier.cc", 90 "win/screen_capturer_win_magnifier.cc",
87 "win/screen_capturer_win_magnifier.h", 91 "win/screen_capturer_win_magnifier.h",
88 "win/window_capture_utils.cc", 92 "win/window_capture_utils.cc",
89 "win/window_capture_utils.h", 93 "win/window_capture_utils.h",
90 "window_capturer.cc", 94 "window_capturer.cc",
91 "window_capturer.h", 95 "window_capturer.h",
92 "window_capturer_mac.mm", 96 "window_capturer_mac.mm",
93 "window_capturer_win.cc", 97 "window_capturer_win.cc",
(...skipping 23 matching lines...) Expand all
117 } 121 }
118 122
119 if (is_mac) { 123 if (is_mac) {
120 libs = [ 124 libs = [
121 "AppKit.framework", 125 "AppKit.framework",
122 "IOKit.framework", 126 "IOKit.framework",
123 "OpenGL.framework", 127 "OpenGL.framework",
124 ] 128 ]
125 } 129 }
126 130
131 if (is_win) {
132 libs = [ "d3d11.lib" ]
133 }
134
127 configs += [ "../..:common_config" ] 135 configs += [ "../..:common_config" ]
128 public_configs = [ "../..:common_inherited_config" ] 136 public_configs = [ "../..:common_inherited_config" ]
129 137
130 if (is_clang && !is_nacl) { 138 if (is_clang && !is_nacl) {
131 # Suppress warnings from Chrome's Clang plugins. 139 # Suppress warnings from Chrome's Clang plugins.
132 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 140 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
133 configs -= [ "//build/config/clang:find_bad_constructs" ] 141 configs -= [ "//build/config/clang:find_bad_constructs" ]
134 } 142 }
135 143
136 deps = [ 144 deps = [
(...skipping 18 matching lines...) Expand all
155 ] 163 ]
156 164
157 configs += [ "../..:common_config" ] 165 configs += [ "../..:common_config" ]
158 public_configs = [ "../..:common_inherited_config" ] 166 public_configs = [ "../..:common_inherited_config" ]
159 167
160 if (is_posix && !is_mac) { 168 if (is_posix && !is_mac) {
161 cflags = [ "-msse2" ] 169 cflags = [ "-msse2" ]
162 } 170 }
163 } 171 }
164 } 172 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/desktop_capture.gypi » ('j') | webrtc/modules/desktop_capture/desktop_frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698