| 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("browser") { | 5 static_library("browser") { |
| 6 output_name = "web_cache_browser" |
| 6 sources = [ | 7 sources = [ |
| 7 "web_cache_manager.cc", | 8 "web_cache_manager.cc", |
| 8 "web_cache_manager.h", | 9 "web_cache_manager.h", |
| 9 ] | 10 ] |
| 10 | 11 |
| 11 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 12 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 12 | 13 |
| 13 deps = [ | 14 deps = [ |
| 14 "//base", | 15 "//base", |
| 15 "//base:prefs", | 16 "//base:prefs", |
| 16 "//components/web_cache/common", | 17 "//components/web_cache/common", |
| 17 "//content/public/browser", | 18 "//content/public/browser", |
| 18 "//third_party/WebKit/public:blink", | 19 "//third_party/WebKit/public:blink", |
| 19 ] | 20 ] |
| 20 } | 21 } |
| 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 |