Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: gpu/ipc/common/BUILD.gn

Issue 1831513003: Pull gpu service/client shared memory buffer code to GpuMemoryBufferSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ifdef mixup Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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" ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698