summaryrefslogtreecommitdiffstats
path: root/components/variations/service/BUILD.gn
blob: e260df038851fc4ff89423ace4ddda25c42a0bb9 (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
# 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 = [
    "variations_service.cc",
    "variations_service.h",
    "variations_service_client.h",
  ]

  deps = [
    "//base",
    "//base:prefs",
    "//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 = [
    "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",
  ]
}