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 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/precache/core", | 15 "//components/precache/core", |
16 "//content/public/browser", | 16 "//content/public/browser", |
17 "//url", | 17 "//url", |
18 ] | 18 ] |
19 } | 19 } |
20 | |
21 source_set("unit_tests") { | |
22 testonly = true | |
23 sources = [ | |
24 "precache_manager_unittest.cc", | |
25 ] | |
26 deps = [ | |
27 ":content", | |
28 "//testing/gmock", | |
29 "//testing/gtest", | |
30 ] | |
31 } | |
OLD | NEW |