[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 | |
brettw | 7761761 | 2016-07-13 22:40:06 | [diff] [blame] | 5 | static_library("component_updater") { |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 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", |
sorin | eae115a | 2016-08-26 02:27:20 | [diff] [blame] | 24 | "updater_state_win.cc", |
| 25 | "updater_state_win.h", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 26 | ] |
| 27 | |
| 28 | deps = [ |
| 29 | "//base", |
sorin | 39eab2f | 2015-01-06 01:09:08 | [diff] [blame] | 30 | "//components/update_client", |
droger | f8a8814 | 2015-08-19 07:48:36 | [diff] [blame] | 31 | "//components/version_info", |
[email protected] | de0fdca2 | 2014-08-19 05:26:09 | [diff] [blame] | 32 | "//ui/base", |
brettw | 462851f7 | 2014-11-26 18:38:55 | [diff] [blame] | 33 | "//url", |
[email protected] | 8b7e37e4 | 2014-07-22 00:36:20 | [diff] [blame] | 34 | ] |
| 35 | } |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 36 | |
brettw | 7761761 | 2016-07-13 22:40:06 | [diff] [blame] | 37 | static_library("test_support") { |
robpercival | 3de5340 | 2016-01-12 16:29:02 | [diff] [blame] | 38 | testonly = true |
| 39 | sources = [ |
| 40 | "mock_component_updater_service.cc", |
| 41 | "mock_component_updater_service.h", |
| 42 | ] |
| 43 | |
| 44 | public_deps = [ |
| 45 | ":component_updater", |
| 46 | "//base", |
| 47 | "//testing/gmock", |
| 48 | ] |
| 49 | } |
| 50 | |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 51 | source_set("unit_tests") { |
| 52 | testonly = true |
| 53 | sources = [ |
| 54 | "component_updater_service_unittest.cc", |
sorin | 3dd028dc | 2016-07-26 00:06:34 | [diff] [blame] | 55 | "configurator_impl_unittest.cc", |
sorin | 6a57db9 | 2016-06-27 22:28:15 | [diff] [blame] | 56 | "default_component_installer_unittest.cc", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 57 | "timer_unittest.cc", |
sorin | eae115a | 2016-08-26 02:27:20 | [diff] [blame] | 58 | "updater_state_unittest_win.cc", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 59 | ] |
| 60 | |
| 61 | deps = [ |
| 62 | ":component_updater", |
| 63 | "//base", |
brettw | 41ac341 | 2015-10-22 07:35:30 | [diff] [blame] | 64 | "//base/test:test_support", |
| 65 | "//components/update_client:test_support", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 66 | "//testing/gmock", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 67 | "//testing/gtest", |
sorin | 7c71762 | 2015-05-26 19:59:09 | [diff] [blame] | 68 | ] |
| 69 | } |