Promote methods to register and revoke blob urls to public so they may be used to...
[chromium-blink-merge.git] / components / webdata.gypi
blobf728c211010015f8d077797bb22106c2e673c8ab
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_service.cc',
58         'webdata/common/web_database_service.h',
59         'webdata/common/web_database_table.cc',
60         'webdata/common/web_database_table.h',
61         'webdata/common/web_data_request_manager.cc',
62         'webdata/common/web_data_request_manager.h',
63         'webdata/common/web_data_results.h',
64         'webdata/common/web_data_service_backend.cc',
65         'webdata/common/web_data_service_backend.h',
66         'webdata/common/web_data_service_base.cc',
67         'webdata/common/web_data_service_base.h',
68         'webdata/common/web_data_service_consumer.h',
69         'webdata/common/webdata_constants.cc',
70         'webdata/common/webdata_constants.h',
71         'webdata/common/webdata_export.h'
72       ],
73     },
74   ],