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_manager_metrics_util.cc',
30 'password_manager/core/browser/password_manager_metrics_util.h',
31 'password_manager/core/browser/password_store.cc',
32 'password_manager/core/browser/password_store.h',
33 'password_manager/core/browser/password_store_change.h',
34 'password_manager/core/browser/password_store_consumer.cc',
35 'password_manager/core/browser/password_store_consumer.h',
36 'password_manager/core/browser/password_store_default.cc',
37 'password_manager/core/browser/password_store_default.h',
38 'password_manager/core/browser/psl_matching_helper.cc',
39 'password_manager/core/browser/psl_matching_helper.h',
43 ['android_webview_build == 1', {
44 # Android WebView doesn't support sync.
45 'password_manager_enable_sync%': 0,
47 'password_manager_enable_sync%': 1,
54 # TODO(blundell): Provide the iOS login DB implementation and then
55 # also exclude the POSIX one from iOS. http://crbug.com/341429
56 'password_manager/core/browser/login_database_posix.cc',
59 ['password_manager_enable_sync == 1', {
61 'PASSWORD_MANAGER_ENABLE_SYNC',
64 '../sync/sync.gyp:sync',
66 'direct_dependent_settings': {
68 'PASSWORD_MANAGER_ENABLE_SYNC',
72 'password_manager/core/browser/password_syncable_service.cc',
73 'password_manager/core/browser/password_syncable_service.h',
77 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
78 'msvs_disabled_warnings': [ 4267, ],
81 'target_name': 'password_manager_core_browser_test_support',
82 'type': 'static_library',
84 'autofill_core_common',
85 '../base/base.gyp:base',
86 '../testing/gmock.gyp:gmock',
87 '../testing/gtest.gyp:gtest',
93 'password_manager/core/browser/mock_password_store.cc',
94 'password_manager/core/browser/mock_password_store.h',
95 'password_manager/core/browser/password_form_data.cc',
96 'password_manager/core/browser/password_form_data.h',
97 'password_manager/core/browser/test_password_store.cc',
98 'password_manager/core/browser/test_password_store.h',
102 'target_name': 'password_manager_core_common',
103 'type': 'static_library',
110 'password_manager/core/common/password_manager_pref_names.cc',
111 'password_manager/core/common/password_manager_pref_names.h',
112 'password_manager/core/common/password_manager_switches.cc',
113 'password_manager/core/common/password_manager_switches.h',