Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: components/history/core/browser/BUILD.gn

Issue 2665243003: add a download slices table into history download db (Closed)
Patch Set: add test file to BUILD.gn Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 static_library("browser") {
6 sources = [ 6 sources = [
7 "delete_directive_handler.cc", 7 "delete_directive_handler.cc",
8 "delete_directive_handler.h", 8 "delete_directive_handler.h",
9 "download_constants.h", 9 "download_constants.h",
10 "download_database.cc", 10 "download_database.cc",
11 "download_database.h", 11 "download_database.h",
12 "download_row.cc", 12 "download_row.cc",
13 "download_row.h", 13 "download_row.h",
14 "download_slice_info.cc",
15 "download_slice_info.h",
14 "download_types.cc", 16 "download_types.cc",
15 "download_types.h", 17 "download_types.h",
16 "expire_history_backend.cc", 18 "expire_history_backend.cc",
17 "expire_history_backend.h", 19 "expire_history_backend.h",
18 "history_backend.cc", 20 "history_backend.cc",
19 "history_backend.h", 21 "history_backend.h",
20 "history_backend_client.h", 22 "history_backend_client.h",
21 "history_backend_notifier.h", 23 "history_backend_notifier.h",
22 "history_backend_observer.h", 24 "history_backend_observer.h",
23 "history_client.h", 25 "history_client.h",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 "//components/test/data/history/TopSites.v1.sql", 155 "//components/test/data/history/TopSites.v1.sql",
154 "//components/test/data/history/TopSites.v2.sql", 156 "//components/test/data/history/TopSites.v2.sql",
155 "//components/test/data/history/TopSites.v3.sql", 157 "//components/test/data/history/TopSites.v3.sql",
156 "//components/test/data/history/history.22.sql", 158 "//components/test/data/history/history.22.sql",
157 "//components/test/data/history/history.26.sql", 159 "//components/test/data/history/history.26.sql",
158 "//components/test/data/history/history.27.sql", 160 "//components/test/data/history/history.27.sql",
159 "//components/test/data/history/history.28.sql", 161 "//components/test/data/history/history.28.sql",
160 "//components/test/data/history/history.29.sql", 162 "//components/test/data/history/history.29.sql",
161 "//components/test/data/history/history.30.sql", 163 "//components/test/data/history/history.30.sql",
162 "//components/test/data/history/history.31.sql", 164 "//components/test/data/history/history.31.sql",
165 "//components/test/data/history/history.32.sql",
163 "//components/test/data/history/thumbnail_wild/Favicons.corrupt_meta.disable ", 166 "//components/test/data/history/thumbnail_wild/Favicons.corrupt_meta.disable ",
164 "//components/test/data/history/thumbnail_wild/Favicons.v2.init.sql", 167 "//components/test/data/history/thumbnail_wild/Favicons.v2.init.sql",
165 "//components/test/data/history/thumbnail_wild/Favicons.v3.init.sql", 168 "//components/test/data/history/thumbnail_wild/Favicons.v3.init.sql",
166 "//components/test/data/history/thumbnail_wild/Favicons.v4.init.sql", 169 "//components/test/data/history/thumbnail_wild/Favicons.v4.init.sql",
167 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type.sql", 170 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type.sql",
168 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type2.sql", 171 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type2.sql",
169 "//components/test/data/history/thumbnail_wild/Favicons.v5.init.sql", 172 "//components/test/data/history/thumbnail_wild/Favicons.v5.init.sql",
170 "//components/test/data/history/thumbnail_wild/Favicons.v5.sizes.sql", 173 "//components/test/data/history/thumbnail_wild/Favicons.v5.sizes.sql",
171 "//components/test/data/history/thumbnail_wild/Favicons.v6.init.sql", 174 "//components/test/data/history/thumbnail_wild/Favicons.v6.init.sql",
172 ] 175 ]
173 outputs = [ 176 outputs = [
174 "{{bundle_resources_dir}}/" + 177 "{{bundle_resources_dir}}/" +
175 "{{source_root_relative_dir}}/{{source_file_part}}", 178 "{{source_root_relative_dir}}/{{source_file_part}}",
176 ] 179 ]
177 } 180 }
178 181
179 source_set("unit_tests") { 182 source_set("unit_tests") {
180 testonly = true 183 testonly = true
181 sources = [ 184 sources = [
185 "download_slice_info_unittest.cc",
182 "expire_history_backend_unittest.cc", 186 "expire_history_backend_unittest.cc",
183 "history_backend_db_unittest.cc", 187 "history_backend_db_unittest.cc",
184 "history_backend_unittest.cc", 188 "history_backend_unittest.cc",
185 "history_database_unittest.cc", 189 "history_database_unittest.cc",
186 "history_querying_unittest.cc", 190 "history_querying_unittest.cc",
187 "history_service_unittest.cc", 191 "history_service_unittest.cc",
188 "history_types_unittest.cc", 192 "history_types_unittest.cc",
189 "thumbnail_database_unittest.cc", 193 "thumbnail_database_unittest.cc",
190 "top_sites_cache_unittest.cc", 194 "top_sites_cache_unittest.cc",
191 "top_sites_database_unittest.cc", 195 "top_sites_database_unittest.cc",
(...skipping 22 matching lines...) Expand all
214 "//sql:test_support", 218 "//sql:test_support",
215 "//testing/gtest", 219 "//testing/gtest",
216 "//ui/gfx", 220 "//ui/gfx",
217 "//ui/gfx:test_support", 221 "//ui/gfx:test_support",
218 "//url", 222 "//url",
219 ] 223 ]
220 if (is_android) { 224 if (is_android) {
221 sources += [ "android/android_history_types_unittest.cc" ] 225 sources += [ "android/android_history_types_unittest.cc" ]
222 } 226 }
223 } 227 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698