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