OLD | NEW |
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") |
| 6 |
| 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 |
| 9 # proper API keys so it uses the "sandbox" test servers instead. |
| 10 config("wallet_service") { |
| 11 if (is_official_build) { |
| 12 defines = [ "ENABLE_PROD_WALLET_SERVICE=1" ] |
| 13 } |
| 14 } |
| 15 |
5 # GYP version: components/autofill.gyp:autofill_core_browser | 16 # GYP version: components/autofill.gyp:autofill_core_browser |
6 static_library("browser") { | 17 static_library("browser") { |
7 sources = [ | 18 sources = [ |
8 "address.cc", | 19 "address.cc", |
9 "address.h", | 20 "address.h", |
10 "address_field.cc", | 21 "address_field.cc", |
11 "address_field.h", | 22 "address_field.h", |
12 "address_i18n.cc", | 23 "address_i18n.cc", |
13 "address_i18n.h", | 24 "address_i18n.h", |
14 "autocomplete_history_manager.cc", | 25 "autocomplete_history_manager.cc", |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 "//third_party/icu", | 152 "//third_party/icu", |
142 "//third_party/libaddressinput:util", | 153 "//third_party/libaddressinput:util", |
143 "//third_party/libphonenumber", | 154 "//third_party/libphonenumber", |
144 "//third_party/libjingle", | 155 "//third_party/libjingle", |
145 "//ui/base", | 156 "//ui/base", |
146 "//ui/gfx", | 157 "//ui/gfx", |
147 "//ui/gfx/geometry", | 158 "//ui/gfx/geometry", |
148 "//url", | 159 "//url", |
149 ] | 160 ] |
150 | 161 |
151 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 162 configs += [ |
| 163 ":wallet_service", |
| 164 "//build/config/compiler:no_size_t_to_int_warning", |
| 165 ] |
152 | 166 |
153 if (is_mac) { | 167 if (is_mac) { |
154 libs = [ "AddressBook.framework" ] | 168 libs = [ "AddressBook.framework" ] |
155 } | 169 } |
156 } | 170 } |
157 | 171 |
158 static_library("test_support") { | 172 static_library("test_support") { |
159 testonly = true | 173 testonly = true |
160 sources = [ | 174 sources = [ |
161 "autofill_test_utils.cc", | 175 "autofill_test_utils.cc", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "//sync", | 257 "//sync", |
244 "//sync:test_support_sync_api", | 258 "//sync:test_support_sync_api", |
245 "//testing/gmock", | 259 "//testing/gmock", |
246 "//testing/gtest", | 260 "//testing/gtest", |
247 "//third_party/libphonenumber", | 261 "//third_party/libphonenumber", |
248 "//third_party/libjingle", | 262 "//third_party/libjingle", |
249 "//ui/base", | 263 "//ui/base", |
250 "//url", | 264 "//url", |
251 ] | 265 ] |
252 } | 266 } |
OLD | NEW |