OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 static_library("arc") { | 8 static_library("arc") { |
9 sources = [ | 9 sources = [ |
10 "arc_bridge_bootstrap.cc", | 10 "arc_bridge_bootstrap.cc", |
11 "arc_bridge_bootstrap.h", | 11 "arc_bridge_bootstrap.h", |
12 "arc_bridge_service.cc", | |
13 "arc_bridge_service.h", | |
14 "arc_bridge_service_impl.cc", | 12 "arc_bridge_service_impl.cc", |
15 "arc_bridge_service_impl.h", | 13 "arc_bridge_service_impl.h", |
16 "arc_service.cc", | |
17 "arc_service.h", | |
18 "arc_service_manager.cc", | 14 "arc_service_manager.cc", |
19 "arc_service_manager.h", | 15 "arc_service_manager.h", |
20 "audio/arc_audio_bridge.cc", | 16 "audio/arc_audio_bridge.cc", |
21 "audio/arc_audio_bridge.h", | 17 "audio/arc_audio_bridge.h", |
22 "bitmap/bitmap_type_converters.cc", | |
23 "bitmap/bitmap_type_converters.h", | |
24 "bluetooth/arc_bluetooth_bridge.cc", | 18 "bluetooth/arc_bluetooth_bridge.cc", |
25 "bluetooth/arc_bluetooth_bridge.h", | 19 "bluetooth/arc_bluetooth_bridge.h", |
26 "bluetooth/bluetooth_type_converters.cc", | 20 "bluetooth/bluetooth_type_converters.cc", |
27 "bluetooth/bluetooth_type_converters.h", | 21 "bluetooth/bluetooth_type_converters.h", |
28 "clipboard/arc_clipboard_bridge.cc", | 22 "clipboard/arc_clipboard_bridge.cc", |
29 "clipboard/arc_clipboard_bridge.h", | 23 "clipboard/arc_clipboard_bridge.h", |
30 "crash_collector/arc_crash_collector_bridge.cc", | 24 "crash_collector/arc_crash_collector_bridge.cc", |
31 "crash_collector/arc_crash_collector_bridge.h", | 25 "crash_collector/arc_crash_collector_bridge.h", |
32 "ime/arc_ime_bridge.h", | 26 "ime/arc_ime_bridge.h", |
33 "ime/arc_ime_bridge_impl.cc", | 27 "ime/arc_ime_bridge_impl.cc", |
(...skipping 24 matching lines...) Expand all Loading... |
58 "set_wallpaper_delegate.h", | 52 "set_wallpaper_delegate.h", |
59 "storage_manager/arc_storage_manager.cc", | 53 "storage_manager/arc_storage_manager.cc", |
60 "storage_manager/arc_storage_manager.h", | 54 "storage_manager/arc_storage_manager.h", |
61 "user_data/arc_user_data_service.cc", | 55 "user_data/arc_user_data_service.cc", |
62 "user_data/arc_user_data_service.h", | 56 "user_data/arc_user_data_service.h", |
63 "window_manager/arc_window_manager_bridge.cc", | 57 "window_manager/arc_window_manager_bridge.cc", |
64 "window_manager/arc_window_manager_bridge.h", | 58 "window_manager/arc_window_manager_bridge.h", |
65 ] | 59 ] |
66 | 60 |
67 deps = [ | 61 deps = [ |
| 62 ":arc_base", |
68 "//ash:ash", | 63 "//ash:ash", |
69 "//base", | 64 "//base", |
70 "//chromeos", | 65 "//chromeos", |
71 "//chromeos:power_manager_proto", | 66 "//chromeos:power_manager_proto", |
72 "//components/exo", | 67 "//components/exo", |
73 "//components/google/core/browser", | 68 "//components/google/core/browser", |
74 "//components/onc", | 69 "//components/onc", |
75 "//components/prefs", | 70 "//components/prefs", |
76 "//components/signin/core/account_id", | 71 "//components/signin/core/account_id", |
77 "//components/user_manager", | 72 "//components/user_manager", |
(...skipping 12 matching lines...) Expand all Loading... |
90 "//ui/events:dom_keycode_converter", | 85 "//ui/events:dom_keycode_converter", |
91 "//ui/keyboard:keyboard", | 86 "//ui/keyboard:keyboard", |
92 "//url:url", | 87 "//url:url", |
93 ] | 88 ] |
94 | 89 |
95 public_deps = [ | 90 public_deps = [ |
96 ":arc_bindings", | 91 ":arc_bindings", |
97 ] | 92 ] |
98 } | 93 } |
99 | 94 |
| 95 static_library("arc_base") { |
| 96 sources = [ |
| 97 "arc_bridge_service.cc", |
| 98 "arc_bridge_service.h", |
| 99 "arc_service.cc", |
| 100 "arc_service.h", |
| 101 ] |
| 102 |
| 103 deps = [ |
| 104 "//base", |
| 105 "//chromeos", |
| 106 ] |
| 107 |
| 108 public_deps = [ |
| 109 ":arc_bindings", |
| 110 ] |
| 111 } |
| 112 |
| 113 static_library("arc_bitmap") { |
| 114 sources = [ |
| 115 "bitmap/bitmap_type_converters.cc", |
| 116 "bitmap/bitmap_type_converters.h", |
| 117 ] |
| 118 |
| 119 deps = [ |
| 120 "//skia", |
| 121 ] |
| 122 |
| 123 public_deps = [ |
| 124 ":arc_bindings", |
| 125 ] |
| 126 } |
| 127 |
100 mojom("arc_bindings") { | 128 mojom("arc_bindings") { |
101 sources = [ | 129 sources = [ |
102 "common/app.mojom", | 130 "common/app.mojom", |
103 "common/arc_bridge.mojom", | 131 "common/arc_bridge.mojom", |
104 "common/audio.mojom", | 132 "common/audio.mojom", |
105 "common/auth.mojom", | 133 "common/auth.mojom", |
106 "common/bitmap.mojom", | 134 "common/bitmap.mojom", |
107 "common/bluetooth.mojom", | 135 "common/bluetooth.mojom", |
108 "common/clipboard.mojom", | 136 "common/clipboard.mojom", |
109 "common/crash_collector.mojom", | 137 "common/crash_collector.mojom", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 "test/fake_arc_bridge_service.cc", | 170 "test/fake_arc_bridge_service.cc", |
143 "test/fake_arc_bridge_service.h", | 171 "test/fake_arc_bridge_service.h", |
144 "test/fake_notifications_instance.cc", | 172 "test/fake_notifications_instance.cc", |
145 "test/fake_notifications_instance.h", | 173 "test/fake_notifications_instance.h", |
146 "test/fake_policy_instance.cc", | 174 "test/fake_policy_instance.cc", |
147 "test/fake_policy_instance.h", | 175 "test/fake_policy_instance.h", |
148 ] | 176 ] |
149 | 177 |
150 deps = [ | 178 deps = [ |
151 ":arc", | 179 ":arc", |
| 180 ":arc_base", |
152 ":arc_bindings", | 181 ":arc_bindings", |
153 "//base", | 182 "//base", |
154 "//mojo/common:common_base", | 183 "//mojo/common:common_base", |
155 ] | 184 ] |
156 } | 185 } |
157 | 186 |
158 source_set("unit_tests") { | 187 source_set("unit_tests") { |
159 testonly = true | 188 testonly = true |
160 sources = [ | 189 sources = [ |
161 "arc_bridge_service_unittest.cc", | 190 "arc_bridge_service_unittest.cc", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 ] | 255 ] |
227 | 256 |
228 deps = [ | 257 deps = [ |
229 ":arc_standalone", | 258 ":arc_standalone", |
230 ":arc_standalone_service", | 259 ":arc_standalone_service", |
231 "//base", | 260 "//base", |
232 "//ipc:ipc", | 261 "//ipc:ipc", |
233 "//mojo/edk/system", | 262 "//mojo/edk/system", |
234 ] | 263 ] |
235 } | 264 } |
OLD | NEW |