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

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

Issue 2496973002: arc: Partially migrate mojo types (Closed)
Patch Set: Use references instead of copying std::vector 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 deps = [ 116 deps = [
117 "//base", 117 "//base",
118 "//chromeos", 118 "//chromeos",
119 ] 119 ]
120 120
121 public_deps = [ 121 public_deps = [
122 ":arc_bindings", 122 ":arc_bindings",
123 ] 123 ]
124 } 124 }
125 125
126 mojom("arc_bindings") { 126 # TODO(crbug.com/662510): Remove this altogether.
127 mojom("arc_bindings_old_types") {
127 sources = [ 128 sources = [
128 "common/app.mojom", 129 "common/app.mojom",
129 "common/arc_bridge.mojom",
130 "common/audio.mojom",
131 "common/auth.mojom",
132 "common/bitmap.mojom", 130 "common/bitmap.mojom",
133 "common/bluetooth.mojom", 131 "common/bluetooth.mojom",
134 "common/boot_phase_monitor.mojom",
135 "common/clipboard.mojom",
136 "common/crash_collector.mojom",
137 "common/enterprise_reporting.mojom", 132 "common/enterprise_reporting.mojom",
138 "common/file_system.mojom",
139 "common/ime.mojom", 133 "common/ime.mojom",
140 "common/intent_helper.mojom", 134 "common/intent_helper.mojom",
141 "common/metrics.mojom", 135 "common/metrics.mojom",
142 "common/net.mojom", 136 "common/net.mojom",
143 "common/notifications.mojom", 137 "common/notifications.mojom",
144 "common/obb_mounter.mojom", 138 "common/obb_mounter.mojom",
145 "common/policy.mojom", 139 "common/policy.mojom",
146 "common/power.mojom", 140 "common/power.mojom",
147 "common/print.mojom", 141 "common/print.mojom",
148 "common/process.mojom", 142 "common/process.mojom",
149 "common/scale_factor.mojom", 143 "common/scale_factor.mojom",
150 "common/screen_rect.mojom", 144 "common/screen_rect.mojom",
151 "common/storage_manager.mojom", 145 "common/storage_manager.mojom",
152 "common/tts.mojom", 146 "common/tts.mojom",
153 "common/video.mojom", 147 "common/video.mojom",
154 "common/video_accelerator.mojom", 148 "common/video_accelerator.mojom",
155 "common/wallpaper.mojom", 149 "common/wallpaper.mojom",
156 ] 150 ]
157 151
158 public_deps = [ 152 public_deps = [
159 "//mojo/common:common_custom_types", 153 "//mojo/common:common_custom_types",
160 "//ui/gfx/geometry/mojo", 154 "//ui/gfx/geometry/mojo",
161 ] 155 ]
162 156
163 use_new_wrapper_types = false 157 use_new_wrapper_types = false
164 } 158 }
165 159
160 mojom("arc_bindings") {
161 sources = [
162 "common/arc_bridge.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",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 "//testing/gtest", 229 "//testing/gtest",
220 "//ui/aura", 230 "//ui/aura",
221 "//ui/aura:test_support", 231 "//ui/aura:test_support",
222 "//ui/base:test_support", 232 "//ui/base:test_support",
223 "//ui/base/ime", 233 "//ui/base/ime",
224 "//ui/events", 234 "//ui/events",
225 "//ui/events:dom_keycode_converter", 235 "//ui/events:dom_keycode_converter",
226 "//url:url", 236 "//url:url",
227 ] 237 ]
228 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698