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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/BUILD.gn
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn
index 894d9308e367b3da476d369a35269f7b9ac60954..95ce7254b35e420c54e4c5aa9bf102c6c49c3ccd 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -79,6 +79,8 @@ source_set("desktop_capture") {
"win/scoped_thread_desktop.h",
"win/screen_capture_utils.cc",
"win/screen_capture_utils.h",
+ "win/screen_capturer_win_directx.cc",
+ "win/screen_capturer_win_directx.h",
"win/screen_capturer_win_gdi.cc",
"win/screen_capturer_win_gdi.h",
"win/screen_capturer_win_magnifier.cc",
@@ -121,6 +123,13 @@ source_set("desktop_capture") {
]
}
+ if (is_win) {
+ libs = [
+ "d3d11.lib",
+ "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
+ ]
+ }
+
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]

Powered by Google App Engine
This is Rietveld 408576698