Index: gpu/ipc/service/BUILD.gn |
diff --git a/gpu/ipc/service/BUILD.gn b/gpu/ipc/service/BUILD.gn |
index e2091c1dcf99f9259c8a5dcda5c3c7cd32cfd48f..c8060d4033b7a5c1b07f1c7c07be64bd15b8d71c 100644 |
--- a/gpu/ipc/service/BUILD.gn |
+++ b/gpu/ipc/service/BUILD.gn |
@@ -118,6 +118,10 @@ target(link_target_type, "ipc_service_sources") { |
"gpu_memory_buffer_factory_native_pixmap.h", |
"image_transport_surface_linux.cc", |
] |
+ |
+ if (!use_ozone) { |
+ deps += [ "//ui/gfx:memory_buffer" ] |
+ } |
} |
if (use_x11) { |
sources += [ "x_util.h" ] |