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', |
11 'actions': [{ | 11 'actions': [{ |
12 'action_name': 'autofill_regexes', | 12 'action_name': 'autofill_regexes', |
13 'inputs': [ | 13 'inputs': [ |
14 '<(DEPTH)/build/escape_unicode.py', | 14 '<(DEPTH)/build/escape_unicode.py', |
15 'autofill/browser/autofill_regex_constants.cc.utf8', | 15 'autofill/browser/autofill_regex_constants.cc.utf8', |
16 ], | 16 ], |
17 'outputs': [ | 17 'outputs': [ |
18 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', | 18 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', |
19 ], | 19 ], |
20 'action': ['python', '<(DEPTH)/build/escape_unicode.py', | 20 'action': ['python', '<(DEPTH)/build/escape_unicode.py', |
21 '-o', '<(SHARED_INTERMEDIATE_DIR)', | 21 '-o', '<(SHARED_INTERMEDIATE_DIR)', |
22 'autofill/browser/autofill_regex_constants.cc.utf8'], | 22 'autofill/browser/autofill_regex_constants.cc.utf8'], |
23 }], | 23 }], |
24 }, | 24 }, |
25 ], | 25 ], |
26 'conditions': [ | 26 'conditions': [ |
27 ['OS != "ios"', { | 27 ['OS != "ios"', { |
28 'targets': [ | 28 'targets': [ |
29 { | 29 { |
30 'target_name': 'autofill_common', | 30 'target_name': 'autofill_core_common', |
31 'type': 'static_library', | 31 'type': 'static_library', |
32 'dependencies': [ | 32 'dependencies': [ |
33 '../base/base.gyp:base', | 33 '../base/base.gyp:base', |
34 '../content/content.gyp:content_common', | 34 '../content/content.gyp:content_common', |
35 '../ipc/ipc.gyp:ipc', | 35 '../ipc/ipc.gyp:ipc', |
36 '../third_party/WebKit/public/blink.gyp:blink', | 36 '../third_party/WebKit/public/blink.gyp:blink', |
37 '../ui/ui.gyp:ui', | 37 '../ui/ui.gyp:ui', |
38 '../url/url.gyp:url_lib', | 38 '../url/url.gyp:url_lib', |
39 ], | 39 ], |
40 'conditions': [ | 40 'conditions': [ |
41 ['OS == "android"', { | 41 ['OS == "android"', { |
42 'dependencies': [ | 42 'dependencies': [ |
43 'autofill_jni_headers', | 43 'autofill_jni_headers', |
44 ], | 44 ], |
45 }], | 45 }], |
46 ], | 46 ], |
47 'include_dirs': [ | 47 'include_dirs': [ |
48 '..', | 48 '..', |
49 '<(SHARED_INTERMEDIATE_DIR)/autofill' | 49 '<(SHARED_INTERMEDIATE_DIR)/autofill' |
50 ], | 50 ], |
51 'sources': [ | 51 'sources': [ |
52 'autofill/browser/android/auxiliary_profile_loader_android.cc', | 52 'autofill/browser/android/auxiliary_profile_loader_android.cc', |
53 'autofill/browser/android/auxiliary_profile_loader_android.h', | 53 'autofill/browser/android/auxiliary_profile_loader_android.h', |
54 'autofill/browser/android/auxiliary_profiles_android.cc', | 54 'autofill/browser/android/auxiliary_profiles_android.cc', |
55 'autofill/browser/android/auxiliary_profiles_android.h', | 55 'autofill/browser/android/auxiliary_profiles_android.h', |
56 'autofill/browser/android/component_jni_registrar.cc', | 56 'autofill/browser/android/component_jni_registrar.cc', |
57 'autofill/browser/android/component_jni_registrar.h', | 57 'autofill/browser/android/component_jni_registrar.h', |
58 'autofill/browser/android/personal_data_manager_android.cc', | 58 'autofill/browser/android/personal_data_manager_android.cc', |
59 'autofill/common/autocheckout_status.h', | 59 'autofill/core/common/autocheckout_status.h', |
60 'autofill/common/autofill_constants.cc', | 60 'autofill/core/common/autofill_constants.cc', |
61 'autofill/common/autofill_constants.h', | 61 'autofill/core/common/autofill_constants.h', |
62 'autofill/common/autofill_messages.h', | 62 'autofill/core/common/autofill_messages.h', |
63 'autofill/common/autofill_message_generator.cc', | 63 'autofill/core/common/autofill_message_generator.cc', |
64 'autofill/common/autofill_message_generator.h', | 64 'autofill/core/common/autofill_message_generator.h', |
65 'autofill/common/autofill_pref_names.cc', | 65 'autofill/core/common/autofill_pref_names.cc', |
66 'autofill/common/autofill_pref_names.h', | 66 'autofill/core/common/autofill_pref_names.h', |
67 'autofill/common/autofill_switches.cc', | 67 'autofill/core/common/autofill_switches.cc', |
68 'autofill/common/autofill_switches.h', | 68 'autofill/core/common/autofill_switches.h', |
69 'autofill/common/form_data.cc', | 69 'autofill/core/common/form_data.cc', |
70 'autofill/common/form_data.h', | 70 'autofill/core/common/form_data.h', |
71 'autofill/common/form_data_predictions.cc', | 71 'autofill/core/common/form_data_predictions.cc', |
72 'autofill/common/form_data_predictions.h', | 72 'autofill/core/common/form_data_predictions.h', |
73 'autofill/common/form_field_data.cc', | 73 'autofill/core/common/form_field_data.cc', |
74 'autofill/common/form_field_data.h', | 74 'autofill/core/common/form_field_data.h', |
75 'autofill/common/form_field_data_predictions.cc', | 75 'autofill/core/common/form_field_data_predictions.cc', |
76 'autofill/common/form_field_data_predictions.h', | 76 'autofill/core/common/form_field_data_predictions.h', |
77 'autofill/common/password_form_fill_data.cc', | 77 'autofill/core/common/password_form_fill_data.cc', |
78 'autofill/common/password_form_fill_data.h', | 78 'autofill/core/common/password_form_fill_data.h', |
79 'autofill/common/password_generation_util.cc', | 79 'autofill/core/common/password_generation_util.cc', |
80 'autofill/common/password_generation_util.h', | 80 'autofill/core/common/password_generation_util.h', |
81 'autofill/common/web_element_descriptor.cc', | 81 'autofill/core/common/web_element_descriptor.cc', |
82 'autofill/common/web_element_descriptor.h', | 82 'autofill/core/common/web_element_descriptor.h', |
83 ], | 83 ], |
84 }, | 84 }, |
85 | 85 |
86 { | 86 { |
87 # TODO(blundell): Eliminate this target; instead, have only the | 87 # TODO(blundell): Move this target to autofill_core_browser. |
88 # autofill_content_browser target and a new top-level | 88 # crbug.com/247015 |
89 # autofill_shared target. crbug.com/247015 | |
90 'target_name': 'autofill_browser', | 89 'target_name': 'autofill_browser', |
91 'type': 'static_library', | 90 'type': 'static_library', |
92 'include_dirs': [ | 91 'include_dirs': [ |
93 '..', | 92 '..', |
94 ], | 93 ], |
95 'dependencies': [ | 94 'dependencies': [ |
96 'autofill_common', | 95 'autofill_core_common', |
97 'autofill_regexes', | 96 'autofill_regexes', |
98 'encryptor', | 97 'encryptor', |
99 'user_prefs', | 98 'user_prefs', |
100 'webdata_common', | 99 'webdata_common', |
101 '../base/base.gyp:base', | 100 '../base/base.gyp:base', |
102 '../base/base.gyp:base_i18n', | 101 '../base/base.gyp:base_i18n', |
103 '../base/base.gyp:base_prefs', | 102 '../base/base.gyp:base_prefs', |
104 '../content/content.gyp:content_browser', | 103 '../content/content.gyp:content_browser', |
105 '../content/content.gyp:content_common', | 104 '../content/content.gyp:content_common', |
106 '../google_apis/google_apis.gyp:google_apis', | 105 '../google_apis/google_apis.gyp:google_apis', |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 'include_dirs': [ '..' ], | 239 'include_dirs': [ '..' ], |
241 }, | 240 }, |
242 { | 241 { |
243 'target_name': 'autofill_content_browser', | 242 'target_name': 'autofill_content_browser', |
244 'type': 'static_library', | 243 'type': 'static_library', |
245 'include_dirs': [ | 244 'include_dirs': [ |
246 '..', | 245 '..', |
247 ], | 246 ], |
248 'dependencies': [ | 247 'dependencies': [ |
249 'autofill_browser', | 248 'autofill_browser', |
250 'autofill_common', | |
251 'autofill_content_risk_proto', | 249 'autofill_content_risk_proto', |
| 250 'autofill_core_common', |
252 'autofill_regexes', | 251 'autofill_regexes', |
253 'encryptor', | 252 'encryptor', |
254 'user_prefs', | 253 'user_prefs', |
255 'webdata_common', | 254 'webdata_common', |
256 '../base/base.gyp:base', | 255 '../base/base.gyp:base', |
257 '../base/base.gyp:base_i18n', | 256 '../base/base.gyp:base_i18n', |
258 '../base/base.gyp:base_prefs', | 257 '../base/base.gyp:base_prefs', |
259 '../content/content.gyp:content_browser', | 258 '../content/content.gyp:content_browser', |
260 '../content/content.gyp:content_common', | 259 '../content/content.gyp:content_common', |
261 '../google_apis/google_apis.gyp:google_apis', | 260 '../google_apis/google_apis.gyp:google_apis', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 'msvs_disabled_warnings': [4267, ], | 312 'msvs_disabled_warnings': [4267, ], |
314 }, | 313 }, |
315 | 314 |
316 { | 315 { |
317 'target_name': 'autofill_content_renderer', | 316 'target_name': 'autofill_content_renderer', |
318 'type': 'static_library', | 317 'type': 'static_library', |
319 'include_dirs': [ | 318 'include_dirs': [ |
320 '..', | 319 '..', |
321 ], | 320 ], |
322 'dependencies': [ | 321 'dependencies': [ |
323 'autofill_common', | 322 'autofill_core_common', |
324 '../base/base.gyp:base', | 323 '../base/base.gyp:base', |
325 '../content/content.gyp:content_renderer', | 324 '../content/content.gyp:content_renderer', |
326 '../content/content.gyp:content_common', | 325 '../content/content.gyp:content_common', |
327 '../ipc/ipc.gyp:ipc', | 326 '../ipc/ipc.gyp:ipc', |
328 '../skia/skia.gyp:skia', | 327 '../skia/skia.gyp:skia', |
329 | 328 |
330 'component_resources.gyp:component_resources', | 329 'component_resources.gyp:component_resources', |
331 ], | 330 ], |
332 'sources': [ | 331 'sources': [ |
333 'autofill/content/renderer/autofill_agent.cc', | 332 'autofill/content/renderer/autofill_agent.cc', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 ], | 370 ], |
372 'variables': { | 371 'variables': { |
373 'jni_gen_package': 'autofill', | 372 'jni_gen_package': 'autofill', |
374 }, | 373 }, |
375 'includes': [ '../build/jni_generator.gypi' ], | 374 'includes': [ '../build/jni_generator.gypi' ], |
376 }, | 375 }, |
377 ], | 376 ], |
378 }], | 377 }], |
379 ], | 378 ], |
380 } | 379 } |
OLD | NEW |