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