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 'autofill_core_common',
13 'password_manager_core_common',
14 '../base/base.gyp:base',
17 '../url/url.gyp:url_lib',
23 'password_manager/core/browser/login_database.cc',
24 'password_manager/core/browser/login_database.h',
25 'password_manager/core/browser/login_database_mac.cc',
26 'password_manager/core/browser/login_database_posix.cc',
27 'password_manager/core/browser/login_database_win.cc',
28 'password_manager/core/browser/login_model.h',
29 'password_manager/core/browser/password_form_manager.cc',
30 'password_manager/core/browser/password_form_manager.h',
31 'password_manager/core/browser/password_generation_manager.cc',
32 'password_manager/core/browser/password_generation_manager.h',
33 'password_manager/core/browser/password_manager.cc',
34 'password_manager/core/browser/password_manager.h',
35 'password_manager/core/browser/password_manager_client.cc',
36 'password_manager/core/browser/password_manager_client.h',
37 'password_manager/core/browser/password_manager_driver.h',
38 'password_manager/core/browser/password_manager_logger.h',
39 'password_manager/core/browser/password_manager_metrics_util.cc',
40 'password_manager/core/browser/password_manager_metrics_util.h',
41 'password_manager/core/browser/password_store.cc',
42 'password_manager/core/browser/password_store.h',
43 'password_manager/core/browser/password_store_change.h',
44 'password_manager/core/browser/password_store_consumer.cc',
45 'password_manager/core/browser/password_store_consumer.h',
46 'password_manager/core/browser/password_store_default.cc',
47 'password_manager/core/browser/password_store_default.h',
48 'password_manager/core/browser/psl_matching_helper.cc',
49 'password_manager/core/browser/psl_matching_helper.h',
53 ['android_webview_build == 1', {
54 # Android WebView doesn't support sync.
55 'password_manager_enable_sync%': 0,
57 'password_manager_enable_sync%': 1,
64 # TODO(blundell): Provide the iOS login DB implementation and then
65 # also exclude the POSIX one from iOS. http://crbug.com/341429
66 'password_manager/core/browser/login_database_posix.cc',
69 ['password_manager_enable_sync == 1', {
71 'PASSWORD_MANAGER_ENABLE_SYNC',
74 '../sync/sync.gyp:sync',
76 'direct_dependent_settings': {
78 'PASSWORD_MANAGER_ENABLE_SYNC',
82 'password_manager/core/browser/password_syncable_service.cc',
83 'password_manager/core/browser/password_syncable_service.h',
87 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
88 'msvs_disabled_warnings': [ 4267, ],
91 'target_name': 'password_manager_core_browser_test_support',
92 'type': 'static_library',
94 'autofill_core_common',
95 '../base/base.gyp:base',
96 '../testing/gmock.gyp:gmock',
97 '../testing/gtest.gyp:gtest',
103 'password_manager/core/browser/mock_password_store.cc',
104 'password_manager/core/browser/mock_password_store.h',
105 'password_manager/core/browser/password_form_data.cc',
106 'password_manager/core/browser/password_form_data.h',
107 'password_manager/core/browser/test_password_store.cc',
108 'password_manager/core/browser/test_password_store.h',
112 'target_name': 'password_manager_core_common',
113 'type': 'static_library',
120 'password_manager/core/common/password_manager_pref_names.cc',
121 'password_manager/core/common/password_manager_pref_names.h',
122 'password_manager/core/common/password_manager_switches.cc',
123 'password_manager/core/common/password_manager_switches.h',
131 'target_name': 'password_manager_content_browser',
132 'type': 'static_library',
134 'autofill_content_browser',
135 'autofill_content_common',
136 'autofill_core_common',
137 'password_manager_core_browser',
138 '../base/base.gyp:base',
139 '../content/content.gyp:content_browser',
140 '../content/content.gyp:content_common',
141 '../ipc/ipc.gyp:ipc',
142 '../net/net.gyp:net',
148 'password_manager/content/browser/content_password_manager_driver.cc',
149 'password_manager/content/browser/content_password_manager_driver.h',