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 "display_output_surface.cc", | 9 "display_output_surface.cc", |
10 "display_output_surface.h", | 10 "display_output_surface.h", |
11 "display_provider.h", | |
12 "mojo_frame_sink_manager.cc", | |
13 "mojo_frame_sink_manager.h", | |
14 "mus_display_provider.cc", | 11 "mus_display_provider.cc", |
15 "mus_display_provider.h", | 12 "mus_display_provider.h", |
16 ] | 13 ] |
17 | 14 |
18 deps = [ | 15 deps = [ |
19 "//base", | 16 "//base", |
20 "//cc", | 17 "//cc", |
21 "//cc/ipc:interfaces", | 18 "//cc/ipc:interfaces", |
22 "//cc/surfaces", | 19 "//cc/surfaces", |
23 "//components/display_compositor", | 20 "//components/display_compositor", |
| 21 "//components/viz/frame_sinks", |
24 "//gpu/command_buffer/client", | 22 "//gpu/command_buffer/client", |
25 "//gpu/command_buffer/client:gles2_interface", | 23 "//gpu/command_buffer/client:gles2_interface", |
26 "//gpu/ipc:command_buffer", | 24 "//gpu/ipc:command_buffer", |
27 "//ui/display/types", | 25 "//ui/display/types", |
28 "//ui/gfx", | 26 "//ui/gfx", |
29 "//ui/gfx/geometry/mojo", | 27 "//ui/gfx/geometry/mojo", |
30 ] | 28 ] |
31 | 29 |
32 public_deps = [ | 30 public_deps = [ |
33 "//ipc", | 31 "//ipc", |
34 ] | 32 ] |
35 | 33 |
36 if (use_ozone) { | 34 if (use_ozone) { |
37 sources += [ | 35 sources += [ |
38 "display_output_surface_ozone.cc", | 36 "display_output_surface_ozone.cc", |
39 "display_output_surface_ozone.h", | 37 "display_output_surface_ozone.h", |
40 ] | 38 ] |
41 deps += [ | 39 deps += [ |
42 "//gpu/command_buffer/common", | 40 "//gpu/command_buffer/common", |
43 "//ui/gl", | 41 "//ui/gl", |
44 ] | 42 ] |
45 } | 43 } |
46 } | 44 } |
OLD | NEW |