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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 | 8 |
9 if (is_android) { | |
10 import("//build/config/android/config.gni") | |
11 import("//build/config/android/rules.gni") | |
12 | |
13 source_set("mus") { | |
14 sources = [ | |
15 "android_loader.cc", | |
16 "android_loader.h", | |
17 ] | |
18 | |
19 deps = [ | |
20 ":lib", | |
21 "public/interfaces", | |
22 "//mojo/application/public/cpp:sources", | |
23 "//mojo/services/tracing/public/interfaces", | |
24 "//mojo/shell", | |
25 "//third_party/mojo/src/mojo/public/cpp/bindings", | |
26 ] | |
27 } | |
28 } else { | |
29 mojo_native_application("mus") { | |
30 sources = [ | |
31 "main.cc", | |
32 ] | |
33 | |
34 deps = [ | |
35 ":lib", | |
36 "//mojo/application/public/cpp:sources", | |
37 ] | |
38 } | |
39 } | |
40 | |
41 source_set("lib") { | 9 source_set("lib") { |
42 sources = [ | 10 sources = [ |
43 "access_policy.h", | 11 "access_policy.h", |
44 "access_policy_delegate.h", | 12 "access_policy_delegate.h", |
45 "client_connection.cc", | 13 "client_connection.cc", |
46 "client_connection.h", | 14 "client_connection.h", |
47 "connection_manager.cc", | 15 "connection_manager.cc", |
48 "connection_manager.h", | 16 "connection_manager.h", |
49 "connection_manager_delegate.h", | 17 "connection_manager_delegate.h", |
50 "default_access_policy.cc", | 18 "default_access_policy.cc", |
51 "default_access_policy.h", | 19 "default_access_policy.h", |
52 "display_manager.cc", | 20 "display_manager.cc", |
53 "display_manager.h", | 21 "display_manager.h", |
54 "display_manager_delegate.h", | 22 "display_manager_delegate.h", |
55 "display_manager_factory.h", | 23 "display_manager_factory.h", |
56 "event_dispatcher.cc", | 24 "event_dispatcher.cc", |
57 "event_dispatcher.h", | 25 "event_dispatcher.h", |
58 "focus_controller.cc", | 26 "focus_controller.cc", |
59 "focus_controller.h", | 27 "focus_controller.h", |
60 "focus_controller_delegate.h", | 28 "focus_controller_delegate.h", |
61 "mus_app.cc", | |
62 "mus_app.h", | |
63 "server_view.cc", | 29 "server_view.cc", |
64 "server_view.h", | 30 "server_view.h", |
65 "server_view_delegate.h", | 31 "server_view_delegate.h", |
66 "server_view_drawn_tracker.cc", | 32 "server_view_drawn_tracker.cc", |
67 "server_view_drawn_tracker.h", | 33 "server_view_drawn_tracker.h", |
68 "server_view_drawn_tracker_observer.h", | 34 "server_view_drawn_tracker_observer.h", |
69 "server_view_observer.h", | 35 "server_view_observer.h", |
70 "view_coordinate_conversions.cc", | 36 "view_coordinate_conversions.cc", |
71 "view_coordinate_conversions.h", | 37 "view_coordinate_conversions.h", |
72 "view_tree_host_connection.cc", | 38 "view_tree_host_connection.cc", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 "test_server_view_delegate.h", | 112 "test_server_view_delegate.h", |
147 "view_coordinate_conversions_unittest.cc", | 113 "view_coordinate_conversions_unittest.cc", |
148 "view_tree_unittest.cc", | 114 "view_tree_unittest.cc", |
149 ] | 115 ] |
150 | 116 |
151 deps = [ | 117 deps = [ |
152 ":test_support", | 118 ":test_support", |
153 ":lib", | 119 ":lib", |
154 "//base", | 120 "//base", |
155 "//base/test:test_config", | 121 "//base/test:test_config", |
| 122 "//components/mus/surfaces", |
156 "//components/mus/public/cpp:common", | 123 "//components/mus/public/cpp:common", |
157 "//components/mus/public/interfaces", | 124 "//components/mus/public/interfaces", |
158 "//components/mus/surfaces", | |
159 "//mojo/application/public/interfaces", | 125 "//mojo/application/public/interfaces", |
160 "//mojo/converters/geometry", | 126 "//mojo/converters/geometry", |
161 "//mojo/converters/input_events", | 127 "//mojo/converters/input_events", |
162 "//mojo/converters/transform", | 128 "//mojo/converters/transform", |
163 "//mojo/environment:chromium", | 129 "//mojo/environment:chromium", |
164 "//mojo/platform_handle", | 130 "//mojo/platform_handle", |
165 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 131 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
166 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", | 132 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", |
167 "//ui/mojo/geometry:interfaces", | 133 "//ui/mojo/geometry:interfaces", |
168 "//ui/mojo/events:interfaces", | 134 "//ui/mojo/events:interfaces", |
(...skipping 24 matching lines...) Expand all Loading... |
193 "//components/mus/public/cpp", | 159 "//components/mus/public/cpp", |
194 "//components/mus/public/cpp/tests:test_support", | 160 "//components/mus/public/cpp/tests:test_support", |
195 "//components/mus/public/interfaces", | 161 "//components/mus/public/interfaces", |
196 "//mojo/application/public/cpp:sources", | 162 "//mojo/application/public/cpp:sources", |
197 "//mojo/application/public/cpp:test_support", | 163 "//mojo/application/public/cpp:test_support", |
198 "//ui/mojo/geometry:interfaces", | 164 "//ui/mojo/geometry:interfaces", |
199 "//ui/mojo/geometry:util", | 165 "//ui/mojo/geometry:util", |
200 ] | 166 ] |
201 | 167 |
202 data_deps = [ | 168 data_deps = [ |
203 ":mus", | 169 ":lib", |
204 ] | 170 ] |
205 } | 171 } |
OLD | NEW |