summaryrefslogtreecommitdiffstats
path: root/components/component_updater/BUILD.gn
diff options
context:
space:
mode:
authorsorin <sorin@chromium.org>2015-05-26 12:59:09 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-26 20:00:01 +0000
commit7c7176234e553c35a2d8ec014f2caa29f7278065 (patch)
tree70eb3c58c82369cc13c939c17ae63344644c4b31 /components/component_updater/BUILD.gn
parent92780e77b6e0755e1d4bacbd493032969d04293b (diff)
downloadchromium_src-7c7176234e553c35a2d8ec014f2caa29f7278065.zip
chromium_src-7c7176234e553c35a2d8ec014f2caa29f7278065.tar.gz
chromium_src-7c7176234e553c35a2d8ec014f2caa29f7278065.tar.bz2
Rewrite component update service in terms of components/update_client.
The goal of this change is to re-implement the component updater by reusing the common code in components/update_client while keeping the its public interface the same as before, in order to minimize changes in its existing clients. BUG=450337 Review URL: https://codereview.chromium.org/1133443002 Cr-Commit-Position: refs/heads/master@{#331412}
Diffstat (limited to 'components/component_updater/BUILD.gn')
-rw-r--r--components/component_updater/BUILD.gn18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/component_updater/BUILD.gn b/components/component_updater/BUILD.gn
index fb756a7..46fea6a 100644
--- a/components/component_updater/BUILD.gn
+++ b/components/component_updater/BUILD.gn
@@ -8,12 +8,15 @@ source_set("component_updater") {
"component_updater_paths.h",
"component_updater_service.cc",
"component_updater_service.h",
+ "component_updater_service_internal.h",
"component_updater_switches.cc",
"component_updater_switches.h",
"default_component_installer.cc",
"default_component_installer.h",
"pref_names.cc",
"pref_names.h",
+ "timer.cc",
+ "timer.h",
]
deps = [
@@ -23,3 +26,18 @@ source_set("component_updater") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "component_updater_service_unittest.cc",
+ "timer_unittest.cc",
+ ]
+
+ deps = [
+ ":component_updater",
+ "//base",
+ "//testing/gtest",
+ "//testing/gmock",
+ ]
+}