Index: services/ui/public/cpp/BUILD.gn |
diff --git a/services/ui/public/cpp/BUILD.gn b/services/ui/public/cpp/BUILD.gn |
index a4a14d7ec47e85b94104b15c592307c315a011c7..72dc57bd3628a23be21ce34fb34cb9b7510af06d 100644 |
--- a/services/ui/public/cpp/BUILD.gn |
+++ b/services/ui/public/cpp/BUILD.gn |
@@ -2,12 +2,16 @@ |
# 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") |
+ |
# This is the public target. It contains only the public headers. The |
# implementation (and private haders) are in 'internal'. |
source_set("cpp") { |
sources = [ |
"bitmap_uploader.h", |
+ "gpu_service.h", |
"input_event_handler.h", |
+ "mojo_gpu_memory_buffer_manager.h", |
"output_surface.h", |
"property_type_converters.h", |
"raster_thread_helper.h", |
@@ -95,8 +99,16 @@ source_set("internal") { |
"context_provider.h", |
"gles2_context.cc", |
"gles2_context.h", |
+ "gpu_memory_buffer_impl.cc", |
+ "gpu_memory_buffer_impl.h", |
+ "gpu_service.cc", |
"in_flight_change.cc", |
"in_flight_change.h", |
+ "mojo_buffer_backing.cc", |
+ "mojo_buffer_backing.h", |
+ "mojo_gpu_memory_buffer.cc", |
+ "mojo_gpu_memory_buffer.h", |
+ "mojo_gpu_memory_buffer_manager.cc", |
"output_surface.cc", |
"property_type_converters.cc", |
"raster_thread_helper.cc", |
@@ -140,4 +152,8 @@ source_set("internal") { |
] |
defines = [ "GL_GLEXT_PROTOTYPES" ] |
+ |
+ if (use_ozone) { |
+ deps += [ "//ui/ozone" ] |
+ } |
} |