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("//mojo/public/mojo_application.gni") | 5 source_set("surfaces") { |
6 | |
7 mojo_native_application("surfaces") { | |
8 output_name = "surfaces_service" | |
9 sources = [ | 6 sources = [ |
10 "main.cc", | 7 "command_buffer_local.cc", |
11 ] | 8 "command_buffer_local.h", |
12 | |
13 deps = [ | |
14 ":lib", | |
15 "//mojo/environment:chromium", | |
16 "//third_party/mojo/src/mojo/public/cpp/system", | |
17 ] | |
18 } | |
19 | |
20 source_set("lib") { | |
21 sources = [ | |
22 "display_delegate.h", | |
23 "display_factory_impl.cc", | |
24 "display_factory_impl.h", | |
25 "display_impl.cc", | |
26 "display_impl.h", | |
27 "surfaces_context_provider.cc", | 9 "surfaces_context_provider.cc", |
28 "surfaces_context_provider.h", | 10 "surfaces_context_provider.h", |
29 "surfaces_delegate.h", | 11 "surfaces_delegate.h", |
30 "surfaces_impl.cc", | 12 "surfaces_impl.cc", |
31 "surfaces_impl.h", | 13 "surfaces_impl.h", |
32 "surfaces_output_surface.cc", | 14 "surfaces_output_surface.cc", |
33 "surfaces_output_surface.h", | 15 "surfaces_output_surface.h", |
34 "surfaces_scheduler.cc", | 16 "surfaces_scheduler.cc", |
35 "surfaces_scheduler.h", | 17 "surfaces_scheduler.h", |
36 "surfaces_service_application.cc", | |
37 "surfaces_service_application.h", | |
38 "surfaces_state.cc", | 18 "surfaces_state.cc", |
39 "surfaces_state.h", | 19 "surfaces_state.h", |
| 20 "top_level_display_client.cc", |
| 21 "top_level_display_client.h", |
40 ] | 22 ] |
41 | 23 |
42 deps = [ | 24 deps = [ |
43 "//base", | 25 "//base", |
44 "//cc", | 26 "//cc", |
45 "//cc/surfaces", | 27 "//cc/surfaces", |
46 "//cc/surfaces:surface_id", | 28 "//cc/surfaces:surface_id", |
| 29 "//components/view_manager/gles2", |
47 "//components/view_manager/public/interfaces", | 30 "//components/view_manager/public/interfaces", |
| 31 "//gpu/command_buffer/client:gles2_implementation", |
48 "//gpu/command_buffer/client:gles2_interface", | 32 "//gpu/command_buffer/client:gles2_interface", |
49 "//mojo/application/public/cpp", | 33 "//mojo/application/public/cpp", |
50 "//mojo/common:tracing_impl", | 34 "//mojo/common:tracing_impl", |
51 "//mojo/converters/geometry", | 35 "//mojo/converters/geometry", |
52 "//mojo/converters/surfaces", | 36 "//mojo/converters/surfaces", |
53 "//third_party/mojo/src/mojo/public/c/gles2", | 37 "//third_party/mojo/src/mojo/public/c/gles2", |
54 "//ui/gfx/geometry", | 38 "//ui/gfx/geometry", |
55 "//ui/mojo/geometry:interfaces", | 39 "//ui/mojo/geometry:interfaces", |
56 ] | 40 ] |
57 } | 41 } |
OLD | NEW |