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