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',
17 'password_manager_core_common',
23 'password_manager/core/browser/browser_save_password_progress_logger.cc',
24 'password_manager/core/browser/browser_save_password_progress_logger.h',
25 'password_manager/core/browser/login_database.cc',
26 'password_manager/core/browser/login_database.h',
27 'password_manager/core/browser/login_database_mac.cc',
28 'password_manager/core/browser/login_database_posix.cc',
29 'password_manager/core/browser/login_database_win.cc',
30 'password_manager/core/browser/login_model.h',
31 'password_manager/core/browser/password_autofill_manager.cc',
32 'password_manager/core/browser/password_autofill_manager.h',
33 'password_manager/core/browser/password_form_manager.cc',
34 'password_manager/core/browser/password_form_manager.h',
35 'password_manager/core/browser/password_generation_manager.cc',
36 'password_manager/core/browser/password_generation_manager.h',
37 'password_manager/core/browser/password_manager.cc',
38 'password_manager/core/browser/password_manager.h',
39 'password_manager/core/browser/password_manager_client.cc',
40 'password_manager/core/browser/password_manager_client.h',
41 'password_manager/core/browser/password_manager_driver.h',
42 'password_manager/core/browser/password_manager_logger.h',
43 'password_manager/core/browser/password_manager_metrics_util.cc',
44 'password_manager/core/browser/password_manager_metrics_util.h',
45 'password_manager/core/browser/password_store.cc',
46 'password_manager/core/browser/password_store.h',
47 'password_manager/core/browser/password_store_change.h',
48 'password_manager/core/browser/password_store_consumer.cc',
49 'password_manager/core/browser/password_store_consumer.h',
50 'password_manager/core/browser/password_store_default.cc',
51 'password_manager/core/browser/password_store_default.h',
52 'password_manager/core/browser/psl_matching_helper.cc',
53 'password_manager/core/browser/psl_matching_helper.h',
57 ['android_webview_build == 1', {
58 # Android WebView doesn't support sync.
59 'password_manager_enable_sync%': 0,
61 'password_manager_enable_sync%': 1,
68 # TODO(blundell): Provide the iOS login DB implementation and then
69 # also exclude the POSIX one from iOS. http://crbug.com/341429
70 'password_manager/core/browser/login_database_posix.cc',
73 ['password_manager_enable_sync == 1', {
75 'PASSWORD_MANAGER_ENABLE_SYNC',
78 '../sync/sync.gyp:sync',
80 'direct_dependent_settings': {
82 'PASSWORD_MANAGER_ENABLE_SYNC',
86 'password_manager/core/browser/password_syncable_service.cc',
87 'password_manager/core/browser/password_syncable_service.h',
91 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
92 'msvs_disabled_warnings': [ 4267, ],
95 'target_name': 'password_manager_core_browser_test_support',
96 'type': 'static_library',
98 'autofill_core_common',
99 '../base/base.gyp:base',
100 '../testing/gmock.gyp:gmock',
101 '../testing/gtest.gyp:gtest',
107 'password_manager/core/browser/mock_password_manager_driver.cc',
108 'password_manager/core/browser/mock_password_manager_driver.h',
109 'password_manager/core/browser/mock_password_store.cc',
110 'password_manager/core/browser/mock_password_store.h',
111 'password_manager/core/browser/password_form_data.cc',
112 'password_manager/core/browser/password_form_data.h',
113 'password_manager/core/browser/stub_password_manager_client.cc',
114 'password_manager/core/browser/stub_password_manager_client.h',
115 'password_manager/core/browser/test_password_store.cc',
116 'password_manager/core/browser/test_password_store.h',
120 'target_name': 'password_manager_core_common',
121 'type': 'static_library',
128 'password_manager/core/common/password_manager_pref_names.cc',
129 'password_manager/core/common/password_manager_pref_names.h',
130 'password_manager/core/common/password_manager_switches.cc',
131 'password_manager/core/common/password_manager_switches.h',
139 'target_name': 'password_manager_content_browser',
140 'type': 'static_library',
142 'autofill_content_browser',
143 'autofill_content_common',
144 'autofill_core_common',
145 'password_manager_core_browser',
146 '../base/base.gyp:base',
147 '../content/content.gyp:content_browser',
148 '../content/content.gyp:content_common',
149 '../ipc/ipc.gyp:ipc',
150 '../net/net.gyp:net',
156 'password_manager/content/browser/content_password_manager_driver.cc',
157 'password_manager/content/browser/content_password_manager_driver.h',