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