Call -loadCurrentURL to proceed with SSL warning in Request Tracker callback.
[chromium-blink-merge.git] / components / password_manager.gypi
blob1461c6cd337ac21938e1e182607c99b49b580f76
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/password_manager/core/browser
9       'target_name': 'password_manager_core_browser',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../net/net.gyp:net',
14         '../sql/sql.gyp:sql',
15         '../sync/sync.gyp:sync',
16         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
17         '../url/url.gyp:url_lib',
18         'autofill_core_common',
19         'components_strings.gyp:components_strings',
20         'keyed_service_core',
21         'os_crypt',
22         '../third_party/re2/re2.gyp:re2',
23         'password_manager_core_common',
24         'password_manager_core_browser_proto',
25       ],
26       'include_dirs': [
27         '..',
28       ],
29       'sources': [
30         # Note: sources list duplicated in GN build.
31         'password_manager/core/browser/affiliated_match_helper.cc',
32         'password_manager/core/browser/affiliated_match_helper.h',
33         'password_manager/core/browser/affiliation_backend.cc',
34         'password_manager/core/browser/affiliation_backend.h',
35         'password_manager/core/browser/affiliation_database.cc',
36         'password_manager/core/browser/affiliation_database.h',
37         'password_manager/core/browser/affiliation_fetch_throttler.cc',
38         'password_manager/core/browser/affiliation_fetch_throttler.h',
39         'password_manager/core/browser/affiliation_fetch_throttler_delegate.h',
40         'password_manager/core/browser/affiliation_fetcher.cc',
41         'password_manager/core/browser/affiliation_fetcher.h',
42         'password_manager/core/browser/affiliation_fetcher_delegate.h',
43         'password_manager/core/browser/affiliation_service.cc',
44         'password_manager/core/browser/affiliation_service.h',
45         'password_manager/core/browser/affiliation_utils.cc',
46         'password_manager/core/browser/affiliation_utils.h',
47         'password_manager/core/browser/browser_save_password_progress_logger.cc',
48         'password_manager/core/browser/browser_save_password_progress_logger.h',
49         'password_manager/core/browser/credential_manager_password_form_manager.cc',
50         'password_manager/core/browser/credential_manager_password_form_manager.h',
51         'password_manager/core/browser/credential_manager_pending_request_task.cc',
52         'password_manager/core/browser/credential_manager_pending_request_task.h',
53         'password_manager/core/browser/credential_manager_pending_signed_out_task.cc',
54         'password_manager/core/browser/credential_manager_pending_signed_out_task.h',
55         'password_manager/core/browser/export/csv_writer.cc',
56         'password_manager/core/browser/export/csv_writer.h',
57         'password_manager/core/browser/facet_manager.cc',
58         'password_manager/core/browser/facet_manager.h',
59         'password_manager/core/browser/facet_manager_host.h',
60         'password_manager/core/browser/import/csv_reader.cc',
61         'password_manager/core/browser/import/csv_reader.h',
62         'password_manager/core/browser/log_receiver.h',
63         'password_manager/core/browser/log_router.cc',
64         'password_manager/core/browser/log_router.h',
65         'password_manager/core/browser/login_database.cc',
66         'password_manager/core/browser/login_database.h',
67         'password_manager/core/browser/login_database_mac.cc',
68         'password_manager/core/browser/login_database_posix.cc',
69         'password_manager/core/browser/login_database_win.cc',
70         'password_manager/core/browser/login_model.h',
71         'password_manager/core/browser/password_autofill_manager.cc',
72         'password_manager/core/browser/password_autofill_manager.h',
73         'password_manager/core/browser/password_bubble_experiment.cc',
74         'password_manager/core/browser/password_bubble_experiment.h',
75         'password_manager/core/browser/password_form_manager.cc',
76         'password_manager/core/browser/password_form_manager.h',
77         'password_manager/core/browser/password_generation_manager.cc',
78         'password_manager/core/browser/password_generation_manager.h',
79         'password_manager/core/browser/password_manager.cc',
80         'password_manager/core/browser/password_manager.h',
81         'password_manager/core/browser/password_manager_client.cc',
82         'password_manager/core/browser/password_manager_client.h',
83         'password_manager/core/browser/password_manager_driver.h',
84         'password_manager/core/browser/password_manager_internals_service.cc',
85         'password_manager/core/browser/password_manager_internals_service.h',
86         'password_manager/core/browser/password_manager_metrics_util.cc',
87         'password_manager/core/browser/password_manager_metrics_util.h',
88         'password_manager/core/browser/password_manager_util.cc',
89         'password_manager/core/browser/password_manager_util.h',
90         'password_manager/core/browser/password_store.cc',
91         'password_manager/core/browser/password_store.h',
92         'password_manager/core/browser/password_store_change.h',
93         'password_manager/core/browser/password_store_consumer.cc',
94         'password_manager/core/browser/password_store_consumer.h',
95         'password_manager/core/browser/password_store_default.cc',
96         'password_manager/core/browser/password_store_default.h',
97         'password_manager/core/browser/password_store_sync.cc',
98         'password_manager/core/browser/password_store_sync.h',
99         'password_manager/core/browser/password_syncable_service.cc',
100         'password_manager/core/browser/password_syncable_service.h',
101         'password_manager/core/browser/psl_matching_helper.cc',
102         'password_manager/core/browser/psl_matching_helper.h',
103         'password_manager/core/browser/statistics_table.cc',
104         'password_manager/core/browser/statistics_table.h',
105         'password_manager/core/browser/test_affiliation_fetcher_factory.h',
106         'password_manager/core/browser/webdata/logins_table.cc',
107         'password_manager/core/browser/webdata/logins_table.h',
108         'password_manager/core/browser/webdata/logins_table_win.cc',
109         'password_manager/core/browser/webdata/password_web_data_service_win.cc',
110         'password_manager/core/browser/webdata/password_web_data_service_win.h',
111       ],
112       'conditions': [
113         ['OS=="mac"', {
114           'sources!': [
115             # TODO(blundell): Provide the iOS login DB implementation and then
116             # also exclude the POSIX one from iOS. http://crbug.com/341429
117             'password_manager/core/browser/login_database_posix.cc',
118           ],
119         }],
120       ],
121       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
122       'msvs_disabled_warnings': [ 4267, ],
123     },
124     {
125       # GN version: //components/password_manager/core/browser:proto
126       'target_name': 'password_manager_core_browser_proto',
127       'type': 'static_library',
128       'sources': [
129         'password_manager/core/browser/affiliation_api.proto'
130       ],
131       'variables': {
132         'proto_in_dir': 'password_manager/core/browser',
133         'proto_out_dir': 'components/password_manager/core/browser',
134       },
135       'includes': ['../build/protoc.gypi'],
136     },
137     {
138       # GN version: //components/password_manager/core/browser:test_support
139       'target_name': 'password_manager_core_browser_test_support',
140       'type': 'static_library',
141       'dependencies': [
142         'autofill_core_common',
143         '../base/base.gyp:base',
144         '../testing/gmock.gyp:gmock',
145         '../testing/gtest.gyp:gtest',
146       ],
147       'include_dirs': [
148         '..',
149       ],
150       'sources': [
151         # Note: sources list duplicated in GN build.
152         'password_manager/core/browser/fake_affiliation_api.cc',
153         'password_manager/core/browser/fake_affiliation_api.h',
154         'password_manager/core/browser/fake_affiliation_fetcher.cc',
155         'password_manager/core/browser/fake_affiliation_fetcher.h',
156         'password_manager/core/browser/mock_affiliation_consumer.cc',
157         'password_manager/core/browser/mock_affiliation_consumer.h',
158         'password_manager/core/browser/mock_password_store.cc',
159         'password_manager/core/browser/mock_password_store.h',
160         'password_manager/core/browser/password_manager_test_utils.cc',
161         'password_manager/core/browser/password_manager_test_utils.h',
162         'password_manager/core/browser/stub_password_manager_client.cc',
163         'password_manager/core/browser/stub_password_manager_client.h',
164         'password_manager/core/browser/stub_password_manager_driver.cc',
165         'password_manager/core/browser/stub_password_manager_driver.h',
166         'password_manager/core/browser/test_password_store.cc',
167         'password_manager/core/browser/test_password_store.h',
168       ],
169     },
170     {
171       # GN version: //components/password_manager/core/common
172       'target_name': 'password_manager_core_common',
173       'type': 'static_library',
174       'dependencies': [
175         '../base/base.gyp:base',
176       ],
177       'include_dirs': [
178         '..',
179       ],
180       'sources': [
181         # Note: sources list duplicated in GN build.
182         'password_manager/core/common/credential_manager_types.cc',
183         'password_manager/core/common/credential_manager_types.h',
184         'password_manager/core/common/experiments.cc',
185         'password_manager/core/common/experiments.h',
186         'password_manager/core/common/password_manager_pref_names.cc',
187         'password_manager/core/common/password_manager_pref_names.h',
188         'password_manager/core/common/password_manager_switches.cc',
189         'password_manager/core/common/password_manager_switches.h',
190         'password_manager/core/common/password_manager_ui.h',
191       ],
192     },
193   ],
194   'conditions': [
195     ['OS != "ios"', {
196       'targets': [
197         {
198           # GN version: //components/password_manager/content/common
199           'target_name': 'password_manager_content_common',
200           'type': 'static_library',
201           'dependencies': [
202             '../base/base.gyp:base',
203             '../content/content.gyp:content_common',
204             '../ipc/ipc.gyp:ipc',
205             '../third_party/WebKit/public/blink.gyp:blink_minimal',
206             'password_manager_core_common',
207           ],
208           'include_dirs': [
209             '..',
210           ],
211           'sources': [
212             'password_manager/content/common/credential_manager_content_utils.cc',
213             'password_manager/content/common/credential_manager_content_utils.h',
214             'password_manager/content/common/credential_manager_message_generator.cc',
215             'password_manager/content/common/credential_manager_message_generator.h',
216             'password_manager/content/common/credential_manager_messages.h',
217           ],
218         },
219         {
220           # GN version: //components/password_manager/content/renderer
221           'target_name': 'password_manager_content_renderer',
222           'type': 'static_library',
223           'dependencies': [
224             '../base/base.gyp:base',
225             '../content/content.gyp:content_common',
226             '../ipc/ipc.gyp:ipc',
227             '../third_party/WebKit/public/blink.gyp:blink',
228             'password_manager_core_common',
229             'password_manager_content_common',
230           ],
231           'include_dirs': [
232             '..',
233           ],
234           'sources': [
235             'password_manager/content/renderer/credential_manager_client.cc',
236             'password_manager/content/renderer/credential_manager_client.h',
237           ],
238         },
239         {
240           # GN version: //components/password_manager/content/browser
241           'target_name': 'password_manager_content_browser',
242           'type': 'static_library',
243           'dependencies': [
244             '../base/base.gyp:base',
245             '../content/content.gyp:content_browser',
246             '../content/content.gyp:content_common',
247             '../ipc/ipc.gyp:ipc',
248             '../net/net.gyp:net',
249             'autofill_content_browser',
250             'autofill_content_common',
251             'autofill_core_common',
252             'keyed_service_content',
253             'password_manager_core_browser',
254             'password_manager_content_common',
255           ],
256           'include_dirs': [
257             '..',
258           ],
259           'sources': [
260             # Note: sources list duplicated in GN build.
261             'password_manager/content/browser/content_password_manager_driver.cc',
262             'password_manager/content/browser/content_password_manager_driver.h',
263             'password_manager/content/browser/content_password_manager_driver_factory.cc',
264             'password_manager/content/browser/content_password_manager_driver_factory.h',
265             'password_manager/content/browser/credential_manager_dispatcher.cc',
266             'password_manager/content/browser/credential_manager_dispatcher.h',
267             'password_manager/content/browser/password_manager_internals_service_factory.cc',
268             'password_manager/content/browser/password_manager_internals_service_factory.h',
269           ],
270         },
271       ],
272     }],
273   ],