| 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("surfaces") { | |
| 8 sources = [ | |
| 9 "direct_output_surface.cc", | |
| 10 "direct_output_surface.h", | |
| 11 "display_compositor.cc", | |
| 12 "display_compositor.h", | |
| 13 "surfaces_context_provider.cc", | |
| 14 "surfaces_context_provider.h", | |
| 15 "surfaces_context_provider_delegate.h", | |
| 16 "surfaces_state.cc", | |
| 17 "surfaces_state.h", | |
| 18 ] | |
| 19 | |
| 20 deps = [ | |
| 21 "//base", | |
| 22 "//cc", | |
| 23 "//cc/surfaces", | |
| 24 "//cc/surfaces:surface_id", | |
| 25 "//components/display_compositor", | |
| 26 "//components/mus/common:mus_common", | |
| 27 "//components/mus/gles2", | |
| 28 "//components/mus/gpu", | |
| 29 "//components/mus/public/interfaces", | |
| 30 "//gpu/command_buffer/client", | |
| 31 "//gpu/command_buffer/client:gles2_cmd_helper", | |
| 32 "//gpu/command_buffer/client:gles2_implementation", | |
| 33 "//gpu/command_buffer/client:gles2_interface", | |
| 34 "//gpu/ipc/client", | |
| 35 "//services/shell/public/cpp", | |
| 36 "//services/tracing/public/cpp", | |
| 37 "//ui/gfx", | |
| 38 "//ui/gfx/geometry/mojo", | |
| 39 "//ui/gl", | |
| 40 ] | |
| 41 | |
| 42 if (use_ozone) { | |
| 43 sources += [ | |
| 44 "direct_output_surface_ozone.cc", | |
| 45 "direct_output_surface_ozone.h", | |
| 46 "ozone_gpu_memory_buffer_manager.cc", | |
| 47 "ozone_gpu_memory_buffer_manager.h", | |
| 48 ] | |
| 49 deps += [ "//gpu/command_buffer/common" ] | |
| 50 } | |
| 51 } | |
| OLD | NEW |