OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "content_visit_delegate.cc", | 7 "content_visit_delegate.cc", |
8 "content_visit_delegate.h", | 8 "content_visit_delegate.h", |
9 "download_constants_utils.cc", | 9 "download_constants_utils.cc", |
10 "download_constants_utils.h", | 10 "download_constants_utils.h", |
11 "history_context_helper.cc", | 11 "history_context_helper.cc", |
12 "history_context_helper.h", | 12 "history_context_helper.h", |
13 "history_database_helper.cc", | 13 "history_database_helper.cc", |
14 "history_database_helper.h", | 14 "history_database_helper.h", |
15 "web_contents_top_sites_observer.cc", | 15 "web_contents_top_sites_observer.cc", |
16 "web_contents_top_sites_observer.h", | 16 "web_contents_top_sites_observer.h", |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//components/history/core/browser", | 21 "//components/history/core/browser", |
22 "//components/visitedlink/browser", | 22 "//components/visitedlink/browser", |
23 "//content/public/browser", | 23 "//content/public/browser", |
24 "//url:url", | 24 "//url:url", |
25 ] | 25 ] |
26 } | 26 } |
| 27 |
| 28 source_set("unit_tests") { |
| 29 testonly = true |
| 30 sources = [ |
| 31 "content_history_backend_db_unittest.cc", |
| 32 ] |
| 33 deps = [ |
| 34 ":browser", |
| 35 "//components/history/core/browser:browser", |
| 36 "//components/history/core/test", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 } |
OLD | NEW |