summaryrefslogtreecommitdiffstats
path: root/components/variations/service/BUILD.gn
blob: c6cf5b1107a2117b50c038687bfae0b9c933d29f (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
48
49
50
# Copyright 2015 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("service") {
  sources = [
    "ui_string_overrider.cc",
    "ui_string_overrider.h",
    "variations_service.cc",
    "variations_service.h",
    "variations_service_client.h",
  ]

  deps = [
    "//base",
    "//base:prefs",
    "//components/data_use_measurement/core",
    "//components/metrics",
    "//components/network_time",
    "//components/pref_registry",
    "//components/variations",
    "//components/variations/proto",
    "//components/version_info",
    "//components/web_resource",
    "//net",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "ui_string_overrider_unittest.cc",
    "variations_service_unittest.cc",
  ]

  deps = [
    ":service",
    "//base",
    "//base:prefs_test_support",
    "//base/test:test_support",
    "//components/compression",
    "//components/variations",
    "//components/variations/proto",
    "//components/web_resource:test_support",
    "//net",
    "//net:test_support",
    "//testing/gtest",
  ]
}