Index: webrtc/modules/desktop_capture/BUILD.gn |
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn |
index 6caef4d719b5dea3d98b61b2dee86ae3853611e2..672433e32b444b68c2c181f05045c48d400c8e0d 100644 |
--- a/webrtc/modules/desktop_capture/BUILD.gn |
+++ b/webrtc/modules/desktop_capture/BUILD.gn |
@@ -72,8 +72,22 @@ source_set("desktop_capture") { |
"shared_memory.h", |
"win/cursor.cc", |
"win/cursor.h", |
+ "win/d3d_device.cc", |
+ "win/d3d_device.h", |
"win/desktop.cc", |
"win/desktop.h", |
+ "win/dxgi_adapter_duplicator.cc", |
+ "win/dxgi_adapter_duplicator.h", |
+ "win/dxgi_duplicator_controller.cc", |
+ "win/dxgi_duplicator_controller.h", |
+ "win/dxgi_output_duplicator.cc", |
+ "win/dxgi_output_duplicator.h", |
+ "win/dxgi_texture.cc", |
+ "win/dxgi_texture.h", |
+ "win/dxgi_texture_mapping.cc", |
+ "win/dxgi_texture_mapping.h", |
+ "win/dxgi_texture_staging.cc", |
+ "win/dxgi_texture_staging.h", |
"win/scoped_gdi_object.h", |
"win/scoped_thread_desktop.cc", |
"win/scoped_thread_desktop.h", |
@@ -124,7 +138,10 @@ source_set("desktop_capture") { |
} |
if (is_win) { |
- libs = [ "d3d11.lib" ] |
+ libs = [ |
+ "d3d11.lib", |
+ "dxgi.lib", |
+ ] |
} |
configs += [ "../..:common_config" ] |