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 static_library("arc") { | 5 static_library("arc") { |
6 sources = [ | 6 sources = [ |
7 "arc_bridge_service.cc", | 7 "arc_bridge_service.cc", |
8 "arc_bridge_service.h", | 8 "arc_bridge_service.h", |
9 "arc_bridge_service_impl.cc", | 9 "arc_bridge_service_impl.cc", |
10 "arc_bridge_service_impl.h", | 10 "arc_bridge_service_impl.h", |
11 "common/arc_message_generator.cc", | 11 "common/arc_message_generator.cc", |
12 "common/arc_notification_types.cc", | 12 "common/arc_notification_types.cc", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//base:prefs", | 17 "//base:prefs", |
18 "//chromeos", | 18 "//chromeos", |
19 "//ipc", | 19 "//ipc", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
| 23 static_library("arc_test_support") { |
| 24 testonly = true |
| 25 sources = [ |
| 26 "test/fake_arc_bridge_service.cc", |
| 27 "test/fake_arc_bridge_service.h", |
| 28 ] |
| 29 |
| 30 deps = [ |
| 31 ":arc", |
| 32 "//base", |
| 33 ] |
| 34 } |
| 35 |
23 source_set("unit_tests") { | 36 source_set("unit_tests") { |
24 testonly = true | 37 testonly = true |
25 sources = [ | 38 sources = [ |
26 "arc_bridge_service_unittest.cc", | 39 "arc_bridge_service_unittest.cc", |
27 ] | 40 ] |
28 | 41 |
29 deps = [ | 42 deps = [ |
30 ":arc", | 43 ":arc", |
31 "//base", | 44 "//base", |
32 "//chromeos", | 45 "//chromeos", |
33 "//ipc", | 46 "//ipc", |
34 "//testing/gtest", | 47 "//testing/gtest", |
35 ] | 48 ] |
36 } | 49 } |
OLD | NEW |