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