Remove broken closed push logic in SpdyHttpStream::SendRequest()
[chromium-blink-merge.git] / components / password_manager.gypi
blob748536b90b67f412652d51c4ab4773e0da4530a7
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.
6   'targets': [
7     {
8       'target_name': 'password_manager_core_browser',
9       'type': 'static_library',
10       'dependencies': [
11         'autofill_core_common',
12         'encryptor',
13         'password_manager_core_common',
14         '../base/base.gyp:base',
15         '../net/net.gyp:net',
16         '../sql/sql.gyp:sql',
17         '../url/url.gyp:url_lib',
18       ],
19       'include_dirs': [
20         '..',
21       ],
22       'sources': [
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',
50       ],
51       'variables': {
52         'conditions': [
53           ['android_webview_build == 1', {
54             # Android WebView doesn't support sync.
55             'password_manager_enable_sync%': 0,
56           }, {
57             'password_manager_enable_sync%': 1,
58           }],
59         ],
60       },
61       'conditions': [
62         ['OS=="mac"', {
63           'sources!': [
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',
67           ],
68         }],
69         ['password_manager_enable_sync == 1', {
70           'defines': [
71             'PASSWORD_MANAGER_ENABLE_SYNC',
72           ],
73           'dependencies': [
74             '../sync/sync.gyp:sync',
75           ],
76           'direct_dependent_settings': {
77             'defines': [
78               'PASSWORD_MANAGER_ENABLE_SYNC',
79             ],
80           },
81           'sources': [
82             'password_manager/core/browser/password_syncable_service.cc',
83             'password_manager/core/browser/password_syncable_service.h',
84           ],
85         }],
86       ],
87       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
88       'msvs_disabled_warnings': [ 4267, ],
89     },
90     {
91       'target_name': 'password_manager_core_browser_test_support',
92       'type': 'static_library',
93       'dependencies': [
94         'autofill_core_common',
95         '../base/base.gyp:base',
96         '../testing/gmock.gyp:gmock',
97         '../testing/gtest.gyp:gtest',
98       ],
99       'include_dirs': [
100         '..',
101       ],
102       'sources': [
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',
109       ],
110     },
111     {
112       'target_name': 'password_manager_core_common',
113       'type': 'static_library',
114       'dependencies': [
115       ],
116       'include_dirs': [
117         '..',
118       ],
119       'sources': [
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',
124       ],
125     },
126   ],
127   'conditions': [
128     ['OS != "ios"', {
129       'targets': [
130         {
131           'target_name': 'password_manager_content_browser',
132           'type': 'static_library',
133           'dependencies': [
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',
143           ],
144           'include_dirs': [
145             '..',
146           ],
147           'sources': [
148             'password_manager/content/browser/content_password_manager_driver.cc',
149             'password_manager/content/browser/content_password_manager_driver.h',
150           ],
151         },
152       ],
153     }],
154   ],