Upstream version 8.36.161.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         '../../../sql/sql.gyp:sql',
9         '../../../url/url.gyp:url_lib',
10         '../../../third_party/libxml/libxml.gyp:libxml',
11       ],
12       'sources': [
13         'application_storage.cc',
14         'application_storage.h',
15         'application_storage_impl.cc',
16         'application_storage_impl.h',
17
18         'application_data.cc',
19         'application_data.h',
20         'application_file_util.cc',
21         'application_file_util.h',
22         'application_manifest_constants.cc',
23         'application_manifest_constants.h',
24         'application_resource.cc',
25         'application_resource.h',
26         'application_storage_constants.cc',
27         'application_storage_constants.h',
28         'constants.cc',
29         'constants.h',
30         'id_util.cc',
31         'id_util.h',
32         'install_warning.h',
33         'manifest.cc',
34         'manifest.h',
35         'manifest_handler.cc',
36         'manifest_handler.h',
37         'manifest_handlers/csp_handler.cc',
38         'manifest_handlers/csp_handler.h',
39         'manifest_handlers/permissions_handler.cc',
40         'manifest_handlers/permissions_handler.h',
41         'manifest_handlers/warp_handler.cc',
42         'manifest_handlers/warp_handler.h',
43         'manifest_handlers/widget_handler.cc',
44         'manifest_handlers/widget_handler.h',
45         'permission_policy_manager.cc',
46         'permission_policy_manager.h',
47         'permission_types.h',
48
49         'installer/package.h',
50         'installer/package.cc',
51         'installer/package_installer.cc',
52         'installer/package_installer.h',
53         'installer/wgt_package.h',
54         'installer/wgt_package.cc',
55         'installer/xpk_package.cc',
56         'installer/xpk_package.h',
57       ],
58       'conditions': [
59         ['tizen==1', {
60           'dependencies': [
61             '../../build/system.gyp:tizen',
62             '../../tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
63             '../../../third_party/re2/re2.gyp:re2',
64           ],
65           'sources': [
66             'manifest_handlers/navigation_handler.cc',
67             'manifest_handlers/navigation_handler.h',
68             'manifest_handlers/tizen_application_handler.cc',
69             'manifest_handlers/tizen_application_handler.h',
70             'manifest_handlers/tizen_metadata_handler.cc',
71             'manifest_handlers/tizen_metadata_handler.h',
72             'manifest_handlers/tizen_setting_handler.cc',
73             'manifest_handlers/tizen_setting_handler.h',
74             'installer/package_installer_tizen.cc',
75             'installer/package_installer_tizen.h',
76             'installer/tizen/packageinfo_constants.cc',
77             'installer/tizen/packageinfo_constants.h',
78           ],
79         }],
80       ],
81       'include_dirs': [
82         '..',
83         '../..',
84         '../../..',
85       ],
86     },
87   ],
88 }