Index: webrtc/modules/desktop_capture/BUILD.gn |
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn |
index aa33993192a01154cec2d7b3e4d086233d29cff9..52a046fc02ccb16017098e45145ffb9971f3e5c8 100644 |
--- a/webrtc/modules/desktop_capture/BUILD.gn |
+++ b/webrtc/modules/desktop_capture/BUILD.gn |
@@ -76,11 +76,15 @@ source_set("desktop_capture") { |
"win/cursor.h", |
"win/desktop.cc", |
"win/desktop.h", |
+ "win/desktop_frame_win_dxgi.cc", |
+ "win/desktop_frame_win_dxgi.h", |
"win/scoped_gdi_object.h", |
"win/scoped_thread_desktop.cc", |
"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", |
@@ -124,6 +128,10 @@ source_set("desktop_capture") { |
] |
} |
+ if (is_win) { |
+ libs = [ "d3d11.lib" ] |
+ } |
+ |
configs += [ "../..:common_config" ] |
public_configs = [ "../..:common_inherited_config" ] |