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 source_set("cpp") { | 5 component("cpp") { |
| 6 output_name = "mus_public_cpp" |
| 7 |
| 8 deps = [ |
| 9 ":sources", |
| 10 ] |
| 11 |
| 12 public_deps = [ |
| 13 ":headers", |
| 14 ] |
| 15 } |
| 16 |
| 17 source_set("headers") { |
6 sources = [ | 18 sources = [ |
7 "context_provider.h", | 19 "context_provider.h", |
8 "gles2_context.h", | 20 "gles2_context.h", |
| 21 "gpu_service.h", |
9 "input_event_handler.h", | 22 "input_event_handler.h", |
| 23 "mus_public_export", |
| 24 "output_surface.h", |
| 25 "property_type_converters.h", |
| 26 "scoped_window_ptr.h", |
| 27 "window.h", |
| 28 "window_manager_delegate.h", |
| 29 "window_observer.h", |
| 30 "window_property.h", |
| 31 "window_surface.h", |
| 32 "window_surface_client.h", |
| 33 "window_tracker.h", |
| 34 "window_tree_connection.h", |
| 35 "window_tree_connection_observer.h", |
| 36 "window_tree_delegate.h", |
| 37 "window_tree_host_factory.h", |
| 38 ] |
| 39 |
| 40 deps = [ |
| 41 "//cc", |
| 42 "//cc/surfaces:surface_id", |
| 43 "//components/mus/common:mus_common", |
| 44 "//gpu/command_buffer/client", |
| 45 "//gpu/command_buffer/client:gles2_implementation", |
| 46 "//gpu/ipc/client", |
| 47 "//services/shell/public/interfaces", |
| 48 ] |
| 49 |
| 50 public_deps = [ |
| 51 "../interfaces", |
| 52 ] |
| 53 } |
| 54 |
| 55 source_set("sources") { |
| 56 sources = [ |
10 "lib/command_buffer_client_impl.cc", | 57 "lib/command_buffer_client_impl.cc", |
11 "lib/command_buffer_client_impl.h", | 58 "lib/command_buffer_client_impl.h", |
12 "lib/context_provider.cc", | 59 "lib/context_provider.cc", |
13 "lib/gles2_context.cc", | 60 "lib/gles2_context.cc", |
| 61 "lib/gpu_memory_buffer_manager_mus.cc", |
| 62 "lib/gpu_memory_buffer_manager_mus.h", |
| 63 "lib/gpu_service.cc", |
14 "lib/in_flight_change.cc", | 64 "lib/in_flight_change.cc", |
15 "lib/in_flight_change.h", | 65 "lib/in_flight_change.h", |
16 "lib/output_surface.cc", | 66 "lib/output_surface.cc", |
17 "lib/property_type_converters.cc", | 67 "lib/property_type_converters.cc", |
18 "lib/scoped_window_ptr.cc", | 68 "lib/scoped_window_ptr.cc", |
19 "lib/window.cc", | 69 "lib/window.cc", |
20 "lib/window_observer.cc", | 70 "lib/window_observer.cc", |
21 "lib/window_private.cc", | 71 "lib/window_private.cc", |
22 "lib/window_private.h", | 72 "lib/window_private.h", |
23 "lib/window_surface.cc", | 73 "lib/window_surface.cc", |
24 "lib/window_tree_client_impl.cc", | 74 "lib/window_tree_client_impl.cc", |
25 "lib/window_tree_client_impl.h", | 75 "lib/window_tree_client_impl.h", |
26 "lib/window_tree_delegate.cc", | 76 "lib/window_tree_delegate.cc", |
27 "lib/window_tree_host_factory.cc", | 77 "lib/window_tree_host_factory.cc", |
28 "output_surface.h", | |
29 "property_type_converters.h", | |
30 "scoped_window_ptr.h", | |
31 "window.h", | |
32 "window_manager_delegate.h", | |
33 "window_observer.h", | |
34 "window_property.h", | |
35 "window_surface.h", | |
36 "window_surface_client.h", | |
37 "window_tracker.h", | |
38 "window_tree_connection.h", | |
39 "window_tree_connection_observer.h", | |
40 "window_tree_delegate.h", | |
41 "window_tree_host_factory.h", | |
42 ] | 78 ] |
43 | 79 |
| 80 defines = [ "MUS_PUBLIC_IMPLEMENTATION" ] |
| 81 |
44 public_deps = [ | 82 public_deps = [ |
| 83 ":headers", |
45 "../interfaces", | 84 "../interfaces", |
46 ] | 85 ] |
47 | 86 |
48 deps = [ | 87 deps = [ |
49 "//base", | 88 "//base", |
50 "//cc", | 89 "//cc", |
51 "//cc/surfaces", | 90 "//cc/surfaces", |
52 "//cc/surfaces:surface_id", | 91 "//cc/surfaces:surface_id", |
53 "//components/mus/common:mus_common", | 92 "//components/mus/common:mus_common", |
54 "//components/mus/gles2:lib", | 93 "//components/mus/gles2:lib", |
| 94 "//components/mus/public/interfaces", |
55 "//gpu/command_buffer/client", | 95 "//gpu/command_buffer/client", |
56 "//gpu/command_buffer/client:gles2_cmd_helper", | 96 "//gpu/command_buffer/client:gles2_cmd_helper", |
57 "//gpu/command_buffer/client:gles2_implementation", | 97 "//gpu/command_buffer/client:gles2_implementation", |
58 "//gpu/command_buffer/client:gles2_interface", | 98 "//gpu/command_buffer/client:gles2_interface", |
59 "//gpu/command_buffer/common", | 99 "//gpu/command_buffer/common", |
60 "//mojo/converters/geometry", | 100 "//mojo/converters/geometry", |
61 "//mojo/converters/input_events", | 101 "//mojo/converters/input_events", |
62 "//mojo/converters/surfaces", | 102 "//mojo/converters/surfaces", |
| 103 "//mojo/public/c/system:for_component", |
63 "//mojo/public/cpp/bindings:bindings", | 104 "//mojo/public/cpp/bindings:bindings", |
64 "//mojo/public/cpp/system", | 105 "//mojo/public/cpp/system", |
65 "//services/shell/public/cpp", | 106 "//services/shell/public/cpp", |
66 "//services/shell/public/interfaces", | 107 "//services/shell/public/interfaces", |
67 "//ui/events", | 108 "//ui/events", |
68 "//ui/gfx/geometry", | 109 "//ui/gfx/geometry", |
69 "//ui/mojo/geometry:interfaces", | 110 "//ui/mojo/geometry:interfaces", |
70 ] | 111 ] |
71 | 112 |
72 data_deps = [ | 113 data_deps = [ |
73 "//components/mus", | 114 "//components/mus", |
74 ] | 115 ] |
75 } | 116 } |
OLD | NEW |