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

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: Resolve a lint error 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
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 = [
128 "d3d11.lib",
129 "shcore.lib",
Sergey Ulanov 2016/05/19 18:12:09 Do we have shcore.dll on windows 7? AFAICT it's th
Hzj_jie 2016/05/19 21:20:28 Considering this function does not provide extra b
130 ]
131 }
132
124 configs += [ "../..:common_config" ] 133 configs += [ "../..:common_config" ]
125 public_configs = [ "../..:common_inherited_config" ] 134 public_configs = [ "../..:common_inherited_config" ]
126 135
127 if (is_clang && !is_nacl) { 136 if (is_clang && !is_nacl) {
128 # Suppress warnings from Chrome's Clang plugins. 137 # Suppress warnings from Chrome's Clang plugins.
129 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 138 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
130 configs -= [ "//build/config/clang:find_bad_constructs" ] 139 configs -= [ "//build/config/clang:find_bad_constructs" ]
131 } 140 }
132 141
133 deps = [ 142 deps = [
(...skipping 18 matching lines...) Expand all
152 ] 161 ]
153 162
154 configs += [ "../..:common_config" ] 163 configs += [ "../..:common_config" ]
155 public_configs = [ "../..:common_inherited_config" ] 164 public_configs = [ "../..:common_inherited_config" ]
156 165
157 if (is_posix && !is_mac) { 166 if (is_posix && !is_mac) {
158 cflags = [ "-msse2" ] 167 cflags = [ "-msse2" ]
159 } 168 }
160 } 169 }
161 } 170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698