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

Side by Side Diff: components/autofill/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/BUILD.gn ('k') | components/bookmarks/browser/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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 6
7 # This config sets the define that controls which Wallet service to contact 7 # This config sets the define that controls which Wallet service to contact
8 # for features using Wallet integration. Unofficial builds won't have the 8 # for features using Wallet integration. Unofficial builds won't have the
9 # proper API keys so it uses the "sandbox" test servers instead. 9 # proper API keys so it uses the "sandbox" test servers instead.
10 config("wallet_service") { 10 config("wallet_service") {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 "//components/signin/core/browser", 247 "//components/signin/core/browser",
248 "//components/signin/core/common", 248 "//components/signin/core/common",
249 "//google_apis:test_support", 249 "//google_apis:test_support",
250 "//skia", 250 "//skia",
251 "//testing/gtest", 251 "//testing/gtest",
252 "//ui/gfx:test_support", 252 "//ui/gfx:test_support",
253 "//ui/gfx/geometry", 253 "//ui/gfx/geometry",
254 ] 254 ]
255 } 255 }
256 256
257 bundle_data("unit_tests_bundle_data") {
258 sources = [
259 "//components/test/data/autofill/merge/input/ambiguous.in",
260 "//components/test/data/autofill/merge/input/case.in",
261 "//components/test/data/autofill/merge/input/email.in",
262 "//components/test/data/autofill/merge/input/identical.in",
263 "//components/test/data/autofill/merge/input/primarycase.in",
264 "//components/test/data/autofill/merge/input/singlemerge.in",
265 "//components/test/data/autofill/merge/input/validation.in",
266 "//components/test/data/autofill/merge/output/ambiguous.out",
267 "//components/test/data/autofill/merge/output/case.out",
268 "//components/test/data/autofill/merge/output/email.out",
269 "//components/test/data/autofill/merge/output/identical.out",
270 "//components/test/data/autofill/merge/output/primarycase.out",
271 "//components/test/data/autofill/merge/output/singlemerge.out",
272 "//components/test/data/autofill/merge/output/validation.out",
273 ]
274 outputs = [
275 "{{bundle_resources_dir}}/" +
276 "{{source_root_relative_dir}}/{{source_file_part}}",
277 ]
278 }
279
257 source_set("unit_tests") { 280 source_set("unit_tests") {
258 testonly = true 281 testonly = true
259 sources = [ 282 sources = [
260 "address_field_unittest.cc", 283 "address_field_unittest.cc",
261 "address_i18n_unittest.cc", 284 "address_i18n_unittest.cc",
262 "address_unittest.cc", 285 "address_unittest.cc",
263 "autocomplete_history_manager_unittest.cc", 286 "autocomplete_history_manager_unittest.cc",
264 "autofill_country_unittest.cc", 287 "autofill_country_unittest.cc",
265 "autofill_data_model_unittest.cc", 288 "autofill_data_model_unittest.cc",
266 "autofill_data_util_unittest.cc", 289 "autofill_data_util_unittest.cc",
(...skipping 25 matching lines...) Expand all
292 "webdata/autofill_data_type_controller_unittest.cc", 315 "webdata/autofill_data_type_controller_unittest.cc",
293 "webdata/autofill_profile_syncable_service_unittest.cc", 316 "webdata/autofill_profile_syncable_service_unittest.cc",
294 "webdata/autofill_table_unittest.cc", 317 "webdata/autofill_table_unittest.cc",
295 "webdata/autofill_wallet_metadata_syncable_service_unittest.cc", 318 "webdata/autofill_wallet_metadata_syncable_service_unittest.cc",
296 "webdata/web_data_service_unittest.cc", 319 "webdata/web_data_service_unittest.cc",
297 ] 320 ]
298 321
299 deps = [ 322 deps = [
300 ":browser", 323 ":browser",
301 ":test_support", 324 ":test_support",
325 ":unit_tests_bundle_data",
302 "//base", 326 "//base",
303 "//base/test:test_support", 327 "//base/test:test_support",
304 "//components/autofill/core/common", 328 "//components/autofill/core/common",
305 "//components/os_crypt", 329 "//components/os_crypt",
306 "//components/prefs:test_support", 330 "//components/prefs:test_support",
307 "//components/rappor:test_support", 331 "//components/rappor:test_support",
308 "//components/resources", 332 "//components/resources",
309 "//components/signin/core/browser", 333 "//components/signin/core/browser",
310 "//components/signin/core/browser:test_support", 334 "//components/signin/core/browser:test_support",
311 "//components/signin/core/common", 335 "//components/signin/core/common",
(...skipping 10 matching lines...) Expand all
322 "//sync", 346 "//sync",
323 "//sync:test_support_sync_api", 347 "//sync:test_support_sync_api",
324 "//testing/gmock", 348 "//testing/gmock",
325 "//testing/gtest", 349 "//testing/gtest",
326 "//third_party/libaddressinput:util", 350 "//third_party/libaddressinput:util",
327 "//third_party/libphonenumber", 351 "//third_party/libphonenumber",
328 "//ui/base", 352 "//ui/base",
329 "//url", 353 "//url",
330 ] 354 ]
331 } 355 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/bookmarks/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698