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