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", |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 ] | 15 ] |
16 } | 16 } |
| 17 |
| 18 source_set("unit_tests") { |
| 19 testonly = true |
| 20 sources = [ |
| 21 "network_time_tracker_unittest.cc", |
| 22 ] |
| 23 deps = [ |
| 24 ":network_time", |
| 25 "//testing/gtest", |
| 26 ] |
| 27 } |
OLD | NEW |