Upstream version 11.39.264.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / tools / linux / xwalk_application_tools.gyp
index 3cba1aa..e3bc48d 100644 (file)
@@ -1,5 +1,5 @@
 {
-  'targets': [  
+  'targets': [
     {
       'target_name': 'xwalk_launcher',
       'type': 'executable',
@@ -9,29 +9,27 @@
       ],
       'dependencies': [
         '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+        '../../../build/system.gyp:gio',
         '../../../extensions/extensions.gyp:xwalk_extensions',
         '../../../application/common/xwalk_application_common.gypi:xwalk_application_common_lib',
+        '../../../dbus/xwalk_dbus.gyp:xwalk_dbus'
       ],
       'sources': [
-        'dbus_connection.cc',
-        'dbus_connection.h',
+        'dbus_object_manager.cc',
+        'dbus_object_manager.h',
         'xwalk_extension_process_launcher.cc',
         'xwalk_extension_process_launcher.h',
         'xwalk_launcher_main.cc',
       ],
       'conditions' : [
-        ['OS=="linux"', {
-          'dependencies': [
-            '../../../build/system.gyp:gio',
-          ],
-        }],
         ['tizen==1', {
           'dependencies': [
-            '../../../build/system.gyp:gio',
             '../../../build/system.gyp:tizen',
             '../../../build/system.gyp:tizen_appcore_common'
           ],
           'sources': [
+            'xwalk_launcher.cc',
+            'xwalk_launcher.h',
             'xwalk_launcher_tizen.cc',
             'xwalk_launcher_tizen.h',
             '../tizen/xwalk_tizen_user.cc',
         }],
       ],
     },
+    {
+      'target_name': 'xwalkctl',
+      'type': 'executable',
+      'product_name': 'xwalkctl',
+      'include_dirs': [
+        '../../../..',
+      ],
+      'dependencies': [
+        '../../../application/common/xwalk_application_common.gypi:xwalk_application_common_lib',
+        '../../../build/system.gyp:gio',
+        '../../../../build/linux/system.gyp:dbus',
+        '../../../../dbus/dbus.gyp:dbus',
+      ],
+      'sources': [
+        'xwalkctl_main.cc',
+      ],
+      'conditions' : [
+        ['tizen==1', {
+          'dependencies': [
+            '../../../build/system.gyp:tizen',
+          ],
+          'sources': [
+            '../tizen/xwalk_tizen_user.cc',
+            '../tizen/xwalk_tizen_user.h',
+            '../../../runtime/common/xwalk_paths.cc',
+            '../../../runtime/common/xwalk_paths.h',
+            '../../../runtime/common/xwalk_switches.cc',
+            '../../../runtime/common/xwalk_switches.h',
+            '../../../runtime/common/xwalk_system_locale.cc',
+            '../../../runtime/common/xwalk_system_locale.h',
+          ],
+        }],
+      ],
+    },
   ],
 }