Upstream version 9.37.195.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/re2/re2.gyp:re2',
16         '../../../third_party/zlib/google/zip.gyp:zip',
17       ],
18       'sources': [
19         'application_storage.cc',
20         'application_storage.h',
21
22         'application_data.cc',
23         'application_data.h',
24         'application_file_util.cc',
25         'application_file_util.h',
26         'application_manifest_constants.cc',
27         'application_manifest_constants.h',
28         'application_resource.cc',
29         'application_resource.h',
30         'application_storage_constants.cc',
31         'application_storage_constants.h',
32         'constants.cc',
33         'constants.h',
34         'id_util.cc',
35         'id_util.h',
36         'install_warning.h',
37         'manifest.cc',
38         'manifest.h',
39         'manifest_handler.cc',
40         'manifest_handler.h',
41         'manifest_handlers/csp_handler.cc',
42         'manifest_handlers/csp_handler.h',
43         'manifest_handlers/permissions_handler.cc',
44         'manifest_handlers/permissions_handler.h',
45         'manifest_handlers/warp_handler.cc',
46         'manifest_handlers/warp_handler.h',
47         'manifest_handlers/widget_handler.cc',
48         'manifest_handlers/widget_handler.h',
49         'permission_policy_manager.cc',
50         'permission_policy_manager.h',
51         'permission_types.h',
52         'signature_types.h',
53
54         'installer/package.h',
55         'installer/package.cc',
56         'installer/package_installer.cc',
57         'installer/package_installer.h',
58         'installer/signature_data.h',
59         'installer/signature_data.cc',
60         'installer/signature_parser.h',
61         'installer/signature_parser.cc',
62         'installer/wgt_package.h',
63         'installer/wgt_package.cc',
64         'installer/xpk_package.cc',
65         'installer/xpk_package.h',
66       ],
67       'conditions': [
68         ['tizen==1', {
69           'dependencies': [
70             '../../build/system.gyp:tizen',
71             '../../tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
72             '../../../third_party/re2/re2.gyp:re2',
73           ],
74           'sources': [
75             'application_storage_impl_tizen.cc',
76             'application_storage_impl_tizen.h',
77             'manifest_handlers/navigation_handler.cc',
78             'manifest_handlers/navigation_handler.h',
79             'manifest_handlers/tizen_application_handler.cc',
80             'manifest_handlers/tizen_application_handler.h',
81             'manifest_handlers/tizen_metadata_handler.cc',
82             'manifest_handlers/tizen_metadata_handler.h',
83             'manifest_handlers/tizen_setting_handler.cc',
84             'manifest_handlers/tizen_setting_handler.h',
85             'manifest_handlers/tizen_splash_screen_handler.cc',
86             'manifest_handlers/tizen_splash_screen_handler.h',
87             'installer/package_installer_tizen.cc',
88             'installer/package_installer_tizen.h',
89             'installer/tizen/packageinfo_constants.cc',
90             'installer/tizen/packageinfo_constants.h',
91             'installer/tizen/signature_validator.cc',
92             'installer/tizen/signature_validator.h',
93           ],
94         }, {
95         'sources': [
96             'application_storage_impl.cc',
97             'application_storage_impl.h',
98           ]
99         }],
100       ],
101       'include_dirs': [
102         '..',
103         '../..',
104         '../../..',
105       ],
106     },
107   ],
108 }