blob: d01c1ade498bf8fab301e853744cbc378f4fb5c3 [file] [log] [blame]
[email protected]8b7e37e42014-07-22 00:36:201# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5source_set("component_updater") {
6 sources = [
7 "component_updater_paths.cc",
8 "component_updater_paths.h",
[email protected]de0fdca22014-08-19 05:26:099 "component_updater_service.cc",
10 "component_updater_service.h",
sorin7c717622015-05-26 19:59:0911 "component_updater_service_internal.h",
[email protected]8b7e37e42014-07-22 00:36:2012 "component_updater_switches.cc",
13 "component_updater_switches.h",
drogerf8a88142015-08-19 07:48:3614 "component_updater_url_constants.cc",
15 "component_updater_url_constants.h",
16 "configurator_impl.cc",
17 "configurator_impl.h",
[email protected]de0fdca22014-08-19 05:26:0918 "default_component_installer.cc",
19 "default_component_installer.h",
[email protected]8b7e37e42014-07-22 00:36:2020 "pref_names.cc",
21 "pref_names.h",
sorin7c717622015-05-26 19:59:0922 "timer.cc",
23 "timer.h",
[email protected]8b7e37e42014-07-22 00:36:2024 ]
25
26 deps = [
27 "//base",
sorin39eab2f2015-01-06 01:09:0828 "//components/update_client",
drogerf8a88142015-08-19 07:48:3629 "//components/version_info",
[email protected]de0fdca22014-08-19 05:26:0930 "//ui/base",
brettw462851f72014-11-26 18:38:5531 "//url",
[email protected]8b7e37e42014-07-22 00:36:2032 ]
33}
sorin7c717622015-05-26 19:59:0934
robpercival3de53402016-01-12 16:29:0235source_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 "//base",
45 "//testing/gmock",
46 ]
47}
48
sorin7c717622015-05-26 19:59:0949source_set("unit_tests") {
50 testonly = true
51 sources = [
52 "component_updater_service_unittest.cc",
sorin6a57db92016-06-27 22:28:1553 "default_component_installer_unittest.cc",
sorin7c717622015-05-26 19:59:0954 "timer_unittest.cc",
55 ]
56
57 deps = [
58 ":component_updater",
59 "//base",
brettw41ac3412015-10-22 07:35:3060 "//base/test:test_support",
61 "//components/update_client:test_support",
sorin7c717622015-05-26 19:59:0962 "//testing/gmock",
agrieved7a71c882015-11-20 19:53:2863 "//testing/gtest",
sorin7c717622015-05-26 19:59:0964 ]
65}