summaryrefslogtreecommitdiffstats
path: root/components/component_updater/BUILD.gn
blob: 46fea6a9d14b26da8595cdf63eb265c884fa6a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("component_updater") {
  sources = [
    "component_updater_paths.cc",
    "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 = [
    "//base",
    "//components/update_client",
    "//ui/base",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "component_updater_service_unittest.cc",
    "timer_unittest.cc",
  ]

  deps = [
    ":component_updater",
    "//base",
    "//testing/gtest",
    "//testing/gmock",
  ]
}