summaryrefslogtreecommitdiff
path: root/chromium/chrome/services/util_win/BUILD.gn
blob: 141967acdb57507fd8bdaeb3494e6d5a1bdc806a (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
44
45
46
47
# Copyright 2017 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.

assert(is_win)

source_set("lib") {
  sources = [
    "av_products.cc",
    "av_products.h",
    "processor_metrics.cc",
    "processor_metrics.h",
    "util_read_icon.cc",
    "util_read_icon.h",
    "util_win_impl.cc",
    "util_win_impl.h",
  ]

  deps = [
    "//base",
    "//chrome/browser/win/conflicts:module_info",
    "//chrome/common",
    "//components/variations",
    "//components/version_info",
    "//mojo/public/cpp/bindings",
  ]

  public_deps = [
    "//chrome/services/util_win/public/mojom",
    "//third_party/metrics_proto",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "av_products_unittest.cc",
    "processor_metrics_unittest.cc",
  ]

  deps = [
    ":lib",
    "//base",
    "//components/variations",
    "//testing/gtest",
  ]
}