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

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

Issue 2360203003: services/ui: Add mojom API for creating/destroying gpu memory buffer. (Closed)
Patch Set: . Created 4 years, 3 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
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/ipc/common/surface_handle.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/BUILD.gn
diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn
index f35238208fc4638202fdc8c5170accaa926b311d..e2b7e8f779c5e969fc2f4c722f535ff001e03cb2 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -87,6 +87,7 @@ source_set("ipc_common_sources") {
public_deps = [
":command_buffer_traits_sources",
+ ":surface_handle_type",
"//gpu/command_buffer/common:gles2_utils",
]
@@ -119,6 +120,17 @@ source_set("ipc_common_sources") {
}
}
+# Depend on this to use surface_handle.h without pulling in all of gpu ipc.
+source_set("surface_handle_type") {
+ public = [
+ "surface_handle.h",
+ ]
+
+ public_deps = [
+ "//ui/gfx:native_widget_types",
+ ]
+}
+
mojom("interfaces") {
sources = [
"capabilities.mojom",
@@ -126,6 +138,7 @@ mojom("interfaces") {
"gpu_info.mojom",
"mailbox.mojom",
"mailbox_holder.mojom",
+ "surface_handle.mojom",
"sync_token.mojom",
]
@@ -150,10 +163,12 @@ source_set("struct_traits") {
sources = [
"mailbox_holder_struct_traits.h",
"mailbox_struct_traits.h",
+ "surface_handle_struct_traits.h",
"sync_token_struct_traits.h",
]
deps = [
":interfaces_shared_cpp_sources",
+ ":surface_handle_type",
"//gpu/command_buffer/common",
"//mojo/public/cpp/bindings:bindings",
]
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/ipc/common/surface_handle.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698