OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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("navigation_metrics") { | 5 static_library("navigation_metrics") { |
6 sources = [ | 6 sources = [ |
7 "navigation_metrics.cc", | 7 "navigation_metrics.cc", |
8 "navigation_metrics.h", | 8 "navigation_metrics.h", |
9 "origins_seen_service.cc", | |
10 "origins_seen_service.h", | |
11 ] | 9 ] |
12 | 10 |
13 deps = [ | 11 deps = [ |
14 "//base", | 12 "//base", |
15 "//components/keyed_service/core", | |
16 "//url", | 13 "//url", |
17 ] | 14 ] |
18 } | 15 } |
19 | 16 |
20 source_set("unit_tests") { | 17 source_set("unit_tests") { |
21 testonly = true | 18 testonly = true |
22 sources = [ | 19 sources = [ |
23 "navigation_metrics_unittest.cc", | 20 "navigation_metrics_unittest.cc", |
24 ] | 21 ] |
25 deps = [ | 22 deps = [ |
26 ":navigation_metrics", | 23 ":navigation_metrics", |
27 "//base/test:test_support", | 24 "//base/test:test_support", |
28 "//testing/gtest", | 25 "//testing/gtest", |
29 "//url", | 26 "//url", |
30 ] | 27 ] |
31 } | 28 } |
OLD | NEW |