6845ee393d4c266e9cb0efdf153efb6d9cad9073
[platform/framework/web/crosswalk.git] / src / xwalk / application / tools / linux / xwalk_application_tools.gyp
1 {
2   'targets': [
3     {
4       'target_name': 'xwalkctl',
5       'type': 'executable',
6       'product_name': 'xwalkctl',
7       'dependencies': [
8         '../../../application/common/xwalk_application_common.gypi:xwalk_application_common_lib',
9         '../../../build/system.gyp:gio',
10         '../../../../build/linux/system.gyp:dbus',
11         '../../../../dbus/dbus.gyp:dbus',
12       ],
13       'include_dirs': [
14         '../../../..',
15       ],
16       'sources': [
17         'dbus_connection.cc',
18         'dbus_connection.h',
19         'xwalkctl_main.cc',
20         # TODO(t.iwanek) fix me - this duplicates compilation of those files
21         '../../../runtime/common/xwalk_paths.cc',
22         '../../../runtime/common/xwalk_paths.h',
23         '../../../runtime/common/xwalk_system_locale.cc',
24         '../../../runtime/common/xwalk_system_locale.h',
25       ],
26       'conditions' : [
27         ['tizen==1', {
28           'dependencies': [
29             '../../../build/system.gyp:tizen',
30           ],
31           'sources': [
32             'xwalk_tizen_user.cc',
33             'xwalk_tizen_user.h',
34           ],
35         }],
36       ],
37     },
38     {
39       'target_name': 'xwalk_launcher',
40       'type': 'executable',
41       'product_name': 'xwalk-launcher',
42       'include_dirs': [
43         '../../../..',
44       ],
45       'dependencies': [
46         '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
47         '../../../extensions/extensions.gyp:xwalk_extensions',
48         '../../../application/common/xwalk_application_common.gypi:xwalk_application_common_lib',
49       ],
50       'sources': [
51         'dbus_connection.cc',
52         'dbus_connection.h',
53         'xwalk_extension_process_launcher.cc',
54         'xwalk_extension_process_launcher.h',
55         'xwalk_launcher_main.cc',
56       ],
57       'conditions' : [
58         ['OS=="linux"', {
59           'dependencies': [
60             '../../../build/system.gyp:gio',
61           ],
62         }],
63         ['tizen==1', {
64           'dependencies': [
65             '../../../build/system.gyp:gio',
66             '../../../build/system.gyp:tizen',
67             '../../../build/system.gyp:tizen_appcore_common'
68           ],
69           'sources': [
70             'xwalk_launcher_tizen.cc',
71             'xwalk_launcher_tizen.h',
72             'xwalk_tizen_user.cc',
73             'xwalk_tizen_user.h',
74           ],
75         }],
76       ],
77     },
78   ],
79 }