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