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

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

Issue 2651883003: Clean up ARC file system unit tests. (Closed)
Patch Set: Fake FileSystemInstance, not ArcFileSystemOperationRunner. Created 3 years, 11 months 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_service_manager.cc", 10 "arc_service_manager.cc",
11 "arc_service_manager.h", 11 "arc_service_manager.h",
12 "audio/arc_audio_bridge.cc", 12 "audio/arc_audio_bridge.cc",
13 "audio/arc_audio_bridge.h", 13 "audio/arc_audio_bridge.h",
14 "bluetooth/arc_bluetooth_bridge.cc", 14 "bluetooth/arc_bluetooth_bridge.cc",
15 "bluetooth/arc_bluetooth_bridge.h", 15 "bluetooth/arc_bluetooth_bridge.h",
16 "bluetooth/bluetooth_struct_traits.cc", 16 "bluetooth/bluetooth_struct_traits.cc",
17 "bluetooth/bluetooth_struct_traits.h", 17 "bluetooth/bluetooth_struct_traits.h",
18 "bluetooth/bluetooth_type_converters.cc", 18 "bluetooth/bluetooth_type_converters.cc",
19 "bluetooth/bluetooth_type_converters.h", 19 "bluetooth/bluetooth_type_converters.h",
20 "clipboard/arc_clipboard_bridge.cc", 20 "clipboard/arc_clipboard_bridge.cc",
21 "clipboard/arc_clipboard_bridge.h", 21 "clipboard/arc_clipboard_bridge.h",
22 "crash_collector/arc_crash_collector_bridge.cc", 22 "crash_collector/arc_crash_collector_bridge.cc",
23 "crash_collector/arc_crash_collector_bridge.h", 23 "crash_collector/arc_crash_collector_bridge.h",
24 "file_system/arc_file_system_operation_runner.cc",
25 "file_system/arc_file_system_operation_runner.h",
26 "ime/arc_ime_bridge.h", 24 "ime/arc_ime_bridge.h",
27 "ime/arc_ime_bridge_impl.cc", 25 "ime/arc_ime_bridge_impl.cc",
28 "ime/arc_ime_bridge_impl.h", 26 "ime/arc_ime_bridge_impl.h",
29 "ime/arc_ime_service.cc", 27 "ime/arc_ime_service.cc",
30 "ime/arc_ime_service.h", 28 "ime/arc_ime_service.h",
31 "intent_helper/activity_icon_loader.cc", 29 "intent_helper/activity_icon_loader.cc",
32 "intent_helper/activity_icon_loader.h", 30 "intent_helper/activity_icon_loader.h",
33 "intent_helper/arc_intent_helper_bridge.cc", 31 "intent_helper/arc_intent_helper_bridge.cc",
34 "intent_helper/arc_intent_helper_bridge.h", 32 "intent_helper/arc_intent_helper_bridge.h",
35 "intent_helper/font_size_util.cc", 33 "intent_helper/font_size_util.cc",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 157
160 public_deps = [ 158 public_deps = [
161 "//mojo/common:common_custom_types", 159 "//mojo/common:common_custom_types",
162 "//ui/gfx/geometry/mojo", 160 "//ui/gfx/geometry/mojo",
163 ] 161 ]
164 } 162 }
165 163
166 static_library("arc_test_support") { 164 static_library("arc_test_support") {
167 testonly = true 165 testonly = true
168 sources = [ 166 sources = [
169 "file_system/test/fake_arc_file_system_operation_runner.cc",
170 "file_system/test/fake_arc_file_system_operation_runner.h",
171 "test/fake_app_instance.cc", 167 "test/fake_app_instance.cc",
172 "test/fake_app_instance.h", 168 "test/fake_app_instance.h",
173 "test/fake_arc_session.cc", 169 "test/fake_arc_session.cc",
174 "test/fake_arc_session.h", 170 "test/fake_arc_session.h",
175 "test/fake_bluetooth_instance.cc", 171 "test/fake_bluetooth_instance.cc",
176 "test/fake_bluetooth_instance.h", 172 "test/fake_bluetooth_instance.h",
177 "test/fake_file_system_instance.cc", 173 "test/fake_file_system_instance.cc",
178 "test/fake_file_system_instance.h", 174 "test/fake_file_system_instance.h",
179 "test/fake_intent_helper_instance.cc", 175 "test/fake_intent_helper_instance.cc",
180 "test/fake_intent_helper_instance.h", 176 "test/fake_intent_helper_instance.h",
181 "test/fake_notifications_instance.cc", 177 "test/fake_notifications_instance.cc",
182 "test/fake_notifications_instance.h", 178 "test/fake_notifications_instance.h",
183 "test/fake_policy_instance.cc", 179 "test/fake_policy_instance.cc",
184 "test/fake_policy_instance.h", 180 "test/fake_policy_instance.h",
185 ] 181 ]
186 182
187 public_deps = [ 183 public_deps = [
188 ":arc", 184 ":arc",
189 ] 185 ]
190 186
191 deps = [ 187 deps = [
192 "//base", 188 "//base",
193 "//mojo/common:common_base", 189 "//mojo/common:common_base",
190 "//mojo/edk/embedder:headers",
191 "//url",
hidehiko 2017/01/26 07:24:20 Looks unused. Could you remove?
Shuhei Takahashi 2017/01/27 09:55:10 Oops, done.
194 ] 192 ]
195 } 193 }
196 194
197 source_set("unit_tests") { 195 source_set("unit_tests") {
198 testonly = true 196 testonly = true
199 sources = [ 197 sources = [
200 "arc_service_manager_unittest.cc", 198 "arc_service_manager_unittest.cc",
201 "arc_session_runner_unittest.cc", 199 "arc_session_runner_unittest.cc",
202 "bluetooth/arc_bluetooth_bridge_unittest.cc", 200 "bluetooth/arc_bluetooth_bridge_unittest.cc",
203 "bluetooth/bluetooth_struct_traits_unittest.cc", 201 "bluetooth/bluetooth_struct_traits_unittest.cc",
(...skipping 17 matching lines...) Expand all
221 "//testing/gtest", 219 "//testing/gtest",
222 "//ui/aura", 220 "//ui/aura",
223 "//ui/aura:test_support", 221 "//ui/aura:test_support",
224 "//ui/base:test_support", 222 "//ui/base:test_support",
225 "//ui/base/ime", 223 "//ui/base/ime",
226 "//ui/events", 224 "//ui/events",
227 "//ui/events:dom_keycode_converter", 225 "//ui/events:dom_keycode_converter",
228 "//url:url", 226 "//url:url",
229 ] 227 ]
230 } 228 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698