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..63e43d9220295add053779a82ee961fe477a2b67 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,10 @@ source_set("desktop_capture") { |
] |
} |
+ if (is_win) { |
+ libs = [ "d3d11.lib" ] |
+ } |
+ |
configs += [ "../..:common_config" ] |
public_configs = [ "../..:common_inherited_config" ] |