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_host_impl.cc", | |
11 "arc_bridge_host_impl.h", | |
12 "arc_bridge_service_impl.cc", | |
13 "arc_bridge_service_impl.h", | |
14 "arc_features.cc", | |
15 "arc_features.h", | |
16 "arc_service_manager.cc", | 10 "arc_service_manager.cc", |
17 "arc_service_manager.h", | 11 "arc_service_manager.h", |
18 "arc_session.cc", | |
19 "arc_session.h", | |
20 "audio/arc_audio_bridge.cc", | 12 "audio/arc_audio_bridge.cc", |
21 "audio/arc_audio_bridge.h", | 13 "audio/arc_audio_bridge.h", |
22 "bluetooth/arc_bluetooth_bridge.cc", | 14 "bluetooth/arc_bluetooth_bridge.cc", |
23 "bluetooth/arc_bluetooth_bridge.h", | 15 "bluetooth/arc_bluetooth_bridge.h", |
24 "bluetooth/bluetooth_struct_traits.cc", | 16 "bluetooth/bluetooth_struct_traits.cc", |
25 "bluetooth/bluetooth_struct_traits.h", | 17 "bluetooth/bluetooth_struct_traits.h", |
26 "bluetooth/bluetooth_type_converters.cc", | 18 "bluetooth/bluetooth_type_converters.cc", |
27 "bluetooth/bluetooth_type_converters.h", | 19 "bluetooth/bluetooth_type_converters.h", |
28 "boot_phase_monitor/arc_boot_phase_monitor_bridge.cc", | 20 "boot_phase_monitor/arc_boot_phase_monitor_bridge.cc", |
29 "boot_phase_monitor/arc_boot_phase_monitor_bridge.h", | 21 "boot_phase_monitor/arc_boot_phase_monitor_bridge.h", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 "//ash:ash", | 68 "//ash:ash", |
77 "//ash/public/interfaces", | 69 "//ash/public/interfaces", |
78 "//base", | 70 "//base", |
79 "//chromeos", | 71 "//chromeos", |
80 "//chromeos:power_manager_proto", | 72 "//chromeos:power_manager_proto", |
81 "//components/exo", | 73 "//components/exo", |
82 "//components/google/core/browser", | 74 "//components/google/core/browser", |
83 "//components/onc", | 75 "//components/onc", |
84 "//components/prefs", | 76 "//components/prefs", |
85 "//components/signin/core/account_id", | 77 "//components/signin/core/account_id", |
86 "//components/user_manager", | |
87 "//device/bluetooth", | 78 "//device/bluetooth", |
88 "//google_apis", | 79 "//google_apis", |
89 "//mojo/edk/system", | 80 "//mojo/edk/system", |
Luis Héctor Chávez
2016/12/16 23:31:00
Can this be removed?
hidehiko
2016/12/19 08:27:03
Unfortunately, we cannot.
Some other modules (cras
| |
90 "//skia", | 81 "//skia", |
91 "//third_party/re2:re2", | 82 "//third_party/re2:re2", |
92 "//ui/aura", | 83 "//ui/aura", |
93 "//ui/base:base", | 84 "//ui/base:base", |
94 "//ui/base/ime", | 85 "//ui/base/ime", |
95 "//ui/display/manager", | 86 "//ui/display/manager", |
96 "//ui/events", | 87 "//ui/events", |
97 "//ui/events:dom_keycode_converter", | 88 "//ui/events:dom_keycode_converter", |
98 "//ui/keyboard:keyboard", | 89 "//ui/keyboard:keyboard", |
99 "//url:url", | 90 "//url:url", |
100 ] | 91 ] |
101 } | 92 } |
102 | 93 |
103 static_library("arc_base") { | 94 static_library("arc_base") { |
95 # TODO(hidehiko): Revisit here and move back some files to "arc" | |
96 # on completion to move ArcSession task to ArcSessionManager. | |
104 sources = [ | 97 sources = [ |
98 "arc_bridge_host_impl.cc", | |
99 "arc_bridge_host_impl.h", | |
105 "arc_bridge_service.cc", | 100 "arc_bridge_service.cc", |
106 "arc_bridge_service.h", | 101 "arc_bridge_service.h", |
102 "arc_features.cc", | |
103 "arc_features.h", | |
107 "arc_service.cc", | 104 "arc_service.cc", |
108 "arc_service.h", | 105 "arc_service.h", |
106 "arc_session.cc", | |
107 "arc_session.h", | |
109 "arc_session_observer.cc", | 108 "arc_session_observer.cc", |
110 "arc_session_observer.h", | 109 "arc_session_observer.h", |
110 "arc_session_runner.cc", | |
111 "arc_session_runner.h", | |
111 "instance_holder.h", | 112 "instance_holder.h", |
112 ] | 113 ] |
113 | 114 |
114 deps = [ | 115 deps = [ |
115 "//base", | 116 "//base", |
116 "//chromeos", | 117 "//chromeos", |
118 "//components/user_manager", | |
119 "//mojo/edk/system", | |
117 ] | 120 ] |
118 | 121 |
119 public_deps = [ | 122 public_deps = [ |
120 ":arc_bindings", | 123 ":arc_bindings", |
121 ] | 124 ] |
122 } | 125 } |
123 | 126 |
124 mojom("arc_bindings") { | 127 mojom("arc_bindings") { |
125 sources = [ | 128 sources = [ |
126 "common/app.mojom", | 129 "common/app.mojom", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 "//mojo/common:common_custom_types", | 161 "//mojo/common:common_custom_types", |
159 "//ui/gfx/geometry/mojo", | 162 "//ui/gfx/geometry/mojo", |
160 ] | 163 ] |
161 } | 164 } |
162 | 165 |
163 static_library("arc_test_support") { | 166 static_library("arc_test_support") { |
164 testonly = true | 167 testonly = true |
165 sources = [ | 168 sources = [ |
166 "test/fake_app_instance.cc", | 169 "test/fake_app_instance.cc", |
167 "test/fake_app_instance.h", | 170 "test/fake_app_instance.h", |
168 "test/fake_arc_bridge_service.cc", | |
169 "test/fake_arc_bridge_service.h", | |
170 "test/fake_arc_session.cc", | 171 "test/fake_arc_session.cc", |
171 "test/fake_arc_session.h", | 172 "test/fake_arc_session.h", |
172 "test/fake_bluetooth_instance.cc", | 173 "test/fake_bluetooth_instance.cc", |
173 "test/fake_bluetooth_instance.h", | 174 "test/fake_bluetooth_instance.h", |
174 "test/fake_file_system_instance.cc", | 175 "test/fake_file_system_instance.cc", |
175 "test/fake_file_system_instance.h", | 176 "test/fake_file_system_instance.h", |
176 "test/fake_intent_helper_instance.cc", | 177 "test/fake_intent_helper_instance.cc", |
177 "test/fake_intent_helper_instance.h", | 178 "test/fake_intent_helper_instance.h", |
178 "test/fake_notifications_instance.cc", | 179 "test/fake_notifications_instance.cc", |
179 "test/fake_notifications_instance.h", | 180 "test/fake_notifications_instance.h", |
180 "test/fake_policy_instance.cc", | 181 "test/fake_policy_instance.cc", |
181 "test/fake_policy_instance.h", | 182 "test/fake_policy_instance.h", |
182 ] | 183 ] |
183 | 184 |
184 public_deps = [ | 185 public_deps = [ |
185 ":arc", | 186 ":arc", |
186 ] | 187 ] |
187 | 188 |
188 deps = [ | 189 deps = [ |
189 "//base", | 190 "//base", |
190 "//mojo/common:common_base", | 191 "//mojo/common:common_base", |
191 ] | 192 ] |
192 } | 193 } |
193 | 194 |
194 source_set("unit_tests") { | 195 source_set("unit_tests") { |
195 testonly = true | 196 testonly = true |
196 sources = [ | 197 sources = [ |
197 "arc_bridge_service_unittest.cc", | 198 "arc_session_runner_unittest.cc", |
198 "bluetooth/arc_bluetooth_bridge_unittest.cc", | 199 "bluetooth/arc_bluetooth_bridge_unittest.cc", |
199 "bluetooth/bluetooth_struct_traits_unittest.cc", | 200 "bluetooth/bluetooth_struct_traits_unittest.cc", |
200 "bluetooth/bluetooth_type_converters_unittest.cc", | 201 "bluetooth/bluetooth_type_converters_unittest.cc", |
201 "ime/arc_ime_service_unittest.cc", | 202 "ime/arc_ime_service_unittest.cc", |
202 "intent_helper/activity_icon_loader_unittest.cc", | 203 "intent_helper/activity_icon_loader_unittest.cc", |
203 "intent_helper/arc_intent_helper_bridge_unittest.cc", | 204 "intent_helper/arc_intent_helper_bridge_unittest.cc", |
204 "intent_helper/font_size_util_unittest.cc", | 205 "intent_helper/font_size_util_unittest.cc", |
205 "intent_helper/intent_filter_unittest.cc", | 206 "intent_helper/intent_filter_unittest.cc", |
206 "intent_helper/link_handler_model_impl_unittest.cc", | 207 "intent_helper/link_handler_model_impl_unittest.cc", |
207 "intent_helper/local_activity_resolver_unittest.cc", | 208 "intent_helper/local_activity_resolver_unittest.cc", |
208 "intent_helper/page_transition_util_unittest.cc", | 209 "intent_helper/page_transition_util_unittest.cc", |
209 ] | 210 ] |
210 | 211 |
211 deps = [ | 212 deps = [ |
212 ":arc_test_support", | 213 ":arc_test_support", |
213 "//base", | 214 "//base", |
214 "//chromeos", | 215 "//chromeos", |
215 "//device/bluetooth", | 216 "//device/bluetooth", |
216 "//mojo/public/cpp/system:system", | 217 "//mojo/public/cpp/system:system", |
217 "//testing/gtest", | 218 "//testing/gtest", |
218 "//ui/aura", | 219 "//ui/aura", |
219 "//ui/aura:test_support", | 220 "//ui/aura:test_support", |
220 "//ui/base:test_support", | 221 "//ui/base:test_support", |
221 "//ui/base/ime", | 222 "//ui/base/ime", |
222 "//ui/events", | 223 "//ui/events", |
223 "//ui/events:dom_keycode_converter", | 224 "//ui/events:dom_keycode_converter", |
224 "//url:url", | 225 "//url:url", |
225 ] | 226 ] |
226 } | 227 } |
OLD | NEW |