Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / tools / linux / xwalk_application_tools.gyp
index 2c17893..8976567 100644 (file)
@@ -1,43 +1,5 @@
 {
-  'targets': [
-    {
-      'target_name': 'gio',
-      'type': 'none',
-      'variables': {
-        'glib_packages': 'glib-2.0 gio-2.0',
-      },
-      'direct_dependent_settings': {
-        'cflags': [
-          '<!@(pkg-config --cflags <(glib_packages))',
-        ],
-      },
-      'link_settings': {
-        'ldflags': [
-          '<!@(pkg-config --libs-only-L --libs-only-other <(glib_packages))',
-        ],
-        'libraries': [
-          '<!@(pkg-config --libs-only-l <(glib_packages))',
-        ],
-      },
-    },
-    {
-      'target_name': 'xwalkctl',
-      'type': 'executable',
-      'product_name': 'xwalkctl',
-      'dependencies': [
-        'gio',
-      ],
-      'include_dirs': [
-        '../../../..',
-      ],
-      'sources': [
-        'dbus_connection.h',
-        'dbus_connection.cc',
-        'xwalk_tizen_user.h',
-        'xwalk_tizen_user.cc',
-        'xwalkctl_main.cc',
-      ],
-    },
+  'targets': [  
     {
       'target_name': 'xwalk_launcher',
       'type': 'executable',
       'include_dirs': [
         '../../../..',
       ],
+      'dependencies': [
+        '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+        '../../../extensions/extensions.gyp:xwalk_extensions',
+        '../../../application/common/xwalk_application_common.gypi:xwalk_application_common_lib',
+      ],
       'sources': [
-        'dbus_connection.h',
         'dbus_connection.cc',
-        'xwalk_tizen_user.h',
-        'xwalk_tizen_user.cc',
+        'dbus_connection.h',
+        'xwalk_extension_process_launcher.cc',
+        'xwalk_extension_process_launcher.h',
         'xwalk_launcher_main.cc',
       ],
       'conditions' : [
         ['OS=="linux"', {
           'dependencies': [
-            'gio',
+            '../../../build/system.gyp:gio',
           ],
         }],
-        ['tizen_mobile==1', {
+        ['tizen==1', {
           'dependencies': [
-            'gio',
+            '../../../build/system.gyp:gio',
+            '../../../build/system.gyp:tizen',
             '../../../build/system.gyp:tizen_appcore_common'
           ],
           'sources': [
             'xwalk_launcher_tizen.cc',
             'xwalk_launcher_tizen.h',
+            '../tizen/xwalk_tizen_user.cc',
+            '../tizen/xwalk_tizen_user.h',
+          ],
+        }],
+      ],
+    },
+    {
+      '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': [
+            '../../../runtime/common/xwalk_paths.cc',
+            '../../../runtime/common/xwalk_paths.h',
+            '../../../runtime/common/xwalk_system_locale.cc',
+            '../../../runtime/common/xwalk_system_locale.h',
           ],
         }],
       ],