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 'target_name': 'password_manager_core_browser',
9 'type': 'static_library',
11 '../base/base.gyp:base',
14 '../url/url.gyp:url_lib',
15 'autofill_core_common',
18 'password_manager_core_common',
24 'password_manager/core/browser/browser_save_password_progress_logger.cc',
25 'password_manager/core/browser/browser_save_password_progress_logger.h',
26 'password_manager/core/browser/log_receiver.h',
27 'password_manager/core/browser/log_router.cc',
28 'password_manager/core/browser/log_router.h',
29 'password_manager/core/browser/login_database.cc',
30 'password_manager/core/browser/login_database.h',
31 'password_manager/core/browser/login_database_mac.cc',
32 'password_manager/core/browser/login_database_posix.cc',
33 'password_manager/core/browser/login_database_win.cc',
34 'password_manager/core/browser/login_model.h',
35 'password_manager/core/browser/password_autofill_manager.cc',
36 'password_manager/core/browser/password_autofill_manager.h',
37 'password_manager/core/browser/password_form_manager.cc',
38 'password_manager/core/browser/password_form_manager.h',
39 'password_manager/core/browser/password_generation_manager.cc',
40 'password_manager/core/browser/password_generation_manager.h',
41 'password_manager/core/browser/password_manager.cc',
42 'password_manager/core/browser/password_manager.h',
43 'password_manager/core/browser/password_manager_client.cc',
44 'password_manager/core/browser/password_manager_client.h',
45 'password_manager/core/browser/password_manager_driver.h',
46 'password_manager/core/browser/password_manager_internals_service.cc',
47 'password_manager/core/browser/password_manager_internals_service.h',
48 'password_manager/core/browser/password_manager_metrics_util.cc',
49 'password_manager/core/browser/password_manager_metrics_util.h',
50 'password_manager/core/browser/password_store.cc',
51 'password_manager/core/browser/password_store.h',
52 'password_manager/core/browser/password_store_change.h',
53 'password_manager/core/browser/password_store_consumer.cc',
54 'password_manager/core/browser/password_store_consumer.h',
55 'password_manager/core/browser/password_store_default.cc',
56 'password_manager/core/browser/password_store_default.h',
57 'password_manager/core/browser/password_store_sync.cc',
58 'password_manager/core/browser/password_store_sync.h',
59 'password_manager/core/browser/psl_matching_helper.cc',
60 'password_manager/core/browser/psl_matching_helper.h',
64 ['android_webview_build == 1', {
65 # Android WebView doesn't support sync.
66 'password_manager_enable_sync%': 0,
68 'password_manager_enable_sync%': 1,
75 # TODO(blundell): Provide the iOS login DB implementation and then
76 # also exclude the POSIX one from iOS. http://crbug.com/341429
77 'password_manager/core/browser/login_database_posix.cc',
80 ['password_manager_enable_sync == 1', {
82 'PASSWORD_MANAGER_ENABLE_SYNC',
85 '../sync/sync.gyp:sync',
87 'direct_dependent_settings': {
89 'PASSWORD_MANAGER_ENABLE_SYNC',
93 'password_manager/core/browser/password_syncable_service.cc',
94 'password_manager/core/browser/password_syncable_service.h',
98 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
99 'msvs_disabled_warnings': [ 4267, ],
102 'target_name': 'password_manager_core_browser_test_support',
103 'type': 'static_library',
105 'autofill_core_common',
106 '../base/base.gyp:base',
107 '../testing/gmock.gyp:gmock',
108 '../testing/gtest.gyp:gtest',
114 'password_manager/core/browser/mock_password_store.cc',
115 'password_manager/core/browser/mock_password_store.h',
116 'password_manager/core/browser/password_form_data.cc',
117 'password_manager/core/browser/password_form_data.h',
118 'password_manager/core/browser/stub_password_manager_client.cc',
119 'password_manager/core/browser/stub_password_manager_client.h',
120 'password_manager/core/browser/stub_password_manager_driver.cc',
121 'password_manager/core/browser/stub_password_manager_driver.h',
122 'password_manager/core/browser/test_password_store.cc',
123 'password_manager/core/browser/test_password_store.h',
127 'target_name': 'password_manager_core_common',
128 'type': 'static_library',
135 'password_manager/core/common/password_manager_pref_names.cc',
136 'password_manager/core/common/password_manager_pref_names.h',
137 'password_manager/core/common/password_manager_switches.cc',
138 'password_manager/core/common/password_manager_switches.h',
139 'password_manager/core/common/password_manager_ui.cc',
140 'password_manager/core/common/password_manager_ui.h',
148 'target_name': 'password_manager_content_browser',
149 'type': 'static_library',
151 'autofill_content_browser',
152 'autofill_content_common',
153 'autofill_core_common',
154 'keyed_service_content',
155 'password_manager_core_browser',
156 '../base/base.gyp:base',
157 '../content/content.gyp:content_browser',
158 '../content/content.gyp:content_common',
159 '../ipc/ipc.gyp:ipc',
160 '../net/net.gyp:net',
166 'password_manager/content/browser/content_password_manager_driver.cc',
167 'password_manager/content/browser/content_password_manager_driver.h',
168 'password_manager/content/browser/password_manager_internals_service_factory.cc',
169 'password_manager/content/browser/password_manager_internals_service_factory.h',