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

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

Issue 1903443002: [GN/iOS] Explicitly list test data in //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-fix-jingle
Patch Set: Address comments and disable non-fonctional test Created 4 years, 8 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
« no previous file with comments | « components/dom_distiller/core/BUILD.gn ('k') | components/json_schema/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "android/urls_sql_handler.cc", 127 "android/urls_sql_handler.cc",
128 "android/urls_sql_handler.h", 128 "android/urls_sql_handler.h",
129 "android/visit_sql_handler.cc", 129 "android/visit_sql_handler.cc",
130 "android/visit_sql_handler.h", 130 "android/visit_sql_handler.h",
131 ] 131 ]
132 } 132 }
133 133
134 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 134 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
135 } 135 }
136 136
137 bundle_data("unit_tests_bundle_data") {
138 visibility = [ ":unit_tests" ]
139 testonly = true
140 sources = [
141 "//components/test/data/history/Favicons.v3.sql",
142 "//components/test/data/history/Favicons.v4.sql",
143 "//components/test/data/history/Favicons.v5.sql",
144 "//components/test/data/history/Favicons.v6.sql",
145 "//components/test/data/history/Favicons.v7.sql",
146 "//components/test/data/history/Favicons.v8.sql",
147 "//components/test/data/history/HistoryNoDuration",
148 "//components/test/data/history/HistoryNoSource",
149 "//components/test/data/history/History_with_starred",
150 "//components/test/data/history/TopSites.v1.sql",
151 "//components/test/data/history/TopSites.v2.sql",
152 "//components/test/data/history/TopSites.v3.sql",
153 "//components/test/data/history/history.22.sql",
154 "//components/test/data/history/history.26.sql",
155 "//components/test/data/history/history.27.sql",
156 "//components/test/data/history/history.28.sql",
157 "//components/test/data/history/history.29.sql",
158 "//components/test/data/history/history.30.sql",
159 "//components/test/data/history/thumbnail_wild/Favicons.corrupt_meta.disable ",
160 "//components/test/data/history/thumbnail_wild/Favicons.v2.init.sql",
161 "//components/test/data/history/thumbnail_wild/Favicons.v3.init.sql",
162 "//components/test/data/history/thumbnail_wild/Favicons.v4.init.sql",
163 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type.sql",
164 "//components/test/data/history/thumbnail_wild/Favicons.v5.icon_type2.sql",
165 "//components/test/data/history/thumbnail_wild/Favicons.v5.init.sql",
166 "//components/test/data/history/thumbnail_wild/Favicons.v5.sizes.sql",
167 "//components/test/data/history/thumbnail_wild/Favicons.v6.init.sql",
168 ]
169 outputs = [
170 "{{bundle_resources_dir}}/" +
171 "{{source_root_relative_dir}}/{{source_file_part}}",
172 ]
173 }
174
137 source_set("unit_tests") { 175 source_set("unit_tests") {
138 testonly = true 176 testonly = true
139 sources = [ 177 sources = [
140 "expire_history_backend_unittest.cc", 178 "expire_history_backend_unittest.cc",
141 "history_backend_db_unittest.cc", 179 "history_backend_db_unittest.cc",
142 "history_backend_unittest.cc", 180 "history_backend_unittest.cc",
143 "history_database_unittest.cc", 181 "history_database_unittest.cc",
144 "history_querying_unittest.cc", 182 "history_querying_unittest.cc",
145 "history_service_unittest.cc", 183 "history_service_unittest.cc",
146 "history_types_unittest.cc", 184 "history_types_unittest.cc",
147 "thumbnail_database_unittest.cc", 185 "thumbnail_database_unittest.cc",
148 "top_sites_cache_unittest.cc", 186 "top_sites_cache_unittest.cc",
149 "top_sites_database_unittest.cc", 187 "top_sites_database_unittest.cc",
150 "top_sites_impl_unittest.cc", 188 "top_sites_impl_unittest.cc",
151 "typed_url_syncable_service_unittest.cc", 189 "typed_url_syncable_service_unittest.cc",
152 "url_database_unittest.cc", 190 "url_database_unittest.cc",
153 "url_utils_unittest.cc", 191 "url_utils_unittest.cc",
154 "visit_database_unittest.cc", 192 "visit_database_unittest.cc",
155 "visit_tracker_unittest.cc", 193 "visit_tracker_unittest.cc",
156 "web_history_service_unittest.cc", 194 "web_history_service_unittest.cc",
157 ] 195 ]
158 deps = [ 196 deps = [
159 ":browser", 197 ":browser",
198 ":unit_tests_bundle_data",
160 "//base", 199 "//base",
161 "//base/test:test_support", 200 "//base/test:test_support",
162 "//components/favicon_base", 201 "//components/favicon_base",
163 "//components/history/core/common", 202 "//components/history/core/common",
164 "//components/history/core/test", 203 "//components/history/core/test",
165 "//components/prefs:test_support", 204 "//components/prefs:test_support",
166 "//components/signin/core/browser", 205 "//components/signin/core/browser",
167 "//components/signin/core/browser:test_support", 206 "//components/signin/core/browser:test_support",
168 "//components/sync_driver:test_support", 207 "//components/sync_driver:test_support",
169 "//sql", 208 "//sql",
170 "//sql:test_support", 209 "//sql:test_support",
171 "//sync:test_support_sync_api", 210 "//sync:test_support_sync_api",
172 "//testing/gtest", 211 "//testing/gtest",
173 "//ui/gfx:gfx", 212 "//ui/gfx",
213 "//ui/gfx:test_support",
174 "//url", 214 "//url",
175 ] 215 ]
176 if (is_android) { 216 if (is_android) {
177 sources += [ "android/android_history_types_unittest.cc" ] 217 sources += [ "android/android_history_types_unittest.cc" ]
178 } 218 }
179 } 219 }
OLDNEW
« no previous file with comments | « components/dom_distiller/core/BUILD.gn ('k') | components/json_schema/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698