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