[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | source_set("component_updater") { |
| 6 | sources = [ |
| 7 | "component_updater_paths.cc", |
| 8 | "component_updater_paths.h", |
[email protected] | de0fdca2 | 2014-08-19 05:26:09 | [diff] [blame] | 9 | "component_updater_service.cc", |
| 10 | "component_updater_service.h", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 11 | "component_updater_service_internal.h", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 12 | "component_updater_switches.cc", |
| 13 | "component_updater_switches.h", |
droger | f8a8814 | 2015-08-19 07:48:36 | [diff] [blame] | 14 | "component_updater_url_constants.cc", |
| 15 | "component_updater_url_constants.h", |
| 16 | "configurator_impl.cc", |
| 17 | "configurator_impl.h", |
[email protected] | de0fdca2 | 2014-08-19 05:26:09 | [diff] [blame] | 18 | "default_component_installer.cc", |
| 19 | "default_component_installer.h", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 20 | "pref_names.cc", |
| 21 | "pref_names.h", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 22 | "timer.cc", |
| 23 | "timer.h", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 24 | ] |
| 25 | |
| 26 | deps = [ |
| 27 | "//base", |
sorin | 39eab2f | 2015-01-06 01:09:08 | [diff] [blame] | 28 | "//components/update_client", |
droger | f8a8814 | 2015-08-19 07:48:36 | [diff] [blame] | 29 | "//components/version_info", |
[email protected] | de0fdca2 | 2014-08-19 05:26:09 | [diff] [blame] | 30 | "//ui/base", |
brettw | 462851f7 | 2014-11-26 18:38:55 | [diff] [blame] | 31 | "//url", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 32 | ] |
| 33 | } |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 34 | |
robpercival | 3de5340 | 2016-01-12 16:29:02 | [diff] [blame] | 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 | "//base", |
| 45 | "//testing/gmock", |
| 46 | ] |
| 47 | } |
| 48 | |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 49 | source_set("unit_tests") { |
| 50 | testonly = true |
| 51 | sources = [ |
| 52 | "component_updater_service_unittest.cc", |
sorin | 6a57db9 | 2016-06-27 22:28:15 | [diff] [blame^] | 53 | "default_component_installer_unittest.cc", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 54 | "timer_unittest.cc", |
| 55 | ] |
| 56 | |
| 57 | deps = [ |
| 58 | ":component_updater", |
| 59 | "//base", |
brettw | 41ac341 | 2015-10-22 07:35:30 | [diff] [blame] | 60 | "//base/test:test_support", |
| 61 | "//components/update_client:test_support", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 62 | "//testing/gmock", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 63 | "//testing/gtest", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 64 | ] |
| 65 | } |