Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: components/network_time/BUILD.gn

Issue 2421143002: Fix broken clockstate.network2 histogram and add unit test (Closed)
Patch Set: meacer suggestion: move field trial into test util Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/network_time/network_time_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 static_library("network_time") { 5 static_library("network_time") {
6 sources = [ 6 sources = [
7 "network_time_pref_names.cc", 7 "network_time_pref_names.cc",
8 "network_time_pref_names.h", 8 "network_time_pref_names.h",
9 "network_time_tracker.cc", 9 "network_time_tracker.cc",
10 "network_time_tracker.h", 10 "network_time_tracker.h",
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 source_set("unit_tests") { 23 source_set("unit_tests") {
24 testonly = true 24 testonly = true
25 sources = [ 25 sources = [
26 "network_time_tracker_unittest.cc", 26 "network_time_tracker_unittest.cc",
27 ] 27 ]
28 28
29 deps = [ 29 deps = [
30 ":network_time", 30 ":network_time",
31 ":network_time_test_support",
31 "//base", 32 "//base",
32 "//base/test:test_support", 33 "//base/test:test_support",
33 "//components/client_update_protocol", 34 "//components/client_update_protocol",
34 "//components/prefs:test_support", 35 "//components/prefs:test_support",
35 "//components/variations", 36 "//components/variations",
36 "//net", 37 "//net",
37 "//net:test_support", 38 "//net:test_support",
38 "//testing/gtest", 39 "//testing/gtest",
39 ] 40 ]
40 } 41 }
42
43 source_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 "//base",
52 "//base/test:test_support",
53 "//components/variations",
54 "//testing/gtest",
55 ]
56 }
OLDNEW
« no previous file with comments | « no previous file | components/network_time/network_time_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698