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("browser") { | 5 source_set("browser") { |
6 output_name = "web_cache_browser" | |
7 sources = [ | 6 sources = [ |
8 "web_cache_manager.cc", | 7 "web_cache_manager.cc", |
9 "web_cache_manager.h", | 8 "web_cache_manager.h", |
10 ] | 9 ] |
11 | 10 |
12 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 11 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
13 | 12 |
14 deps = [ | 13 deps = [ |
15 "//base", | 14 "//base", |
16 "//base:prefs", | 15 "//base:prefs", |
17 "//components/web_cache/common", | 16 "//components/web_cache/common", |
18 "//content/public/browser", | 17 "//content/public/browser", |
19 "//third_party/WebKit/public:blink", | 18 "//third_party/WebKit/public:blink", |
20 ] | 19 ] |
21 } | 20 } |
| 21 |
| 22 source_set("unit_tests") { |
| 23 testonly = true |
| 24 sources = [ |
| 25 "web_cache_manager_unittest.cc", |
| 26 ] |
| 27 deps = [ |
| 28 ":browser", |
| 29 "//base", |
| 30 "//content/test:test_support", |
| 31 "//testing/gtest", |
| 32 ] |
| 33 } |
OLD | NEW |