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 source_set("supervised_user_error_page") { |
6 sources = [ | 6 sources = [ |
7 "network_time_pref_names.cc", | 7 "supervised_user_error_page.cc", |
8 "network_time_pref_names.h", | 8 "supervised_user_error_page.h", |
9 "network_time_tracker.cc", | |
10 "network_time_tracker.h", | |
11 ] | 9 ] |
12 | 10 |
13 deps = [ | 11 deps = [ |
14 "//base", | 12 "//base", |
15 "//base:i18n", | 13 "//components/resources", |
16 "//components/prefs", | 14 "//components/strings", |
| 15 "//ui/base", |
17 ] | 16 ] |
18 } | 17 } |
19 | 18 |
20 source_set("unit_tests") { | 19 source_set("unit_tests") { |
21 testonly = true | 20 testonly = true |
22 sources = [ | 21 sources = [ |
23 "network_time_tracker_unittest.cc", | 22 "supervised_user_error_page_unittest.cc", |
24 ] | 23 ] |
25 | |
26 deps = [ | 24 deps = [ |
27 ":network_time", | 25 ":supervised_user_error_page", |
28 "//base", | 26 "//base", |
29 "//base/test:test_support", | 27 "//base/test:test_support", |
30 "//components/prefs:test_support", | 28 "//components/resources", |
| 29 "//components/strings", |
| 30 "//testing/gmock", |
31 "//testing/gtest", | 31 "//testing/gtest", |
32 ] | 32 ] |
33 } | 33 } |
OLD | NEW |