Revert "Resolving memory leak issue in Reply function of AppControl"
[platform/framework/web/crosswalk-tizen.git] / common / common.gyp
1 {
2   'includes':[
3     '../build/common.gypi',
4   ],
5   'targets': [
6     {
7       'target_name': 'xwalk_tizen_common',
8       'type': 'shared_library',
9       'sources': [
10         'command_line.h',
11         'command_line.cc',
12         'file_utils.h',
13         'file_utils.cc',
14         'string_utils.h',
15         'string_utils.cc',
16         'logger.h',
17         'picojson.h',
18         'profiler.h',
19         'profiler.cc',
20         'url.h',
21         'url.cc',
22         'app_control.h',
23         'app_control.cc',
24         'app_db.h',
25         'app_db.cc',
26         'app_db_sqlite.h',
27         'application_data.h',
28         'application_data.cc',
29         'locale_manager.h',
30         'locale_manager.cc',
31         'resource_manager.h',
32         'resource_manager.cc',
33         'platform_info.h',
34         'platform_info.cc',
35       ],
36       'cflags': [
37         '-fvisibility=default',
38       ],
39       'variables': {
40         'packages': [
41           'appsvc',
42           'aul',
43           'capi-appfw-application',
44           'capi-appfw-app-manager',
45           'capi-appfw-package-manager',
46           'capi-system-system-settings',
47           'cynara-client',
48           'dlog',
49           'uuid',
50           'libwebappenc',
51           'manifest-parser',
52           'wgt-manifest-handlers',
53           'pkgmgr-info',
54           'glib-2.0',
55           'ttrace',
56         ],
57       },
58       'conditions': [
59         ['tizen_feature_web_ime_support == 1', {
60           'defines': ['IME_FEATURE_SUPPORT'],
61         }],
62         ['tizen_feature_watch_face_support == 1', {
63           'defines': ['WATCH_FACE_FEATURE_SUPPORT'],
64         }],
65       ],
66       'direct_dependent_settings': {
67         'libraries': [
68           '-lxwalk_tizen_common',
69         ],
70         'variables': {
71           'packages': [
72             'dlog',
73           ],
74         },
75       },
76     },
77   ],
78 }