Upstream version 11.39.256.0
[platform/framework/web/crosswalk.git] / src / xwalk / build / system.gyp
index 61a654e..23dfc03 100644 (file)
@@ -3,10 +3,54 @@
 # found in the LICENSE file.
 
 {
+  'targets' : [
+    {
+      'target_name': 'gio',
+      'type': 'none',
+      'variables': {
+        'glib_packages': 'glib-2.0 gio-unix-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))',
+        ],
+      },
+    },
+  ],  # targets
   'conditions': [
     ['tizen==1', {
       'targets': [
         {
+          'target_name': 'tizen_tzplatform_config',
+          'type': 'none',
+          'variables': {
+            'packages': [
+              'libtzplatform-config',
+            ],
+          },
+          'direct_dependent_settings': {
+            'cflags': [
+              '<!@(pkg-config --cflags <@(packages))',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
+            ],
+            'libraries': [
+              '<!@(pkg-config --libs-only-l <@(packages))',
+            ],
+          },
+        },
+        {
           'target_name': 'tizen_geolocation',
           'type': 'none',
           'variables': {
           'type': 'none',
           'variables': {
             'packages': [
+              'ail',
               'dlog',
+              'nss',
+              'nspr',
               'pkgmgr-parser',
               'pkgmgr-info',
               'pkgmgr-installer',
+              'pkgmgr',
+              'secure-storage',
               'vconf',
             ],
           },