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

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

Issue 1999923002: Move the Google Payments URL functions out of content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 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 Payments service to contact
8 # for features using Wallet integration. Unofficial builds won't have the 8 # for features using Payments 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("payments_service") {
11 if (is_official_build) { 11 if (is_official_build) {
12 defines = [ "ENABLE_PROD_WALLET_SERVICE=1" ] 12 defines = [ "ENABLE_PROD_WALLET_SERVICE=1" ]
13 } 13 }
14 } 14 }
15 15
16 # GYP version: components/autofill.gyp:autofill_core_browser 16 # GYP version: components/autofill.gyp:autofill_core_browser
17 source_set("browser") { 17 source_set("browser") {
18 sources = [ 18 sources = [
19 "address.cc", 19 "address.cc",
20 "address.h", 20 "address.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "legal_message_line.h", 91 "legal_message_line.h",
92 "name_field.cc", 92 "name_field.cc",
93 "name_field.h", 93 "name_field.h",
94 "password_generator.cc", 94 "password_generator.cc",
95 "password_generator.h", 95 "password_generator.h",
96 "payments/full_card_request.cc", 96 "payments/full_card_request.cc",
97 "payments/full_card_request.h", 97 "payments/full_card_request.h",
98 "payments/payments_client.cc", 98 "payments/payments_client.cc",
99 "payments/payments_client.h", 99 "payments/payments_client.h",
100 "payments/payments_request.h", 100 "payments/payments_request.h",
101 "payments/payments_service_url.cc",
102 "payments/payments_service_url.h",
101 "personal_data_manager.cc", 103 "personal_data_manager.cc",
102 "personal_data_manager.h", 104 "personal_data_manager.h",
103 "personal_data_manager_observer.h", 105 "personal_data_manager_observer.h",
104 "phone_field.cc", 106 "phone_field.cc",
105 "phone_field.h", 107 "phone_field.h",
106 "phone_number.cc", 108 "phone_number.cc",
107 "phone_number.h", 109 "phone_number.h",
108 "phone_number_i18n.cc", 110 "phone_number_i18n.cc",
109 "phone_number_i18n.h", 111 "phone_number_i18n.h",
110 "popup_item_ids.h", 112 "popup_item_ids.h",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "//ui/gfx/geometry", 201 "//ui/gfx/geometry",
200 "//ui/gfx/range", 202 "//ui/gfx/range",
201 "//url", 203 "//url",
202 ] 204 ]
203 205
204 public_deps = [ 206 public_deps = [
205 "//components/autofill/core/browser/proto", 207 "//components/autofill/core/browser/proto",
206 ] 208 ]
207 209
208 configs += [ 210 configs += [
209 ":wallet_service", 211 ":payments_service",
210 "//build/config/compiler:no_size_t_to_int_warning", 212 "//build/config/compiler:no_size_t_to_int_warning",
211 ] 213 ]
212 214
213 if (is_mac) { 215 if (is_mac) {
214 libs = [ "AddressBook.framework" ] 216 libs = [ "AddressBook.framework" ]
215 } 217 }
216 } 218 }
217 219
218 source_set("test_support") { 220 source_set("test_support") {
219 testonly = true 221 testonly = true
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "country_names_unittest.cc", 305 "country_names_unittest.cc",
304 "credit_card_field_unittest.cc", 306 "credit_card_field_unittest.cc",
305 "credit_card_unittest.cc", 307 "credit_card_unittest.cc",
306 "field_candidates_unittest.cc", 308 "field_candidates_unittest.cc",
307 "form_field_unittest.cc", 309 "form_field_unittest.cc",
308 "form_structure_unittest.cc", 310 "form_structure_unittest.cc",
309 "legal_message_line_unittest.cc", 311 "legal_message_line_unittest.cc",
310 "name_field_unittest.cc", 312 "name_field_unittest.cc",
311 "password_generator_unittest.cc", 313 "password_generator_unittest.cc",
312 "payments/full_card_request_unittest.cc", 314 "payments/full_card_request_unittest.cc",
315 "payments/payments_service_url_unittest.cc",
313 "personal_data_manager_unittest.cc", 316 "personal_data_manager_unittest.cc",
314 "phone_field_unittest.cc", 317 "phone_field_unittest.cc",
315 "phone_number_i18n_unittest.cc", 318 "phone_number_i18n_unittest.cc",
316 "phone_number_unittest.cc", 319 "phone_number_unittest.cc",
317 "ui/card_unmask_prompt_controller_impl_unittest.cc", 320 "ui/card_unmask_prompt_controller_impl_unittest.cc",
318 "validation_unittest.cc", 321 "validation_unittest.cc",
319 "webdata/autofill_data_type_controller_unittest.cc", 322 "webdata/autofill_data_type_controller_unittest.cc",
320 "webdata/autofill_profile_syncable_service_unittest.cc", 323 "webdata/autofill_profile_syncable_service_unittest.cc",
321 "webdata/autofill_table_unittest.cc", 324 "webdata/autofill_table_unittest.cc",
322 "webdata/autofill_wallet_metadata_syncable_service_unittest.cc", 325 "webdata/autofill_wallet_metadata_syncable_service_unittest.cc",
(...skipping 27 matching lines...) Expand all
350 "//sync", 353 "//sync",
351 "//sync:test_support_sync_api", 354 "//sync:test_support_sync_api",
352 "//testing/gmock", 355 "//testing/gmock",
353 "//testing/gtest", 356 "//testing/gtest",
354 "//third_party/libaddressinput:util", 357 "//third_party/libaddressinput:util",
355 "//third_party/libphonenumber", 358 "//third_party/libphonenumber",
356 "//ui/base", 359 "//ui/base",
357 "//url", 360 "//url",
358 ] 361 ]
359 } 362 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698