| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # Private target only used in components/autofill. | 8 # Private target only used in components/autofill. |
| 9 'target_name': 'autofill_regexes', | 9 'target_name': 'autofill_regexes', |
| 10 'type': 'none', | 10 'type': 'none', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 '../skia/skia.gyp:skia', | 99 '../skia/skia.gyp:skia', |
| 100 '../sql/sql.gyp:sql', | 100 '../sql/sql.gyp:sql', |
| 101 '../third_party/icu/icu.gyp:icui18n', | 101 '../third_party/icu/icu.gyp:icui18n', |
| 102 '../third_party/icu/icu.gyp:icuuc', | 102 '../third_party/icu/icu.gyp:icuuc', |
| 103 '../third_party/libjingle/libjingle.gyp:libjingle', | 103 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 104 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | 104 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', |
| 105 '../ui/gfx/gfx.gyp:gfx', | 105 '../ui/gfx/gfx.gyp:gfx', |
| 106 '../ui/ui.gyp:ui', | 106 '../ui/ui.gyp:ui', |
| 107 '../url/url.gyp:url_lib', | 107 '../url/url.gyp:url_lib', |
| 108 ], | 108 ], |
| 109 # TODO(blundell): Eliminate the need for this conditional dependence. | |
| 110 # crbug.com/328150 | |
| 111 'conditions': [ | |
| 112 ['OS != "ios"', { | |
| 113 'dependencies': [ | |
| 114 '../webkit/webkit_resources.gyp:webkit_resources', | |
| 115 ], | |
| 116 }], | |
| 117 ], | |
| 118 'sources': [ | 109 'sources': [ |
| 119 'autofill/core/browser/address.cc', | 110 'autofill/core/browser/address.cc', |
| 120 'autofill/core/browser/address.h', | 111 'autofill/core/browser/address.h', |
| 121 'autofill/core/browser/address_field.cc', | 112 'autofill/core/browser/address_field.cc', |
| 122 'autofill/core/browser/address_field.h', | 113 'autofill/core/browser/address_field.h', |
| 123 'autofill/core/browser/autocomplete_history_manager.cc', | 114 'autofill/core/browser/autocomplete_history_manager.cc', |
| 124 'autofill/core/browser/autocomplete_history_manager.h', | 115 'autofill/core/browser/autocomplete_history_manager.h', |
| 125 'autofill/core/browser/autofill-inl.h', | 116 'autofill/core/browser/autofill-inl.h', |
| 126 'autofill/core/browser/autofill_country.cc', | 117 'autofill/core/browser/autofill_country.cc', |
| 127 'autofill/core/browser/autofill_country.h', | 118 'autofill/core/browser/autofill_country.h', |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 'autofill/core/browser/phone_number_i18n.cc', | 181 'autofill/core/browser/phone_number_i18n.cc', |
| 191 'autofill/core/browser/phone_number_i18n.h', | 182 'autofill/core/browser/phone_number_i18n.h', |
| 192 'autofill/core/browser/state_names.cc', | 183 'autofill/core/browser/state_names.cc', |
| 193 'autofill/core/browser/state_names.h', | 184 'autofill/core/browser/state_names.h', |
| 194 'autofill/core/browser/validation.cc', | 185 'autofill/core/browser/validation.cc', |
| 195 'autofill/core/browser/validation.h', | 186 'autofill/core/browser/validation.h', |
| 196 'autofill/core/browser/webdata/autofill_change.cc', | 187 'autofill/core/browser/webdata/autofill_change.cc', |
| 197 'autofill/core/browser/webdata/autofill_change.h', | 188 'autofill/core/browser/webdata/autofill_change.h', |
| 198 'autofill/core/browser/webdata/autofill_entry.cc', | 189 'autofill/core/browser/webdata/autofill_entry.cc', |
| 199 'autofill/core/browser/webdata/autofill_entry.h', | 190 'autofill/core/browser/webdata/autofill_entry.h', |
| 191 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc', |
| 192 'autofill/core/browser/webdata/autofill_profile_syncable_service.h', |
| 200 'autofill/core/browser/webdata/autofill_table.cc', | 193 'autofill/core/browser/webdata/autofill_table.cc', |
| 201 'autofill/core/browser/webdata/autofill_table.h', | 194 'autofill/core/browser/webdata/autofill_table.h', |
| 202 'autofill/core/browser/webdata/autofill_webdata.h', | 195 'autofill/core/browser/webdata/autofill_webdata.h', |
| 203 'autofill/core/browser/webdata/autofill_webdata_backend.h', | 196 'autofill/core/browser/webdata/autofill_webdata_backend.h', |
| 204 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc', | 197 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc', |
| 205 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h', | 198 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h', |
| 206 'autofill/core/browser/webdata/autofill_webdata_service.cc', | 199 'autofill/core/browser/webdata/autofill_webdata_service.cc', |
| 207 'autofill/core/browser/webdata/autofill_webdata_service.h', | 200 'autofill/core/browser/webdata/autofill_webdata_service.h', |
| 208 'autofill/core/browser/webdata/autofill_webdata_service_observer.h', | 201 'autofill/core/browser/webdata/autofill_webdata_service_observer.h', |
| 209 | 202 |
| 210 # This file is generated by the autofill_regexes action. | 203 # This file is generated by the autofill_regexes action. |
| 211 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', | 204 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', |
| 212 ], | 205 ], |
| 206 'variables': { |
| 207 'conditions': [ |
| 208 ['android_webview_build == 1', { |
| 209 # Android WebView doesn't support sync. |
| 210 'autofill_enable_sync%': 0, |
| 211 }, { |
| 212 'autofill_enable_sync%': 1, |
| 213 }], |
| 214 ], |
| 215 }, |
| 216 'conditions': [ |
| 217 # TODO(blundell): Eliminate the need for this conditional dependence. |
| 218 # crbug.com/328150 |
| 219 ['OS != "ios"', { |
| 220 'dependencies': [ |
| 221 '../webkit/webkit_resources.gyp:webkit_resources', |
| 222 ], |
| 223 }], |
| 224 ['autofill_enable_sync == 1', { |
| 225 'defines': [ |
| 226 'AUTOFILL_ENABLE_SYNC', |
| 227 ], |
| 228 'dependencies': [ |
| 229 '../sync/sync.gyp:sync', |
| 230 ], |
| 231 'direct_dependent_settings': { |
| 232 'defines': [ |
| 233 'AUTOFILL_ENABLE_SYNC', |
| 234 ], |
| 235 }, |
| 236 }, { # 'autofill_enable_sync == 0' |
| 237 'sources!': [ |
| 238 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc'
, |
| 239 'autofill/core/browser/webdata/autofill_profile_syncable_service.h', |
| 240 ], |
| 241 }], |
| 242 ], |
| 213 | 243 |
| 214 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 244 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 215 'msvs_disabled_warnings': [4267, ], | 245 'msvs_disabled_warnings': [4267, ], |
| 216 }, | 246 }, |
| 217 | 247 |
| 218 { | 248 { |
| 219 'target_name': 'autofill_core_test_support', | 249 'target_name': 'autofill_core_test_support', |
| 220 'type': 'static_library', | 250 'type': 'static_library', |
| 221 'dependencies': [ | 251 'dependencies': [ |
| 222 'autofill_core_common', | 252 'autofill_core_common', |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 ], | 456 ], |
| 427 'variables': { | 457 'variables': { |
| 428 'jni_gen_package': 'autofill', | 458 'jni_gen_package': 'autofill', |
| 429 }, | 459 }, |
| 430 'includes': [ '../build/jni_generator.gypi' ], | 460 'includes': [ '../build/jni_generator.gypi' ], |
| 431 }, | 461 }, |
| 432 ], | 462 ], |
| 433 }], | 463 }], |
| 434 ], | 464 ], |
| 435 } | 465 } |
| OLD | NEW |