Fix crash when creating a profile during signin.
[chromium-blink-merge.git] / components / webdata.gypi
blobd9184222438755c1a114d140858e3693566eb3b7
1 # Copyright (c) 2013 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': 'encryptor',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../crypto/crypto.gyp:crypto',
16       ],
17       'sources': [
18         'webdata/encryptor/encryptor.h',
19         'webdata/encryptor/encryptor_mac.mm',
20         'webdata/encryptor/encryptor_password_mac.h',
21         'webdata/encryptor/encryptor_password_mac.mm',
22         'webdata/encryptor/encryptor_posix.cc',
23         'webdata/encryptor/encryptor_win.cc',
24         'webdata/encryptor/ie7_password.cc',
25         'webdata/encryptor/ie7_password.h',
26       ],
27       'conditions': [
28         ['OS!="win"', {
29           'sources!': [
30             'webdata/encryptor/ie7_password.cc'
31           ],
32         }],
33         ['OS=="mac"', {
34           'sources!': [
35             'webdata/encryptor/encryptor_posix.cc',
36           ],
37         }],
38       ],
39     },
40     {
41       'target_name': 'webdata_common',
42       'type': '<(component)',
43       'include_dirs': [
44         '..',
45       ],
46       'dependencies': [
47         '../base/base.gyp:base',
48         '../content/content.gyp:content_browser',
49         '../sql/sql.gyp:sql',
50       ],
51       'defines': [
52         'WEBDATA_IMPLEMENTATION',
53       ],
54       'sources': [
55         'webdata/common/web_database.cc',
56         'webdata/common/web_database.h',
57         'webdata/common/web_database_observer.h',
58         'webdata/common/web_database_service.cc',
59         'webdata/common/web_database_service.h',
60         'webdata/common/web_database_table.cc',
61         'webdata/common/web_database_table.h',
62         'webdata/common/web_data_request_manager.cc',
63         'webdata/common/web_data_request_manager.h',
64         'webdata/common/web_data_results.h',
65         'webdata/common/web_data_service_backend.cc',
66         'webdata/common/web_data_service_backend.h',
67         'webdata/common/web_data_service_base.cc',
68         'webdata/common/web_data_service_base.h',
69         'webdata/common/web_data_service_consumer.h',
70         'webdata/common/webdata_constants.cc',
71         'webdata/common/webdata_constants.h',
72         'webdata/common/webdata_export.h'
73       ],
74     },
75   ],