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