Index: components/viz/host/BUILD.gn |
diff --git a/components/viz/host/BUILD.gn b/components/viz/host/BUILD.gn |
index 53a3de2a327069d936b8dc2e436c62adf0cdb99e..e928add7c23598d33b538363044de443dcaa4be1 100644 |
--- a/components/viz/host/BUILD.gn |
+++ b/components/viz/host/BUILD.gn |
@@ -9,6 +9,8 @@ component("host") { |
"frame_sink_observer.h", |
"host_frame_sink_manager.cc", |
"host_frame_sink_manager.h", |
+ "server_gpu_memory_buffer_manager.cc", |
+ "server_gpu_memory_buffer_manager.h", |
"viz_host_export.h", |
] |
@@ -16,6 +18,14 @@ component("host") { |
"//base", |
"//cc/ipc:interfaces", |
"//cc/surfaces", |
+ "//gpu/ipc/client", |
+ "//gpu/ipc/common", |
+ "//services/ui/gpu/interfaces", |
+ ] |
+ |
+ public_deps = [ |
+ "//gpu/command_buffer/client", |
+ "//gpu/ipc/host", |
] |
} |
@@ -24,15 +34,18 @@ source_set("unit_tests") { |
sources = [ |
"host_frame_sink_manager_unittests.cc", |
+ "server_gpu_memory_buffer_manager_unittest.cc", |
] |
deps = [ |
+ ":host", |
"//base", |
"//base/test:test_support", |
"//cc/ipc:interfaces", |
"//cc/surfaces", |
- "//components/viz/host", |
+ "//gpu/ipc/host", |
"//mojo/public/cpp/bindings", |
+ "//services/ui/gpu/interfaces", |
"//testing/gmock", |
"//testing/gtest", |
] |