OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 source_set("component_updater") { | 5 source_set("component_updater") { |
6 sources = [ | 6 sources = [ |
7 "component_updater_paths.cc", | 7 "component_updater_paths.cc", |
8 "component_updater_paths.h", | 8 "component_updater_paths.h", |
9 "component_updater_service.cc", | 9 "component_updater_service.cc", |
10 "component_updater_service.h", | 10 "component_updater_service.h", |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "//base", | 27 "//base", |
28 "//components/update_client", | 28 "//components/update_client", |
29 "//components/version_info", | 29 "//components/version_info", |
30 "//ui/base", | 30 "//ui/base", |
31 "//url", | 31 "//url", |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
| 35 source_set("test_support") { |
| 36 testonly = true |
| 37 sources = [ |
| 38 "mock_component_updater_service.cc", |
| 39 "mock_component_updater_service.h", |
| 40 ] |
| 41 |
| 42 public_deps = [ |
| 43 ":component_updater", |
| 44 "//testing/gmock", |
| 45 ] |
| 46 } |
| 47 |
35 source_set("unit_tests") { | 48 source_set("unit_tests") { |
36 testonly = true | 49 testonly = true |
37 sources = [ | 50 sources = [ |
38 "component_updater_service_unittest.cc", | 51 "component_updater_service_unittest.cc", |
39 "timer_unittest.cc", | 52 "timer_unittest.cc", |
40 ] | 53 ] |
41 | 54 |
42 deps = [ | 55 deps = [ |
43 ":component_updater", | 56 ":component_updater", |
44 "//base", | 57 "//base", |
45 "//base/test:test_support", | 58 "//base/test:test_support", |
46 "//components/update_client:test_support", | 59 "//components/update_client:test_support", |
47 "//testing/gmock", | 60 "//testing/gmock", |
48 "//testing/gtest", | 61 "//testing/gtest", |
49 ] | 62 ] |
50 } | 63 } |
OLD | NEW |