cb7eca13ad61b1d0683fe80472dd7565b1def88a
[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_parser.h',
59         'installer/signature_parser.cc',
60         'installer/wgt_package.h',
61         'installer/wgt_package.cc',
62         'installer/xpk_package.cc',
63         'installer/xpk_package.h',
64       ],
65       'conditions': [
66         ['tizen==1', {
67           'dependencies': [
68             '../../build/system.gyp:tizen',
69             '../../tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
70             '../../../third_party/re2/re2.gyp:re2',
71           ],
72           'sources': [
73             'application_storage_impl_tizen.cc',
74             'application_storage_impl_tizen.h',
75             'manifest_handlers/navigation_handler.cc',
76             'manifest_handlers/navigation_handler.h',
77             'manifest_handlers/tizen_application_handler.cc',
78             'manifest_handlers/tizen_application_handler.h',
79             'manifest_handlers/tizen_metadata_handler.cc',
80             'manifest_handlers/tizen_metadata_handler.h',
81             'manifest_handlers/tizen_setting_handler.cc',
82             'manifest_handlers/tizen_setting_handler.h',
83             'manifest_handlers/tizen_splash_screen_handler.cc',
84             'manifest_handlers/tizen_splash_screen_handler.h',
85             'installer/package_installer_tizen.cc',
86             'installer/package_installer_tizen.h',
87             'installer/tizen/packageinfo_constants.cc',
88             'installer/tizen/packageinfo_constants.h',
89           ],
90         }, {
91         'sources': [
92             'application_storage_impl.cc',
93             'application_storage_impl.h',
94           ]
95         }],
96       ],
97       'include_dirs': [
98         '..',
99         '../..',
100         '../../..',
101       ],
102     },
103   ],
104 }