Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: components/arc/BUILD.gn

Issue 2496973002: arc: Partially migrate mojo types (Closed)
Patch Set: Fixed nit Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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", 10 "arc_bridge_host_impl.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "power/arc_power_bridge.cc", 64 "power/arc_power_bridge.cc",
65 "power/arc_power_bridge.h", 65 "power/arc_power_bridge.h",
66 "storage_manager/arc_storage_manager.cc", 66 "storage_manager/arc_storage_manager.cc",
67 "storage_manager/arc_storage_manager.h", 67 "storage_manager/arc_storage_manager.h",
68 "user_data/arc_user_data_service.cc", 68 "user_data/arc_user_data_service.cc",
69 "user_data/arc_user_data_service.h", 69 "user_data/arc_user_data_service.h",
70 ] 70 ]
71 71
72 public_deps = [ 72 public_deps = [
73 ":arc_base", 73 ":arc_base",
74 ":arc_bindings",
75 ] 74 ]
76 75
77 deps = [ 76 deps = [
78 "//ash:ash", 77 "//ash:ash",
79 "//ash/public/interfaces", 78 "//ash/public/interfaces",
80 "//base", 79 "//base",
81 "//chromeos", 80 "//chromeos",
82 "//chromeos:power_manager_proto", 81 "//chromeos:power_manager_proto",
83 "//components/exo", 82 "//components/exo",
84 "//components/google/core/browser", 83 "//components/google/core/browser",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 deps = [ 115 deps = [
117 "//base", 116 "//base",
118 "//chromeos", 117 "//chromeos",
119 ] 118 ]
120 119
121 public_deps = [ 120 public_deps = [
122 ":arc_bindings", 121 ":arc_bindings",
123 ] 122 ]
124 } 123 }
125 124
126 mojom("arc_bindings") { 125 # TODO(crbug.com/662510): Remove this altogether.
126 mojom("arc_bindings_old_types") {
127 sources = [ 127 sources = [
128 "common/app.mojom", 128 "common/app.mojom",
129 "common/arc_bridge.mojom",
130 "common/audio.mojom",
131 "common/auth.mojom",
132 "common/bitmap.mojom", 129 "common/bitmap.mojom",
133 "common/bluetooth.mojom", 130 "common/bluetooth.mojom",
134 "common/boot_phase_monitor.mojom",
135 "common/clipboard.mojom",
136 "common/crash_collector.mojom",
137 "common/enterprise_reporting.mojom", 131 "common/enterprise_reporting.mojom",
138 "common/file_system.mojom",
139 "common/ime.mojom", 132 "common/ime.mojom",
140 "common/intent_helper.mojom", 133 "common/intent_helper.mojom",
141 "common/metrics.mojom", 134 "common/metrics.mojom",
142 "common/net.mojom", 135 "common/net.mojom",
143 "common/notifications.mojom", 136 "common/notifications.mojom",
144 "common/obb_mounter.mojom", 137 "common/obb_mounter.mojom",
145 "common/policy.mojom", 138 "common/policy.mojom",
146 "common/power.mojom", 139 "common/power.mojom",
147 "common/print.mojom", 140 "common/print.mojom",
148 "common/process.mojom", 141 "common/process.mojom",
149 "common/scale_factor.mojom", 142 "common/scale_factor.mojom",
150 "common/screen_rect.mojom", 143 "common/screen_rect.mojom",
151 "common/storage_manager.mojom", 144 "common/storage_manager.mojom",
152 "common/tts.mojom", 145 "common/tts.mojom",
153 "common/video.mojom", 146 "common/video.mojom",
154 "common/video_accelerator.mojom", 147 "common/video_accelerator.mojom",
155 "common/wallpaper.mojom", 148 "common/wallpaper.mojom",
156 ] 149 ]
157 150
158 public_deps = [ 151 public_deps = [
159 "//mojo/common:common_custom_types", 152 "//mojo/common:common_custom_types",
160 "//ui/gfx/geometry/mojo", 153 "//ui/gfx/geometry/mojo",
161 ] 154 ]
162 155
163 use_new_wrapper_types = false 156 use_new_wrapper_types = false
164 } 157 }
165 158
159 mojom("arc_bindings") {
160 sources = [
161 "common/arc_bridge.mojom",
162 "common/audio.mojom",
163 "common/auth.mojom",
164 "common/boot_phase_monitor.mojom",
165 "common/clipboard.mojom",
166 "common/crash_collector.mojom",
167 "common/file_system.mojom",
168 ]
169
170 public_deps = [
171 ":arc_bindings_old_types",
172 "//mojo/common:common_custom_types",
173 ]
174 }
175
166 static_library("arc_test_support") { 176 static_library("arc_test_support") {
167 testonly = true 177 testonly = true
168 sources = [ 178 sources = [
169 "test/fake_app_instance.cc", 179 "test/fake_app_instance.cc",
170 "test/fake_app_instance.h", 180 "test/fake_app_instance.h",
171 "test/fake_arc_bridge_service.cc", 181 "test/fake_arc_bridge_service.cc",
172 "test/fake_arc_bridge_service.h", 182 "test/fake_arc_bridge_service.h",
173 "test/fake_arc_session.cc", 183 "test/fake_arc_session.cc",
174 "test/fake_arc_session.h", 184 "test/fake_arc_session.h",
175 "test/fake_bluetooth_instance.cc", 185 "test/fake_bluetooth_instance.cc",
176 "test/fake_bluetooth_instance.h", 186 "test/fake_bluetooth_instance.h",
177 "test/fake_intent_helper_instance.cc", 187 "test/fake_intent_helper_instance.cc",
178 "test/fake_intent_helper_instance.h", 188 "test/fake_intent_helper_instance.h",
179 "test/fake_notifications_instance.cc", 189 "test/fake_notifications_instance.cc",
180 "test/fake_notifications_instance.h", 190 "test/fake_notifications_instance.h",
181 "test/fake_policy_instance.cc", 191 "test/fake_policy_instance.cc",
182 "test/fake_policy_instance.h", 192 "test/fake_policy_instance.h",
183 ] 193 ]
184 194
195 public_deps = [
196 ":arc",
197 ]
198
185 deps = [ 199 deps = [
186 ":arc",
187 ":arc_base",
188 ":arc_bindings",
189 "//base", 200 "//base",
190 "//mojo/common:common_base", 201 "//mojo/common:common_base",
191 ] 202 ]
192 } 203 }
193 204
194 source_set("unit_tests") { 205 source_set("unit_tests") {
195 testonly = true 206 testonly = true
196 sources = [ 207 sources = [
197 "arc_bridge_service_unittest.cc", 208 "arc_bridge_service_unittest.cc",
198 "bluetooth/arc_bluetooth_bridge_unittest.cc", 209 "bluetooth/arc_bluetooth_bridge_unittest.cc",
199 "bluetooth/bluetooth_struct_traits_unittest.cc", 210 "bluetooth/bluetooth_struct_traits_unittest.cc",
200 "bluetooth/bluetooth_type_converters_unittest.cc", 211 "bluetooth/bluetooth_type_converters_unittest.cc",
201 "ime/arc_ime_service_unittest.cc", 212 "ime/arc_ime_service_unittest.cc",
202 "intent_helper/activity_icon_loader_unittest.cc", 213 "intent_helper/activity_icon_loader_unittest.cc",
203 "intent_helper/arc_intent_helper_bridge_unittest.cc", 214 "intent_helper/arc_intent_helper_bridge_unittest.cc",
204 "intent_helper/font_size_util_unittest.cc", 215 "intent_helper/font_size_util_unittest.cc",
205 "intent_helper/intent_filter_unittest.cc", 216 "intent_helper/intent_filter_unittest.cc",
206 "intent_helper/link_handler_model_impl_unittest.cc", 217 "intent_helper/link_handler_model_impl_unittest.cc",
207 "intent_helper/local_activity_resolver_unittest.cc", 218 "intent_helper/local_activity_resolver_unittest.cc",
208 "intent_helper/page_transition_util_unittest.cc", 219 "intent_helper/page_transition_util_unittest.cc",
209 ] 220 ]
210 221
211 deps = [ 222 deps = [
212 ":arc",
213 ":arc_bindings",
214 ":arc_test_support", 223 ":arc_test_support",
215 "//base", 224 "//base",
216 "//chromeos", 225 "//chromeos",
217 "//device/bluetooth", 226 "//device/bluetooth",
218 "//mojo/public/cpp/system:system", 227 "//mojo/public/cpp/system:system",
219 "//testing/gtest", 228 "//testing/gtest",
220 "//ui/aura", 229 "//ui/aura",
221 "//ui/aura:test_support", 230 "//ui/aura:test_support",
222 "//ui/base:test_support", 231 "//ui/base:test_support",
223 "//ui/base/ime", 232 "//ui/base/ime",
224 "//ui/events", 233 "//ui/events",
225 "//ui/events:dom_keycode_converter", 234 "//ui/events:dom_keycode_converter",
226 "//url:url", 235 "//url:url",
227 ] 236 ]
228 } 237 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698