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.
8 # GN version: //components/password_manager/core/browser
9 'target_name': 'password_manager_core_browser',
10 'type': 'static_library',
12 '../base/base.gyp:base',
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',
22 '../third_party/re2/re2.gyp:re2',
23 'password_manager_core_common',
24 'password_manager_core_browser_proto',
25 'url_formatter/url_formatter.gyp:url_formatter',
31 # Note: sources list duplicated in GN build.
32 'password_manager/core/browser/affiliated_match_helper.cc',
33 'password_manager/core/browser/affiliated_match_helper.h',
34 'password_manager/core/browser/affiliation_backend.cc',
35 'password_manager/core/browser/affiliation_backend.h',
36 'password_manager/core/browser/affiliation_database.cc',
37 'password_manager/core/browser/affiliation_database.h',
38 'password_manager/core/browser/affiliation_fetch_throttler.cc',
39 'password_manager/core/browser/affiliation_fetch_throttler.h',
40 'password_manager/core/browser/affiliation_fetch_throttler_delegate.h',
41 'password_manager/core/browser/affiliation_fetcher.cc',
42 'password_manager/core/browser/affiliation_fetcher.h',
43 'password_manager/core/browser/affiliation_fetcher_delegate.h',
44 'password_manager/core/browser/affiliation_service.cc',
45 'password_manager/core/browser/affiliation_service.h',
46 'password_manager/core/browser/affiliation_utils.cc',
47 'password_manager/core/browser/affiliation_utils.h',
48 'password_manager/core/browser/browser_save_password_progress_logger.cc',
49 'password_manager/core/browser/browser_save_password_progress_logger.h',
50 'password_manager/core/browser/credential_manager_password_form_manager.cc',
51 'password_manager/core/browser/credential_manager_password_form_manager.h',
52 'password_manager/core/browser/credential_manager_pending_request_task.cc',
53 'password_manager/core/browser/credential_manager_pending_request_task.h',
54 'password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc',
55 'password_manager/core/browser/credential_manager_pending_require_user_mediation_task.h',
56 'password_manager/core/browser/export/csv_writer.cc',
57 'password_manager/core/browser/export/csv_writer.h',
58 'password_manager/core/browser/facet_manager.cc',
59 'password_manager/core/browser/facet_manager.h',
60 'password_manager/core/browser/facet_manager_host.h',
61 'password_manager/core/browser/import/csv_reader.cc',
62 'password_manager/core/browser/import/csv_reader.h',
63 'password_manager/core/browser/keychain_migration_status_mac.h',
64 'password_manager/core/browser/log_receiver.h',
65 'password_manager/core/browser/log_router.cc',
66 'password_manager/core/browser/log_router.h',
67 'password_manager/core/browser/login_database.cc',
68 'password_manager/core/browser/login_database.h',
69 'password_manager/core/browser/login_database_mac.cc',
70 'password_manager/core/browser/login_database_posix.cc',
71 'password_manager/core/browser/login_database_win.cc',
72 'password_manager/core/browser/login_model.h',
73 'password_manager/core/browser/password_autofill_manager.cc',
74 'password_manager/core/browser/password_autofill_manager.h',
75 'password_manager/core/browser/password_bubble_experiment.cc',
76 'password_manager/core/browser/password_bubble_experiment.h',
77 'password_manager/core/browser/password_form_manager.cc',
78 'password_manager/core/browser/password_form_manager.h',
79 'password_manager/core/browser/password_generation_manager.cc',
80 'password_manager/core/browser/password_generation_manager.h',
81 'password_manager/core/browser/password_manager.cc',
82 'password_manager/core/browser/password_manager.h',
83 'password_manager/core/browser/password_manager_client.cc',
84 'password_manager/core/browser/password_manager_client.h',
85 'password_manager/core/browser/password_manager_driver.h',
86 'password_manager/core/browser/password_manager_internals_service.cc',
87 'password_manager/core/browser/password_manager_internals_service.h',
88 'password_manager/core/browser/password_manager_metrics_util.cc',
89 'password_manager/core/browser/password_manager_metrics_util.h',
90 'password_manager/core/browser/password_manager_util.cc',
91 'password_manager/core/browser/password_manager_util.h',
92 'password_manager/core/browser/password_store.cc',
93 'password_manager/core/browser/password_store.h',
94 'password_manager/core/browser/password_store_change.h',
95 'password_manager/core/browser/password_store_consumer.cc',
96 'password_manager/core/browser/password_store_consumer.h',
97 'password_manager/core/browser/password_store_default.cc',
98 'password_manager/core/browser/password_store_default.h',
99 'password_manager/core/browser/password_store_sync.cc',
100 'password_manager/core/browser/password_store_sync.h',
101 'password_manager/core/browser/password_syncable_service.cc',
102 'password_manager/core/browser/password_syncable_service.h',
103 'password_manager/core/browser/psl_matching_helper.cc',
104 'password_manager/core/browser/psl_matching_helper.h',
105 'password_manager/core/browser/statistics_table.cc',
106 'password_manager/core/browser/statistics_table.h',
107 'password_manager/core/browser/store_result_filter.h',
108 'password_manager/core/browser/test_affiliation_fetcher_factory.h',
109 'password_manager/core/browser/webdata/logins_table.cc',
110 'password_manager/core/browser/webdata/logins_table.h',
111 'password_manager/core/browser/webdata/logins_table_win.cc',
112 'password_manager/core/browser/webdata/password_web_data_service_win.cc',
113 'password_manager/core/browser/webdata/password_web_data_service_win.h',
118 # TODO(blundell): Provide the iOS login DB implementation and then
119 # also exclude the POSIX one from iOS. http://crbug.com/341429
120 'password_manager/core/browser/login_database_posix.cc',
124 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
125 'msvs_disabled_warnings': [ 4267, ],
128 # GN version: //components/password_manager/core/browser:proto
129 'target_name': 'password_manager_core_browser_proto',
130 'type': 'static_library',
132 'password_manager/core/browser/affiliation_api.proto'
135 'proto_in_dir': 'password_manager/core/browser',
136 'proto_out_dir': 'components/password_manager/core/browser',
138 'includes': ['../build/protoc.gypi'],
141 # GN version: //components/password_manager/core/browser:test_support
142 'target_name': 'password_manager_core_browser_test_support',
143 'type': 'static_library',
145 'autofill_core_common',
146 '../base/base.gyp:base',
147 '../testing/gmock.gyp:gmock',
148 '../testing/gtest.gyp:gtest',
154 # Note: sources list duplicated in GN build.
155 'password_manager/core/browser/fake_affiliation_api.cc',
156 'password_manager/core/browser/fake_affiliation_api.h',
157 'password_manager/core/browser/fake_affiliation_fetcher.cc',
158 'password_manager/core/browser/fake_affiliation_fetcher.h',
159 'password_manager/core/browser/mock_affiliation_consumer.cc',
160 'password_manager/core/browser/mock_affiliation_consumer.h',
161 'password_manager/core/browser/mock_password_store.cc',
162 'password_manager/core/browser/mock_password_store.h',
163 'password_manager/core/browser/password_manager_test_utils.cc',
164 'password_manager/core/browser/password_manager_test_utils.h',
165 'password_manager/core/browser/stub_password_manager_client.cc',
166 'password_manager/core/browser/stub_password_manager_client.h',
167 'password_manager/core/browser/stub_password_manager_driver.cc',
168 'password_manager/core/browser/stub_password_manager_driver.h',
169 'password_manager/core/browser/test_password_store.cc',
170 'password_manager/core/browser/test_password_store.h',
174 # GN version: //components/password_manager/core/common
175 'target_name': 'password_manager_core_common',
176 'type': 'static_library',
178 '../base/base.gyp:base',
184 # Note: sources list duplicated in GN build.
185 'password_manager/core/common/credential_manager_types.cc',
186 'password_manager/core/common/credential_manager_types.h',
187 'password_manager/core/common/experiments.cc',
188 'password_manager/core/common/experiments.h',
189 'password_manager/core/common/password_manager_pref_names.cc',
190 'password_manager/core/common/password_manager_pref_names.h',
191 'password_manager/core/common/password_manager_switches.cc',
192 'password_manager/core/common/password_manager_switches.h',
193 'password_manager/core/common/password_manager_ui.h',
197 # GN version: //components/password_manager/sync/browser
198 'target_name': 'password_manager_sync_browser',
199 'type': 'static_library',
201 '../base/base.gyp:base',
202 '../google_apis/google_apis.gyp:google_apis',
203 '../net/net.gyp:net',
204 'autofill_core_common',
205 'password_manager_core_browser',
211 # Note: sources list duplicated in GN build.
212 'password_manager/sync/browser/sync_store_result_filter.cc',
213 'password_manager/sync/browser/sync_store_result_filter.h',
221 # GN version: //components/password_manager/content/common
222 'target_name': 'password_manager_content_common',
223 'type': 'static_library',
225 '../base/base.gyp:base',
226 '../content/content.gyp:content_common',
227 '../ipc/ipc.gyp:ipc',
228 '../third_party/WebKit/public/blink.gyp:blink_minimal',
229 'password_manager_core_common',
235 'password_manager/content/common/credential_manager_content_utils.cc',
236 'password_manager/content/common/credential_manager_content_utils.h',
237 'password_manager/content/common/credential_manager_message_generator.cc',
238 'password_manager/content/common/credential_manager_message_generator.h',
239 'password_manager/content/common/credential_manager_messages.h',
243 # GN version: //components/password_manager/content/renderer
244 'target_name': 'password_manager_content_renderer',
245 'type': 'static_library',
247 '../base/base.gyp:base',
248 '../content/content.gyp:content_common',
249 '../ipc/ipc.gyp:ipc',
250 '../third_party/WebKit/public/blink.gyp:blink',
251 'password_manager_core_common',
252 'password_manager_content_common',
258 'password_manager/content/renderer/credential_manager_client.cc',
259 'password_manager/content/renderer/credential_manager_client.h',
263 # GN version: //components/password_manager/content/browser
264 'target_name': 'password_manager_content_browser',
265 'type': 'static_library',
267 '../base/base.gyp:base',
268 '../content/content.gyp:content_browser',
269 '../content/content.gyp:content_common',
270 '../ipc/ipc.gyp:ipc',
271 '../net/net.gyp:net',
272 'autofill_content_browser',
273 'autofill_content_common',
274 'autofill_core_common',
275 'keyed_service_content',
276 'password_manager_core_browser',
277 'password_manager_content_common',
283 # Note: sources list duplicated in GN build.
284 'password_manager/content/browser/bad_message.cc',
285 'password_manager/content/browser/bad_message.h',
286 'password_manager/content/browser/content_password_manager_driver.cc',
287 'password_manager/content/browser/content_password_manager_driver.h',
288 'password_manager/content/browser/content_password_manager_driver_factory.cc',
289 'password_manager/content/browser/content_password_manager_driver_factory.h',
290 'password_manager/content/browser/credential_manager_dispatcher.cc',
291 'password_manager/content/browser/credential_manager_dispatcher.h',
292 'password_manager/content/browser/password_manager_internals_service_factory.cc',
293 'password_manager/content/browser/password_manager_internals_service_factory.h',