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