Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / components / webdata.gypi
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.
4
5 {
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_win.cc',
25         'webdata/encryptor/ie7_password_win.h',
26       ],
27       'conditions': [
28         ['OS=="mac"', {
29           'sources!': [
30             'webdata/encryptor/encryptor_posix.cc',
31           ],
32         }],
33       ],
34       'target_conditions': [
35         ['OS=="ios"', {
36           'sources/': [
37             ['include', '^webdata/encryptor/encryptor_mac\\.mm$'],
38             ['include', '^webdata/encryptor/encryptor_password_mac\\.mm$'],
39           ],
40         }],
41       ],
42     },
43     {
44       'target_name': 'webdata_common',
45       'type': '<(component)',
46       'include_dirs': [
47         '..',
48       ],
49       'dependencies': [
50         '../base/base.gyp:base',
51         '../content/content.gyp:content_browser',
52         '../sql/sql.gyp:sql',
53       ],
54       'defines': [
55         'WEBDATA_IMPLEMENTATION',
56       ],
57       'sources': [
58         'webdata/common/web_database.cc',
59         'webdata/common/web_database.h',
60         'webdata/common/web_database_service.cc',
61         'webdata/common/web_database_service.h',
62         'webdata/common/web_database_table.cc',
63         'webdata/common/web_database_table.h',
64         'webdata/common/web_data_request_manager.cc',
65         'webdata/common/web_data_request_manager.h',
66         'webdata/common/web_data_results.h',
67         'webdata/common/web_data_service_backend.cc',
68         'webdata/common/web_data_service_backend.h',
69         'webdata/common/web_data_service_base.cc',
70         'webdata/common/web_data_service_base.h',
71         'webdata/common/web_data_service_consumer.h',
72         'webdata/common/webdata_constants.cc',
73         'webdata/common/webdata_constants.h',
74         'webdata/common/webdata_export.h'
75       ],
76     },
77   ],
78 }