b816d1e4e543c3251b01fa3aa88e1f2f46e34cc7
[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         '../../../base/base.gyp:xdg_mime',
10         '../../../content/content.gyp:content_common',
11         '../../../crypto/crypto.gyp:crypto',
12         '../../../net/net.gyp:net',
13         '../../../sql/sql.gyp:sql',
14         '../../../url/url.gyp:url_lib',
15         '../../../third_party/libxml/libxml.gyp:libxml',
16         '../../../third_party/re2/re2.gyp:re2',
17         '../../../third_party/zlib/google/zip.gyp:zip',
18       ],
19       'sources': [
20         'application_data.cc',
21         'application_data.h',
22         'application_file_util.cc',
23         'application_file_util.h',
24         'application_manifest_constants.cc',
25         'application_manifest_constants.h',
26         'application_resource.cc',
27         'application_resource.h',
28         'constants.cc',
29         'constants.h',
30         'id_util.cc',
31         'id_util.h',
32         'manifest.cc',
33         'manifest.h',
34         'manifest_handler.cc',
35         'manifest_handler.h',
36         'manifest_handlers/csp_handler.cc',
37         'manifest_handlers/csp_handler.h',
38         'manifest_handlers/permissions_handler.cc',
39         'manifest_handlers/permissions_handler.h',
40         'manifest_handlers/warp_handler.cc',
41         'manifest_handlers/warp_handler.h',
42         'manifest_handlers/widget_handler.cc',
43         'manifest_handlers/widget_handler.h',
44         'permission_policy_manager.cc',
45         'permission_policy_manager.h',
46         'permission_types.h',
47         'signature_types.h',
48         'package/package.h',
49         'package/package.cc',
50         'package/wgt_package.h',
51         'package/wgt_package.cc',
52         'package/xpk_package.cc',
53         'package/xpk_package.h',
54       ],
55       'conditions': [
56         ['tizen==1', {
57           'dependencies': [
58             '../../build/system.gyp:tizen',
59             '../../tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
60             '../../../third_party/re2/re2.gyp:re2',
61             '../../../net/net.gyp:net',
62           ],
63           'cflags': [
64             '<!@(pkg-config --cflags xmlsec1)',
65           ],
66           'link_settings': {
67             'libraries': [
68               '<!@(pkg-config --libs-only-l xmlsec1)',
69             ],
70           },
71           'sources': [
72             'manifest_handlers/tizen_app_control_handler.cc',
73             'manifest_handlers/tizen_app_control_handler.h',
74             'manifest_handlers/tizen_application_handler.cc',
75             'manifest_handlers/tizen_application_handler.h',
76             'manifest_handlers/tizen_appwidget_handler.cc',
77             'manifest_handlers/tizen_appwidget_handler.h',
78             'manifest_handlers/tizen_metadata_handler.cc',
79             'manifest_handlers/tizen_metadata_handler.h',
80             'manifest_handlers/tizen_navigation_handler.cc',
81             'manifest_handlers/tizen_navigation_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             'tizen/application_storage.cc',
87             'tizen/application_storage.h',
88             'tizen/application_storage_impl.cc',
89             'tizen/application_storage_impl.h',
90             'tizen/cookie_manager.cc',
91             'tizen/cookie_manager.h',
92             'tizen/encryption.cc',
93             'tizen/encryption.h',
94             'tizen/package_query.cc',
95             'tizen/package_query.h',
96             'tizen/signature_data.h',
97             'tizen/signature_data.cc',
98             'tizen/signature_parser.h',
99             'tizen/signature_parser.cc',
100             'tizen/signature_validator.cc',
101             'tizen/signature_validator.h',
102             'tizen/signature_xmlsec_adaptor.cc',
103             'tizen/signature_xmlsec_adaptor.h',
104           ],
105         }],
106       ],
107       'include_dirs': [
108         '..',
109         '../..',
110         '../../..',
111       ],
112     },
113   ],
114 }