| 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/features.gni") |
| 6 |
| 5 if (is_android) { | 7 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 7 autofill_enable_sync = !is_android_webview_build | 9 autofill_enable_sync = !is_android_webview_build |
| 8 } else { | 10 } else { |
| 9 autofill_enable_sync = true | 11 autofill_enable_sync = true |
| 10 } | 12 } |
| 11 | 13 |
| 12 config("autofill_browser_config") { | 14 config("autofill_browser_config") { |
| 13 if (autofill_enable_sync) { | 15 if (autofill_enable_sync) { |
| 14 defines = [ "AUTOFILL_ENABLE_SYNC" ] | 16 defines = [ "AUTOFILL_ENABLE_SYNC" ] |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 "phone_field.h", | 114 "phone_field.h", |
| 113 "phone_number.cc", | 115 "phone_number.cc", |
| 114 "phone_number.h", | 116 "phone_number.h", |
| 115 "phone_number_i18n.cc", | 117 "phone_number_i18n.cc", |
| 116 "phone_number_i18n.h", | 118 "phone_number_i18n.h", |
| 117 "popup_item_ids.h", | 119 "popup_item_ids.h", |
| 118 "state_names.cc", | 120 "state_names.cc", |
| 119 "state_names.h", | 121 "state_names.h", |
| 120 "suggestion.cc", | 122 "suggestion.cc", |
| 121 "suggestion.h", | 123 "suggestion.h", |
| 124 "ui/autofill_dialog_types.cc", |
| 125 "ui/autofill_dialog_types.h", |
| 122 "validation.cc", | 126 "validation.cc", |
| 123 "validation.h", | 127 "validation.h", |
| 124 "wallet/real_pan_wallet_client.cc", | 128 "wallet/real_pan_wallet_client.cc", |
| 125 "wallet/real_pan_wallet_client.h", | 129 "wallet/real_pan_wallet_client.h", |
| 126 "webdata/autocomplete_syncable_service.cc", | 130 "webdata/autocomplete_syncable_service.cc", |
| 127 "webdata/autocomplete_syncable_service.h", | 131 "webdata/autocomplete_syncable_service.h", |
| 128 "webdata/autofill_change.cc", | 132 "webdata/autofill_change.cc", |
| 129 "webdata/autofill_change.h", | 133 "webdata/autofill_change.h", |
| 130 "webdata/autofill_entry.cc", | 134 "webdata/autofill_entry.cc", |
| 131 "webdata/autofill_entry.h", | 135 "webdata/autofill_entry.h", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 } else { | 187 } else { |
| 184 sources -= [ | 188 sources -= [ |
| 185 "webdata/autocomplete_syncable_service.cc", | 189 "webdata/autocomplete_syncable_service.cc", |
| 186 "webdata/autocomplete_syncable_service.h", | 190 "webdata/autocomplete_syncable_service.h", |
| 187 "webdata/autofill_profile_syncable_service.cc", | 191 "webdata/autofill_profile_syncable_service.cc", |
| 188 "webdata/autofill_profile_syncable_service.h", | 192 "webdata/autofill_profile_syncable_service.h", |
| 189 "webdata/autofill_wallet_syncable_service.cc", | 193 "webdata/autofill_wallet_syncable_service.cc", |
| 190 "webdata/autofill_wallet_syncable_service.h", | 194 "webdata/autofill_wallet_syncable_service.h", |
| 191 ] | 195 ] |
| 192 } | 196 } |
| 197 |
| 198 if (enable_autofill_dialog) { |
| 199 sources += [ |
| 200 "ui/autofill_dialog_common.cc", |
| 201 "ui/autofill_dialog_common.h", |
| 202 ] |
| 203 } |
| 193 } | 204 } |
| 194 | 205 |
| 195 static_library("test_support") { | 206 static_library("test_support") { |
| 196 testonly = true | 207 testonly = true |
| 197 sources = [ | 208 sources = [ |
| 198 "autofill_test_utils.cc", | 209 "autofill_test_utils.cc", |
| 199 "autofill_test_utils.h", | 210 "autofill_test_utils.h", |
| 200 "data_driven_test.cc", | 211 "data_driven_test.cc", |
| 201 "data_driven_test.h", | 212 "data_driven_test.h", |
| 202 "suggestion_test_helpers.h", | 213 "suggestion_test_helpers.h", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 "//sync", | 288 "//sync", |
| 278 "//sync:test_support_sync_api", | 289 "//sync:test_support_sync_api", |
| 279 "//testing/gmock", | 290 "//testing/gmock", |
| 280 "//testing/gtest", | 291 "//testing/gtest", |
| 281 "//third_party/libphonenumber", | 292 "//third_party/libphonenumber", |
| 282 "//third_party/libjingle", | 293 "//third_party/libjingle", |
| 283 "//ui/base", | 294 "//ui/base", |
| 284 "//url", | 295 "//url", |
| 285 ] | 296 ] |
| 286 } | 297 } |
| OLD | NEW |