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