| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/ui.gni") | |
| 6 | |
| 7 source_set("gles2") { | |
| 8 visibility = [ | |
| 9 "//services/ui:*", | |
| 10 "//services/ui/ws:*", | |
| 11 "//services/ui/surfaces:*", | |
| 12 "//services/shell/standalone:lib", # For android | |
| 13 ] | |
| 14 | |
| 15 sources = [ | |
| 16 "command_buffer_driver.cc", | |
| 17 "command_buffer_driver.h", | |
| 18 "command_buffer_driver_manager.cc", | |
| 19 "command_buffer_driver_manager.h", | |
| 20 "command_buffer_impl.cc", | |
| 21 "command_buffer_impl.h", | |
| 22 "command_buffer_local.cc", | |
| 23 "command_buffer_local.h", | |
| 24 "command_buffer_local_client.h", | |
| 25 "command_buffer_task_runner.cc", | |
| 26 "command_buffer_task_runner.h", | |
| 27 "gl_surface_adapter.cc", | |
| 28 "gl_surface_adapter.h", | |
| 29 "gpu_impl.cc", | |
| 30 "gpu_impl.h", | |
| 31 "gpu_memory_tracker.cc", | |
| 32 "gpu_memory_tracker.h", | |
| 33 "gpu_state.cc", | |
| 34 "gpu_state.h", | |
| 35 ] | |
| 36 | |
| 37 public_deps = [ | |
| 38 ":lib", | |
| 39 ] | |
| 40 deps = [ | |
| 41 "//base", | |
| 42 "//gpu/command_buffer/client", | |
| 43 "//gpu/command_buffer/client:gles2_interface", | |
| 44 "//gpu/command_buffer/common:gles2_utils", | |
| 45 "//gpu/command_buffer/service", | |
| 46 "//gpu/config:config", | |
| 47 "//mojo/public/cpp/bindings", | |
| 48 "//mojo/public/cpp/system", | |
| 49 "//services/ui/common:mus_common", | |
| 50 "//services/ui/public/interfaces", | |
| 51 "//ui/gfx", | |
| 52 "//ui/gfx/geometry", | |
| 53 "//ui/gfx/geometry/mojo", | |
| 54 "//ui/gl", | |
| 55 "//ui/gl/init", | |
| 56 ] | |
| 57 | |
| 58 if (use_ozone) { | |
| 59 deps += [ "//ui/ozone:ozone" ] | |
| 60 sources += [ | |
| 61 "ozone_gpu_memory_buffer.cc", | |
| 62 "ozone_gpu_memory_buffer.h", | |
| 63 ] | |
| 64 } | |
| 65 | |
| 66 include_dirs = [ "../.." ] | |
| 67 } | |
| 68 | |
| 69 source_set("lib") { | |
| 70 sources = [ | |
| 71 "raster_thread_helper.cc", | |
| 72 "raster_thread_helper.h", | |
| 73 ] | |
| 74 | |
| 75 deps = [ | |
| 76 "//base", | |
| 77 "//cc", | |
| 78 "//gpu/command_buffer/client", | |
| 79 "//gpu/command_buffer/common", | |
| 80 "//gpu/config:config", | |
| 81 "//mojo/public/cpp/bindings", | |
| 82 "//mojo/public/cpp/system", | |
| 83 "//services/ui/public/interfaces", | |
| 84 "//ui/gfx", | |
| 85 "//ui/gfx/geometry", | |
| 86 ] | |
| 87 | |
| 88 include_dirs = [ "../.." ] | |
| 89 } | |
| OLD | NEW |