| 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 20 matching lines...) Expand all Loading... |
| 31 ], | 31 ], |
| 32 'variables': { | 32 'variables': { |
| 33 'proto_in_dir': 'autofill/browser/risk/proto', | 33 'proto_in_dir': 'autofill/browser/risk/proto', |
| 34 'proto_out_dir': 'components/autofill/browser/risk/proto', | 34 'proto_out_dir': 'components/autofill/browser/risk/proto', |
| 35 }, | 35 }, |
| 36 'includes': [ '../build/protoc.gypi' ] | 36 'includes': [ '../build/protoc.gypi' ] |
| 37 }, | 37 }, |
| 38 ], | 38 ], |
| 39 'conditions': [ | 39 'conditions': [ |
| 40 ['OS != "ios"', { | 40 ['OS != "ios"', { |
| 41 |
| 42 'conditions': [ |
| 43 ['component=="static_library"', { |
| 44 'targets': [ |
| 45 { |
| 46 'target_name': 'autofill_common', |
| 47 'type': 'none', |
| 48 'dependencies': ['autofill_common_static'], |
| 49 }, |
| 50 { |
| 51 'target_name': 'autofill_browser', |
| 52 'type': 'none', |
| 53 'dependencies': ['autofill_browser_static'], |
| 54 }, |
| 55 { |
| 56 'target_name': 'autofill_renderer', |
| 57 'type': 'none', |
| 58 'dependencies': ['autofill_renderer_static'], |
| 59 }, |
| 60 ], |
| 61 }, { # component != static_library |
| 62 'targets': [ |
| 63 { |
| 64 # In component mode, we build all of autofill as a single DLL. |
| 65 'target_name': 'autofill', # Autofill code use only. |
| 66 'type': 'shared_library', |
| 67 'dependencies': [ |
| 68 'autofill_common_static', |
| 69 'autofill_browser_static', |
| 70 'autofill_renderer_static', |
| 71 ], |
| 72 'msvs_settings': { |
| 73 'VCLinkerTool': { |
| 74 'conditions': [ |
| 75 ['incremental_chrome_dll==1', { |
| 76 'UseLibraryDependencyInputs': "true", |
| 77 }], |
| 78 ], |
| 79 }, |
| 80 }, |
| 81 }, |
| 82 { |
| 83 'target_name': 'autofill_common', |
| 84 'type': 'none', |
| 85 'dependencies': ['autofill'], |
| 86 }, |
| 87 { |
| 88 'target_name': 'autofill_browser', |
| 89 'type': 'none', |
| 90 'dependencies': ['autofill'], |
| 91 }, |
| 92 { |
| 93 'target_name': 'autofill_renderer', |
| 94 'type': 'none', |
| 95 'dependencies': ['autofill'], |
| 96 }, |
| 97 ], |
| 98 }], |
| 99 ], |
| 100 |
| 41 'targets': [ | 101 'targets': [ |
| 42 { | 102 { |
| 43 'target_name': 'autofill_common', | 103 'target_name': 'autofill_common_static', # Autofill code use only. |
| 44 'type': 'static_library', | 104 'type': 'static_library', |
| 105 'defines': [ |
| 106 'AUTOFILL_COMPONENT_IMPLEMENTATION', |
| 107 ], |
| 45 'dependencies': [ | 108 'dependencies': [ |
| 46 '../base/base.gyp:base', | 109 '../base/base.gyp:base', |
| 47 '../build/temp_gyp/googleurl.gyp:googleurl', | 110 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 48 '../content/content.gyp:content_common', | 111 '../content/content.gyp:content_common', |
| 49 '../ipc/ipc.gyp:ipc', | 112 '../ipc/ipc.gyp:ipc', |
| 50 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 113 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 51 '../ui/ui.gyp:ui', | 114 '../ui/ui.gyp:ui', |
| 52 ], | 115 ], |
| 53 'conditions': [ | 116 'conditions': [ |
| 54 ['OS == "android"', { | 117 ['OS == "android"', { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 65 'autofill/browser/android/auxiliary_profile_loader_android.cc', | 128 'autofill/browser/android/auxiliary_profile_loader_android.cc', |
| 66 'autofill/browser/android/auxiliary_profile_loader_android.h', | 129 'autofill/browser/android/auxiliary_profile_loader_android.h', |
| 67 'autofill/browser/android/auxiliary_profiles_android.cc', | 130 'autofill/browser/android/auxiliary_profiles_android.cc', |
| 68 'autofill/browser/android/auxiliary_profiles_android.h', | 131 'autofill/browser/android/auxiliary_profiles_android.h', |
| 69 'autofill/browser/android/component_jni_registrar.cc', | 132 'autofill/browser/android/component_jni_registrar.cc', |
| 70 'autofill/browser/android/component_jni_registrar.h', | 133 'autofill/browser/android/component_jni_registrar.h', |
| 71 'autofill/browser/android/personal_data_manager_android.cc', | 134 'autofill/browser/android/personal_data_manager_android.cc', |
| 72 'autofill/common/autocheckout_status.h', | 135 'autofill/common/autocheckout_status.h', |
| 73 'autofill/common/autofill_constants.cc', | 136 'autofill/common/autofill_constants.cc', |
| 74 'autofill/common/autofill_constants.h', | 137 'autofill/common/autofill_constants.h', |
| 138 'autofill/common/autofill_export.h', |
| 75 'autofill/common/autofill_messages.h', | 139 'autofill/common/autofill_messages.h', |
| 76 'autofill/common/autofill_message_generator.cc', | 140 'autofill/common/autofill_message_generator.cc', |
| 77 'autofill/common/autofill_message_generator.h', | 141 'autofill/common/autofill_message_generator.h', |
| 78 'autofill/common/autofill_pref_names.cc', | 142 'autofill/common/autofill_pref_names.cc', |
| 79 'autofill/common/autofill_pref_names.h', | 143 'autofill/common/autofill_pref_names.h', |
| 80 'autofill/common/autofill_switches.cc', | 144 'autofill/common/autofill_switches.cc', |
| 81 'autofill/common/autofill_switches.h', | 145 'autofill/common/autofill_switches.h', |
| 82 'autofill/common/form_data.cc', | 146 'autofill/common/form_data.cc', |
| 83 'autofill/common/form_data.h', | 147 'autofill/common/form_data.h', |
| 84 'autofill/common/form_data_predictions.cc', | 148 'autofill/common/form_data_predictions.cc', |
| 85 'autofill/common/form_data_predictions.h', | 149 'autofill/common/form_data_predictions.h', |
| 86 'autofill/common/form_field_data.cc', | 150 'autofill/common/form_field_data.cc', |
| 87 'autofill/common/form_field_data.h', | 151 'autofill/common/form_field_data.h', |
| 88 'autofill/common/form_field_data_predictions.cc', | 152 'autofill/common/form_field_data_predictions.cc', |
| 89 'autofill/common/form_field_data_predictions.h', | 153 'autofill/common/form_field_data_predictions.h', |
| 90 'autofill/common/password_form_fill_data.cc', | 154 'autofill/common/password_form_fill_data.cc', |
| 91 'autofill/common/password_form_fill_data.h', | 155 'autofill/common/password_form_fill_data.h', |
| 92 'autofill/common/password_generation_util.cc', | 156 'autofill/common/password_generation_util.cc', |
| 93 'autofill/common/password_generation_util.h', | 157 'autofill/common/password_generation_util.h', |
| 94 'autofill/common/web_element_descriptor.cc', | 158 'autofill/common/web_element_descriptor.cc', |
| 95 'autofill/common/web_element_descriptor.h', | 159 'autofill/common/web_element_descriptor.h', |
| 96 ], | 160 ], |
| 97 }, | 161 }, |
| 98 | 162 |
| 99 { | 163 { |
| 100 'target_name': 'autofill_browser', | 164 'target_name': 'autofill_browser_static', # Autofill code use only. |
| 101 'type': 'static_library', | 165 'type': 'static_library', |
| 166 'defines': [ |
| 167 'AUTOFILL_COMPONENT_IMPLEMENTATION', |
| 168 ], |
| 102 'include_dirs': [ | 169 'include_dirs': [ |
| 103 '..', | 170 '..', |
| 104 ], | 171 ], |
| 105 'dependencies': [ | 172 'dependencies': [ |
| 106 'autofill_common', | 173 'autofill_common_static', |
| 107 'autofill_regexes', | 174 'autofill_regexes', |
| 108 'autofill_risk_proto', | 175 'autofill_risk_proto', |
| 109 'encryptor', | 176 'encryptor', |
| 177 'user_prefs', |
| 110 'webdata_common', | 178 'webdata_common', |
| 111 '../base/base.gyp:base', | 179 '../base/base.gyp:base', |
| 112 '../base/base.gyp:base_i18n', | 180 '../base/base.gyp:base_i18n', |
| 181 '../base/base.gyp:base_prefs', |
| 113 '../build/temp_gyp/googleurl.gyp:googleurl', | 182 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 114 '../content/content.gyp:content_browser', | 183 '../content/content.gyp:content_browser', |
| 115 '../content/content.gyp:content_common', | 184 '../content/content.gyp:content_common', |
| 185 '../google_apis/google_apis.gyp:google_apis', |
| 116 '../ipc/ipc.gyp:ipc', | 186 '../ipc/ipc.gyp:ipc', |
| 117 '../skia/skia.gyp:skia', | 187 '../skia/skia.gyp:skia', |
| 118 '../sql/sql.gyp:sql', | 188 '../sql/sql.gyp:sql', |
| 189 '../sync/sync.gyp:sync', |
| 119 '../third_party/icu/icu.gyp:icui18n', | 190 '../third_party/icu/icu.gyp:icui18n', |
| 120 '../third_party/icu/icu.gyp:icuuc', | 191 '../third_party/icu/icu.gyp:icuuc', |
| 121 '../third_party/libjingle/libjingle.gyp:libjingle', | 192 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 122 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | 193 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', |
| 123 '../ui/ui.gyp:ui', | 194 '../ui/ui.gyp:ui', |
| 195 '../webkit/support/webkit_support.gyp:glue', |
| 124 '../webkit/support/webkit_support.gyp:webkit_resources', | 196 '../webkit/support/webkit_support.gyp:webkit_resources', |
| 125 | 197 |
| 126 # For grip/generated_resources.h and grit/chromium_strings.h | 198 # For grip/generated_resources.h and grit/chromium_strings.h |
| 127 # TODO(kaiwang): Remove this dependency on chrome. | 199 # TODO(kaiwang): Remove this dependency on chrome. |
| 128 '../chrome/chrome_resources.gyp:chrome_strings', | 200 '../chrome/chrome_resources.gyp:chrome_strings', |
| 129 ], | 201 ], |
| 130 'sources': [ | 202 'sources': [ |
| 131 'autofill/browser/address.cc', | 203 'autofill/browser/address.cc', |
| 132 'autofill/browser/address.h', | 204 'autofill/browser/address.h', |
| 133 'autofill/browser/address_field.cc', | 205 'autofill/browser/address_field.cc', |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 319 |
| 248 # This file is generated by the autofill_regexes action. | 320 # This file is generated by the autofill_regexes action. |
| 249 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', | 321 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', |
| 250 ], | 322 ], |
| 251 | 323 |
| 252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 324 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 253 'msvs_disabled_warnings': [4267, ], | 325 'msvs_disabled_warnings': [4267, ], |
| 254 }, | 326 }, |
| 255 | 327 |
| 256 { | 328 { |
| 257 'target_name': 'autofill_renderer', | 329 'target_name': 'autofill_renderer_static', # Autofill code use only. |
| 258 'type': 'static_library', | 330 'type': 'static_library', |
| 331 'defines': [ |
| 332 'AUTOFILL_COMPONENT_IMPLEMENTATION', |
| 333 ], |
| 259 'include_dirs': [ | 334 'include_dirs': [ |
| 260 '..', | 335 '..', |
| 261 ], | 336 ], |
| 262 'dependencies': [ | 337 'dependencies': [ |
| 263 'autofill_common', | 338 'autofill_common_static', |
| 264 '../base/base.gyp:base', | 339 '../base/base.gyp:base', |
| 265 '../content/content.gyp:content_renderer', | 340 '../content/content.gyp:content_renderer', |
| 266 '../content/content.gyp:content_common', | 341 '../content/content.gyp:content_common', |
| 267 '../ipc/ipc.gyp:ipc', | 342 '../ipc/ipc.gyp:ipc', |
| 268 '../skia/skia.gyp:skia', | 343 '../skia/skia.gyp:skia', |
| 269 | 344 |
| 270 # For grip/generated_resources.h and grit/chromium_strings.h | 345 # For grip/generated_resources.h and grit/chromium_strings.h |
| 271 # TODO(kaiwang): Remove this dependency on chrome. | 346 # TODO(kaiwang): Remove this dependency on chrome. |
| 272 '../chrome/chrome_resources.gyp:chrome_strings', | 347 '../chrome/chrome_resources.gyp:chrome_strings', |
| 273 ], | 348 ], |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 ], | 388 ], |
| 314 'variables': { | 389 'variables': { |
| 315 'jni_gen_package': 'autofill', | 390 'jni_gen_package': 'autofill', |
| 316 }, | 391 }, |
| 317 'includes': [ '../build/jni_generator.gypi' ], | 392 'includes': [ '../build/jni_generator.gypi' ], |
| 318 }, | 393 }, |
| 319 ], | 394 ], |
| 320 }], | 395 }], |
| 321 ], | 396 ], |
| 322 } | 397 } |
| OLD | NEW |