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',
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/export/csv_writer.cc',
50 'password_manager/core/browser/export/csv_writer.h',
51 'password_manager/core/browser/facet_manager.cc',
52 'password_manager/core/browser/facet_manager.h',
53 'password_manager/core/browser/facet_manager_host.h',
54 'password_manager/core/browser/import/csv_reader.cc',
55 'password_manager/core/browser/import/csv_reader.h',
56 'password_manager/core/browser/log_receiver.h',
57 'password_manager/core/browser/log_router.cc',
58 'password_manager/core/browser/log_router.h',
59 'password_manager/core/browser/login_database.cc',
60 'password_manager/core/browser/login_database.h',
61 'password_manager/core/browser/login_database_mac.cc',
62 'password_manager/core/browser/login_database_posix.cc',
63 'password_manager/core/browser/login_database_win.cc',
64 'password_manager/core/browser/login_model.h',
65 'password_manager/core/browser/password_autofill_manager.cc',
66 'password_manager/core/browser/password_autofill_manager.h',
67 'password_manager/core/browser/password_form_manager.cc',
68 'password_manager/core/browser/password_form_manager.h',
69 'password_manager/core/browser/password_generation_manager.cc',
70 'password_manager/core/browser/password_generation_manager.h',
71 'password_manager/core/browser/password_manager.cc',
72 'password_manager/core/browser/password_manager.h',
73 'password_manager/core/browser/password_manager_client.cc',
74 'password_manager/core/browser/password_manager_client.h',
75 'password_manager/core/browser/password_manager_driver.h',
76 'password_manager/core/browser/password_manager_internals_service.cc',
77 'password_manager/core/browser/password_manager_internals_service.h',
78 'password_manager/core/browser/password_manager_metrics_util.cc',
79 'password_manager/core/browser/password_manager_metrics_util.h',
80 'password_manager/core/browser/password_store.cc',
81 'password_manager/core/browser/password_store.h',
82 'password_manager/core/browser/password_store_change.h',
83 'password_manager/core/browser/password_store_consumer.cc',
84 'password_manager/core/browser/password_store_consumer.h',
85 'password_manager/core/browser/password_store_default.cc',
86 'password_manager/core/browser/password_store_default.h',
87 'password_manager/core/browser/password_store_sync.cc',
88 'password_manager/core/browser/password_store_sync.h',
89 'password_manager/core/browser/password_syncable_service.cc',
90 'password_manager/core/browser/password_syncable_service.h',
91 'password_manager/core/browser/psl_matching_helper.cc',
92 'password_manager/core/browser/psl_matching_helper.h',
93 'password_manager/core/browser/statistics_table.cc',
94 'password_manager/core/browser/statistics_table.h',
95 'password_manager/core/browser/test_affiliation_fetcher_factory.h',
96 'password_manager/core/browser/webdata/logins_table.cc',
97 'password_manager/core/browser/webdata/logins_table.h',
98 'password_manager/core/browser/webdata/logins_table_win.cc',
99 'password_manager/core/browser/webdata/password_web_data_service_win.cc',
100 'password_manager/core/browser/webdata/password_web_data_service_win.h',
105 # TODO(blundell): Provide the iOS login DB implementation and then
106 # also exclude the POSIX one from iOS. http://crbug.com/341429
107 'password_manager/core/browser/login_database_posix.cc',
111 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
112 'msvs_disabled_warnings': [ 4267, ],
115 # GN version: //components/password_manager/core/browser:proto
116 'target_name': 'password_manager_core_browser_proto',
117 'type': 'static_library',
119 'password_manager/core/browser/affiliation_api.proto'
122 'proto_in_dir': 'password_manager/core/browser',
123 'proto_out_dir': 'components/password_manager/core/browser',
125 'includes': ['../build/protoc.gypi'],
128 # GN version: //components/password_manager/core/browser:test_support
129 'target_name': 'password_manager_core_browser_test_support',
130 'type': 'static_library',
132 'autofill_core_common',
133 '../base/base.gyp:base',
134 '../testing/gmock.gyp:gmock',
135 '../testing/gtest.gyp:gtest',
141 # Note: sources list duplicated in GN build.
142 'password_manager/core/browser/fake_affiliation_api.cc',
143 'password_manager/core/browser/fake_affiliation_api.h',
144 'password_manager/core/browser/fake_affiliation_fetcher.cc',
145 'password_manager/core/browser/fake_affiliation_fetcher.h',
146 'password_manager/core/browser/mock_affiliation_consumer.cc',
147 'password_manager/core/browser/mock_affiliation_consumer.h',
148 'password_manager/core/browser/mock_password_store.cc',
149 'password_manager/core/browser/mock_password_store.h',
150 'password_manager/core/browser/password_manager_test_utils.cc',
151 'password_manager/core/browser/password_manager_test_utils.h',
152 'password_manager/core/browser/stub_password_manager_client.cc',
153 'password_manager/core/browser/stub_password_manager_client.h',
154 'password_manager/core/browser/stub_password_manager_driver.cc',
155 'password_manager/core/browser/stub_password_manager_driver.h',
156 'password_manager/core/browser/test_password_store.cc',
157 'password_manager/core/browser/test_password_store.h',
161 # GN version: //components/password_manager/core/common
162 'target_name': 'password_manager_core_common',
163 'type': 'static_library',
165 '../base/base.gyp:base',
171 # Note: sources list duplicated in GN build.
172 'password_manager/core/common/credential_manager_types.cc',
173 'password_manager/core/common/credential_manager_types.h',
174 'password_manager/core/common/experiments.cc',
175 'password_manager/core/common/experiments.h',
176 'password_manager/core/common/password_manager_pref_names.cc',
177 'password_manager/core/common/password_manager_pref_names.h',
178 'password_manager/core/common/password_manager_switches.cc',
179 'password_manager/core/common/password_manager_switches.h',
180 'password_manager/core/common/password_manager_ui.h',
188 # GN version: //components/password_manager/content/common
189 'target_name': 'password_manager_content_common',
190 'type': 'static_library',
192 '../base/base.gyp:base',
193 '../content/content.gyp:content_common',
194 '../ipc/ipc.gyp:ipc',
195 '../third_party/WebKit/public/blink.gyp:blink_minimal',
196 'password_manager_core_common',
202 'password_manager/content/common/credential_manager_content_utils.cc',
203 'password_manager/content/common/credential_manager_content_utils.h',
204 'password_manager/content/common/credential_manager_message_generator.cc',
205 'password_manager/content/common/credential_manager_message_generator.h',
206 'password_manager/content/common/credential_manager_messages.h',
210 # GN version: //components/password_manager/content/renderer
211 'target_name': 'password_manager_content_renderer',
212 'type': 'static_library',
214 '../base/base.gyp:base',
215 '../content/content.gyp:content_common',
216 '../ipc/ipc.gyp:ipc',
217 '../third_party/WebKit/public/blink.gyp:blink',
218 'password_manager_core_common',
219 'password_manager_content_common',
225 'password_manager/content/renderer/credential_manager_client.cc',
226 'password_manager/content/renderer/credential_manager_client.h',
230 # GN version: //components/password_manager/content/browser
231 'target_name': 'password_manager_content_browser',
232 'type': 'static_library',
234 '../base/base.gyp:base',
235 '../content/content.gyp:content_browser',
236 '../content/content.gyp:content_common',
237 '../ipc/ipc.gyp:ipc',
238 '../net/net.gyp:net',
239 'autofill_content_browser',
240 'autofill_content_common',
241 'autofill_core_common',
242 'keyed_service_content',
243 'password_manager_core_browser',
244 'password_manager_content_common',
250 # Note: sources list duplicated in GN build.
251 'password_manager/content/browser/content_password_manager_driver.cc',
252 'password_manager/content/browser/content_password_manager_driver.h',
253 'password_manager/content/browser/content_password_manager_driver_factory.cc',
254 'password_manager/content/browser/content_password_manager_driver_factory.h',
255 'password_manager/content/browser/credential_manager_dispatcher.cc',
256 'password_manager/content/browser/credential_manager_dispatcher.h',
257 'password_manager/content/browser/credential_manager_password_form_manager.cc',
258 'password_manager/content/browser/credential_manager_password_form_manager.h',
259 'password_manager/content/browser/password_manager_internals_service_factory.cc',
260 'password_manager/content/browser/password_manager_internals_service_factory.h',