| Index: services/ui/gles2/BUILD.gn
|
| diff --git a/services/ui/gles2/BUILD.gn b/services/ui/gles2/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..12c4c109eaa9ba90d54967d8521194879bdb72c9
|
| --- /dev/null
|
| +++ b/services/ui/gles2/BUILD.gn
|
| @@ -0,0 +1,89 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# 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")
|
| +
|
| +source_set("gles2") {
|
| + visibility = [
|
| + "//services/ui:*",
|
| + "//services/ui/ws:*",
|
| + "//services/ui/surfaces:*",
|
| + "//services/shell/standalone:lib", # For android
|
| + ]
|
| +
|
| + sources = [
|
| + "command_buffer_driver.cc",
|
| + "command_buffer_driver.h",
|
| + "command_buffer_driver_manager.cc",
|
| + "command_buffer_driver_manager.h",
|
| + "command_buffer_impl.cc",
|
| + "command_buffer_impl.h",
|
| + "command_buffer_local.cc",
|
| + "command_buffer_local.h",
|
| + "command_buffer_local_client.h",
|
| + "command_buffer_task_runner.cc",
|
| + "command_buffer_task_runner.h",
|
| + "gl_surface_adapter.cc",
|
| + "gl_surface_adapter.h",
|
| + "gpu_impl.cc",
|
| + "gpu_impl.h",
|
| + "gpu_memory_tracker.cc",
|
| + "gpu_memory_tracker.h",
|
| + "gpu_state.cc",
|
| + "gpu_state.h",
|
| + ]
|
| +
|
| + public_deps = [
|
| + ":lib",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//gpu/command_buffer/client",
|
| + "//gpu/command_buffer/client:gles2_interface",
|
| + "//gpu/command_buffer/common:gles2_utils",
|
| + "//gpu/command_buffer/service",
|
| + "//gpu/config:config",
|
| + "//mojo/public/cpp/bindings",
|
| + "//mojo/public/cpp/system",
|
| + "//services/ui/common:mus_common",
|
| + "//services/ui/public/interfaces",
|
| + "//ui/gfx",
|
| + "//ui/gfx/geometry",
|
| + "//ui/gfx/geometry/mojo",
|
| + "//ui/gl",
|
| + "//ui/gl/init",
|
| + ]
|
| +
|
| + if (use_ozone) {
|
| + deps += [ "//ui/ozone:ozone" ]
|
| + sources += [
|
| + "ozone_gpu_memory_buffer.cc",
|
| + "ozone_gpu_memory_buffer.h",
|
| + ]
|
| + }
|
| +
|
| + include_dirs = [ "../.." ]
|
| +}
|
| +
|
| +source_set("lib") {
|
| + sources = [
|
| + "raster_thread_helper.cc",
|
| + "raster_thread_helper.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//cc",
|
| + "//gpu/command_buffer/client",
|
| + "//gpu/command_buffer/common",
|
| + "//gpu/config:config",
|
| + "//mojo/public/cpp/bindings",
|
| + "//mojo/public/cpp/system",
|
| + "//services/ui/public/interfaces",
|
| + "//ui/gfx",
|
| + "//ui/gfx/geometry",
|
| + ]
|
| +
|
| + include_dirs = [ "../.." ]
|
| +}
|
|
|