Upstream version 9.37.193.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / xwalk_application_common.gypi
1 {
2 'targets': [
3     {
4       'target_name': 'xwalk_application_common_lib',
5       'type': 'static_library',
6       'dependencies': [
7         '../../../base/base.gyp:base',
8         '../../../base/base.gyp:base_i18n',
9         '../../../content/content.gyp:content_common',
10         '../../../crypto/crypto.gyp:crypto',
11         '../../../net/net.gyp:net',
12         '../../../sql/sql.gyp:sql',
13         '../../../url/url.gyp:url_lib',
14         '../../../third_party/libxml/libxml.gyp:libxml',
15         '../../../third_party/zlib/google/zip.gyp:zip',
16       ],
17       'sources': [
18         'application_storage.cc',
19         'application_storage.h',
20
21         'application_data.cc',
22         'application_data.h',
23         'application_file_util.cc',
24         'application_file_util.h',
25         'application_manifest_constants.cc',
26         'application_manifest_constants.h',
27         'application_resource.cc',
28         'application_resource.h',
29         'application_storage_constants.cc',
30         'application_storage_constants.h',
31         'constants.cc',
32         'constants.h',
33         'id_util.cc',
34         'id_util.h',
35         'install_warning.h',
36         'manifest.cc',
37         'manifest.h',
38         'manifest_handler.cc',
39         'manifest_handler.h',
40         'manifest_handlers/csp_handler.cc',
41         'manifest_handlers/csp_handler.h',
42         'manifest_handlers/permissions_handler.cc',
43         'manifest_handlers/permissions_handler.h',
44         'manifest_handlers/warp_handler.cc',
45         'manifest_handlers/warp_handler.h',
46         'manifest_handlers/widget_handler.cc',
47         'manifest_handlers/widget_handler.h',
48         'permission_policy_manager.cc',
49         'permission_policy_manager.h',
50         'permission_types.h',
51         'signature_types.h',
52
53         'installer/package.h',
54         'installer/package.cc',
55         'installer/package_installer.cc',
56         'installer/package_installer.h',
57         'installer/signature_data.h',
58         'installer/signature_data.cc',
59         'installer/signature_parser.h',
60         'installer/signature_parser.cc',
61         'installer/wgt_package.h',
62         'installer/wgt_package.cc',
63         'installer/xpk_package.cc',
64         'installer/xpk_package.h',
65       ],
66       'conditions': [
67         ['tizen==1', {
68           'dependencies': [
69             '../../build/system.gyp:tizen',
70             '../../tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
71             '../../../third_party/re2/re2.gyp:re2',
72           ],
73           'sources': [
74             'application_storage_impl_tizen.cc',
75             'application_storage_impl_tizen.h',
76             'manifest_handlers/navigation_handler.cc',
77             'manifest_handlers/navigation_handler.h',
78             'manifest_handlers/tizen_application_handler.cc',
79             'manifest_handlers/tizen_application_handler.h',
80             'manifest_handlers/tizen_metadata_handler.cc',
81             'manifest_handlers/tizen_metadata_handler.h',
82             'manifest_handlers/tizen_setting_handler.cc',
83             'manifest_handlers/tizen_setting_handler.h',
84             'manifest_handlers/tizen_splash_screen_handler.cc',
85             'manifest_handlers/tizen_splash_screen_handler.h',
86             'installer/package_installer_tizen.cc',
87             'installer/package_installer_tizen.h',
88             'installer/tizen/packageinfo_constants.cc',
89             'installer/tizen/packageinfo_constants.h',
90           ],
91         }, {
92         'sources': [
93             'application_storage_impl.cc',
94             'application_storage_impl.h',
95           ]
96         }],
97       ],
98       'include_dirs': [
99         '..',
100         '../..',
101         '../../..',
102       ],
103     },
104   ],
105 }