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 source_set("content") { | 5 source_set("content") { |
6 sources = [ | 6 sources = [ |
7 "precache_manager.cc", | 7 "precache_manager.cc", |
8 "precache_manager.h", | 8 "precache_manager.h", |
9 ] | 9 ] |
10 | 10 |
11 configs += [ "//components/precache/core:precache_config" ] | 11 configs += [ "//components/precache/core:precache_config" ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 "//base:prefs", | |
16 "//components/history/core/browser", | 15 "//components/history/core/browser", |
17 "//components/keyed_service/core", | 16 "//components/keyed_service/core", |
18 "//components/precache/core", | 17 "//components/precache/core", |
| 18 "//components/prefs", |
19 "//components/sync_driver", | 19 "//components/sync_driver", |
20 "//components/variations", | 20 "//components/variations", |
21 "//content/public/browser", | 21 "//content/public/browser", |
22 "//net", | 22 "//net", |
23 "//sql", | 23 "//sql", |
24 "//url", | 24 "//url", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 source_set("unit_tests") { | 28 source_set("unit_tests") { |
29 testonly = true | 29 testonly = true |
30 sources = [ | 30 sources = [ |
31 "precache_manager_unittest.cc", | 31 "precache_manager_unittest.cc", |
32 ] | 32 ] |
33 deps = [ | 33 deps = [ |
34 ":content", | 34 ":content", |
35 "//base", | 35 "//base", |
36 "//base/test:test_support", | 36 "//base/test:test_support", |
37 "//components/history/core/browser", | 37 "//components/history/core/browser", |
38 "//components/precache/core", | 38 "//components/precache/core", |
39 "//content/public/browser", | 39 "//content/public/browser", |
40 "//content/test:test_support", | 40 "//content/test:test_support", |
41 "//net:test_support", | 41 "//net:test_support", |
42 "//sql", | 42 "//sql", |
43 "//testing/gmock", | 43 "//testing/gmock", |
44 "//testing/gtest", | 44 "//testing/gtest", |
45 ] | 45 ] |
46 } | 46 } |
OLD | NEW |