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

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

Issue 2705213005: Add NativePixmapDmabufStub to finalize glCreateImageCHROMIUM on Linux. (Closed)
Patch Set: Just rebase Created 3 years, 8 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 | « no previous file | gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/BUILD.gn
diff --git a/gpu/ipc/service/BUILD.gn b/gpu/ipc/service/BUILD.gn
index abec3f8b454ed9a31381f8e342b8c532075108a6..811db059379fa6e4d97f4e5724353f59901c83c3 100644
--- a/gpu/ipc/service/BUILD.gn
+++ b/gpu/ipc/service/BUILD.gn
@@ -117,6 +117,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_sources" ]
+ }
}
if (use_x11) {
sources += [ "x_util.h" ]
@@ -179,6 +183,10 @@ test("gpu_ipc_service_unittests") {
}
if (is_linux) {
sources += [ "gpu_memory_buffer_factory_native_pixmap_unittest.cc" ]
+
+ if (!use_ozone) {
+ deps += [ "//ui/gfx:memory_buffer_sources" ]
+ }
}
if (use_ozone) {
deps += [ "//ui/ozone" ]
« no previous file with comments | « no previous file | gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698