1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("browser") {
sources = [
"delete_directive_handler.cc",
"delete_directive_handler.h",
"download_constants.h",
"download_database.cc",
"download_database.h",
"download_row.cc",
"download_row.h",
"download_types.cc",
"download_types.h",
"expire_history_backend.cc",
"expire_history_backend.h",
"history_backend.cc",
"history_backend.h",
"history_backend_client.h",
"history_backend_notifier.h",
"history_backend_observer.h",
"history_client.h",
"history_constants.cc",
"history_constants.h",
"history_context.h",
"history_database.cc",
"history_database.h",
"history_database_params.cc",
"history_database_params.h",
"history_db_task.h",
"history_delete_directives_data_type_controller.cc",
"history_delete_directives_data_type_controller.h",
"history_match.cc",
"history_match.h",
"history_model_worker.cc",
"history_model_worker.h",
"history_service.cc",
"history_service.h",
"history_service_observer.h",
"history_types.cc",
"history_types.h",
"in_memory_database.cc",
"in_memory_database.h",
"in_memory_history_backend.cc",
"in_memory_history_backend.h",
"keyword_id.h",
"keyword_search_term.cc",
"keyword_search_term.h",
"page_usage_data.cc",
"page_usage_data.h",
"thumbnail_database.cc",
"thumbnail_database.h",
"top_sites.cc",
"top_sites.h",
"top_sites_backend.cc",
"top_sites_backend.h",
"top_sites_cache.cc",
"top_sites_cache.h",
"top_sites_database.cc",
"top_sites_database.h",
"top_sites_impl.cc",
"top_sites_impl.h",
"top_sites_observer.h",
"typed_url_data_type_controller.cc",
"typed_url_data_type_controller.h",
"typed_url_syncable_service.cc",
"typed_url_syncable_service.h",
"url_database.cc",
"url_database.h",
"url_row.cc",
"url_row.h",
"url_utils.cc",
"url_utils.h",
"visit_database.cc",
"visit_database.h",
"visit_delegate.cc",
"visit_delegate.h",
"visit_tracker.cc",
"visit_tracker.h",
"visitsegment_database.cc",
"visitsegment_database.h",
"web_history_service.cc",
"web_history_service.h",
]
public_deps = [
"//skia",
]
deps = [
"//base",
"//base:i18n",
"//components/favicon_base",
"//components/history/core/common",
"//components/keyed_service/core",
"//components/prefs",
"//components/query_parser",
"//components/signin/core/browser",
"//components/sync_driver",
"//components/url_formatter",
"//google_apis",
"//net",
"//sql",
"//sync",
"//third_party/sqlite",
"//ui/base",
"//ui/gfx",
"//url",
]
if (is_android) {
sources += [
"android/android_cache_database.cc",
"android/android_cache_database.h",
"android/android_history_types.cc",
"android/android_history_types.h",
"android/android_time.h",
"android/android_urls_database.cc",
"android/android_urls_database.h",
"android/android_urls_sql_handler.cc",
"android/android_urls_sql_handler.h",
"android/favicon_sql_handler.cc",
"android/favicon_sql_handler.h",
"android/sql_handler.cc",
"android/sql_handler.h",
"android/urls_sql_handler.cc",
"android/urls_sql_handler.h",
"android/visit_sql_handler.cc",
"android/visit_sql_handler.h",
]
}
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"expire_history_backend_unittest.cc",
"history_backend_db_unittest.cc",
"history_backend_unittest.cc",
"history_database_unittest.cc",
"history_querying_unittest.cc",
"history_service_unittest.cc",
"history_types_unittest.cc",
"thumbnail_database_unittest.cc",
"top_sites_cache_unittest.cc",
"top_sites_database_unittest.cc",
"top_sites_impl_unittest.cc",
"typed_url_syncable_service_unittest.cc",
"url_database_unittest.cc",
"url_utils_unittest.cc",
"visit_database_unittest.cc",
"visit_tracker_unittest.cc",
"web_history_service_unittest.cc",
]
deps = [
":browser",
"//base",
"//base/test:test_support",
"//components/favicon_base",
"//components/history/core/common",
"//components/history/core/test",
"//components/prefs:test_support",
"//components/signin/core/browser",
"//components/signin/core/browser:test_support",
"//components/sync_driver:test_support",
"//sql",
"//sql:test_support",
"//sync:test_support_sync_api",
"//testing/gtest",
"//ui/gfx:gfx",
"//url",
]
if (is_android) {
sources += [ "android/android_history_types_unittest.cc" ]
}
}
|