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 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
16 '../url/url.gyp:url_lib',
17 'autofill_core_common',
18 'components_strings.gyp:components_strings',
21 'password_manager_core_common',
22 'password_manager_core_browser_proto',
28 # Note: sources list duplicated in GN build.
29 'password_manager/core/browser/affiliation_fetcher_delegate.h',
30 'password_manager/core/browser/affiliation_fetcher.cc',
31 'password_manager/core/browser/affiliation_fetcher.h',
32 'password_manager/core/browser/affiliation_utils.cc',
33 'password_manager/core/browser/affiliation_utils.h',
34 'password_manager/core/browser/browser_save_password_progress_logger.cc',
35 'password_manager/core/browser/browser_save_password_progress_logger.h',
36 'password_manager/core/browser/credential_manager_dispatcher.h',
37 'password_manager/core/browser/log_receiver.h',
38 'password_manager/core/browser/log_router.cc',
39 'password_manager/core/browser/log_router.h',
40 'password_manager/core/browser/login_database.cc',
41 'password_manager/core/browser/login_database.h',
42 'password_manager/core/browser/login_database_mac.cc',
43 'password_manager/core/browser/login_database_posix.cc',
44 'password_manager/core/browser/login_database_win.cc',
45 'password_manager/core/browser/login_model.h',
46 'password_manager/core/browser/password_autofill_manager.cc',
47 'password_manager/core/browser/password_autofill_manager.h',
48 'password_manager/core/browser/password_form_manager.cc',
49 'password_manager/core/browser/password_form_manager.h',
50 'password_manager/core/browser/password_generation_manager.cc',
51 'password_manager/core/browser/password_generation_manager.h',
52 'password_manager/core/browser/password_manager.cc',
53 'password_manager/core/browser/password_manager.h',
54 'password_manager/core/browser/password_manager_client.cc',
55 'password_manager/core/browser/password_manager_client.h',
56 'password_manager/core/browser/password_manager_driver.h',
57 'password_manager/core/browser/password_manager_internals_service.cc',
58 'password_manager/core/browser/password_manager_internals_service.h',
59 'password_manager/core/browser/password_manager_metrics_util.cc',
60 'password_manager/core/browser/password_manager_metrics_util.h',
61 'password_manager/core/browser/password_manager_url_collection_experiment.cc',
62 'password_manager/core/browser/password_manager_url_collection_experiment.h',
63 'password_manager/core/browser/password_store.cc',
64 'password_manager/core/browser/password_store.h',
65 'password_manager/core/browser/password_store_change.h',
66 'password_manager/core/browser/password_store_consumer.cc',
67 'password_manager/core/browser/password_store_consumer.h',
68 'password_manager/core/browser/password_store_default.cc',
69 'password_manager/core/browser/password_store_default.h',
70 'password_manager/core/browser/password_store_sync.cc',
71 'password_manager/core/browser/password_store_sync.h',
72 'password_manager/core/browser/psl_matching_helper.cc',
73 'password_manager/core/browser/psl_matching_helper.h',
74 'password_manager/core/browser/webdata/logins_table.cc',
75 'password_manager/core/browser/webdata/logins_table.h',
76 'password_manager/core/browser/webdata/logins_table_win.cc',
77 'password_manager/core/browser/webdata/password_web_data_service_win.cc',
78 'password_manager/core/browser/webdata/password_web_data_service_win.h',
82 ['android_webview_build == 1', {
83 # Android WebView doesn't support sync.
84 'password_manager_enable_sync%': 0,
86 'password_manager_enable_sync%': 1,
93 # TODO(blundell): Provide the iOS login DB implementation and then
94 # also exclude the POSIX one from iOS. http://crbug.com/341429
95 'password_manager/core/browser/login_database_posix.cc',
98 ['password_manager_enable_sync == 1', {
100 'PASSWORD_MANAGER_ENABLE_SYNC',
103 '../sync/sync.gyp:sync',
105 'direct_dependent_settings': {
107 'PASSWORD_MANAGER_ENABLE_SYNC',
111 # Note: sources list duplicated in GN build.
112 'password_manager/core/browser/password_syncable_service.cc',
113 'password_manager/core/browser/password_syncable_service.h',
117 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
118 'msvs_disabled_warnings': [ 4267, ],
121 # GN version: //components/password_manager/core/browser:proto
122 'target_name': 'password_manager_core_browser_proto',
123 'type': 'static_library',
125 'password_manager/core/browser/affiliation_api.proto'
128 'proto_in_dir': 'password_manager/core/browser',
129 'proto_out_dir': 'components/password_manager/core/browser',
131 'includes': ['../build/protoc.gypi'],
134 # GN version: //components/password_manager/core/browser:test_support
135 'target_name': 'password_manager_core_browser_test_support',
136 'type': 'static_library',
138 'autofill_core_common',
139 '../base/base.gyp:base',
140 '../testing/gmock.gyp:gmock',
141 '../testing/gtest.gyp:gtest',
147 # Note: sources list duplicated in GN build.
148 'password_manager/core/browser/mock_password_store.cc',
149 'password_manager/core/browser/mock_password_store.h',
150 'password_manager/core/browser/password_form_data.cc',
151 'password_manager/core/browser/password_form_data.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/experiments.cc',
173 'password_manager/core/common/experiments.h',
174 'password_manager/core/common/password_manager_pref_names.cc',
175 'password_manager/core/common/password_manager_pref_names.h',
176 'password_manager/core/common/password_manager_switches.cc',
177 'password_manager/core/common/password_manager_switches.h',
178 'password_manager/core/common/password_manager_ui.cc',
179 'password_manager/core/common/password_manager_ui.h',
187 # GN version: //components/password_manager/content/common
188 'target_name': 'password_manager_content_common',
189 'type': 'static_library',
191 '../base/base.gyp:base',
192 '../content/content.gyp:content_common',
193 '../ipc/ipc.gyp:ipc',
194 '../third_party/WebKit/public/blink.gyp:blink_minimal',
195 'password_manager_core_common',
201 'password_manager/content/common/credential_manager_message_generator.cc',
202 'password_manager/content/common/credential_manager_message_generator.h',
203 'password_manager/content/common/credential_manager_messages.h',
204 'password_manager/content/common/credential_manager_types.cc',
205 'password_manager/content/common/credential_manager_types.h',
209 # GN version: //components/password_manager/content/renderer
210 'target_name': 'password_manager_content_renderer',
211 'type': 'static_library',
213 '../base/base.gyp:base',
214 '../content/content.gyp:content_common',
215 '../ipc/ipc.gyp:ipc',
216 '../third_party/WebKit/public/blink.gyp:blink',
217 'password_manager_core_common',
218 'password_manager_content_common',
224 'password_manager/content/renderer/credential_manager_client.cc',
225 'password_manager/content/renderer/credential_manager_client.h',
229 # GN version: //components/password_manager/content/browser
230 'target_name': 'password_manager_content_browser',
231 'type': 'static_library',
233 '../base/base.gyp:base',
234 '../content/content.gyp:content_browser',
235 '../content/content.gyp:content_common',
236 '../ipc/ipc.gyp:ipc',
237 '../net/net.gyp:net',
238 'autofill_content_browser',
239 'autofill_content_common',
240 'autofill_core_common',
241 'keyed_service_content',
242 'password_manager_core_browser',
243 'password_manager_content_common',
249 # Note: sources list duplicated in GN build.
250 'password_manager/content/browser/content_credential_manager_dispatcher.cc',
251 'password_manager/content/browser/content_credential_manager_dispatcher.h',
252 'password_manager/content/browser/content_password_manager_driver.cc',
253 'password_manager/content/browser/content_password_manager_driver.h',
254 'password_manager/content/browser/content_password_manager_driver_factory.cc',
255 'password_manager/content/browser/content_password_manager_driver_factory.h',
256 'password_manager/content/browser/credential_manager_password_form_manager.cc',
257 'password_manager/content/browser/credential_manager_password_form_manager.h',
258 'password_manager/content/browser/password_manager_internals_service_factory.cc',
259 'password_manager/content/browser/password_manager_internals_service_factory.h',