1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5static_library("network_time") {
6  sources = [
7    "network_time_pref_names.cc",
8    "network_time_pref_names.h",
9    "network_time_tracker.cc",
10    "network_time_tracker.h",
11  ]
12
13  deps = [
14    "//base",
15    "//base:i18n",
16    "//components/client_update_protocol",
17    "//components/prefs",
18    "//components/variations",
19    "//net",
20    "//services/network/public/cpp:cpp",
21  ]
22}
23
24source_set("unit_tests") {
25  testonly = true
26  sources = [ "network_time_tracker_unittest.cc" ]
27
28  deps = [
29    ":network_time",
30    ":network_time_test_support",
31    "//base",
32    "//base/test:test_support",
33    "//components/client_update_protocol",
34    "//components/prefs:test_support",
35    "//components/variations",
36    "//net",
37    "//net:test_support",
38    "//services/network:test_support",
39    "//testing/gtest",
40  ]
41}
42
43source_set("network_time_test_support") {
44  testonly = true
45  sources = [
46    "network_time_test_utils.cc",
47    "network_time_test_utils.h",
48  ]
49
50  deps = [
51    ":network_time",
52    "//base",
53    "//base/test:test_support",
54    "//components/variations",
55    "//net",
56    "//net:test_support",
57    "//testing/gtest",
58  ]
59}
60