Index: gpu/ipc/common/BUILD.gn |
diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn |
index 5bbbf43411a0f0321c4abee2ccfe07e4c7eab358..074f7d99d30056b5996e816133f2caf2d695c1ea 100644 |
--- a/gpu/ipc/common/BUILD.gn |
+++ b/gpu/ipc/common/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
+ |
group("common") { |
if (is_component_build) { |
public_deps = [ |
@@ -52,6 +54,8 @@ source_set("ipc_common_sources") { |
visibility = [ "//gpu/*" ] |
sources = [ |
+ "gpu_memory_buffer_support.cc", |
+ "gpu_memory_buffer_support.h", |
"gpu_memory_uma_stats.h", |
"gpu_message_generator.cc", |
"gpu_message_generator.h", |
@@ -91,4 +95,8 @@ source_set("ipc_common_sources") { |
"android/surface_texture_peer.h", |
] |
} |
+ |
+ if (use_ozone) { |
+ deps += [ "//ui/ozone" ] |
+ } |
} |