OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |