[SystemSetting] Fixed build issue on desktop.
authorHalton Huo <halton.huo@intel.com>
Mon, 22 Dec 2014 08:44:57 +0000 (16:44 +0800)
committerHalton Huo <halton.huo@intel.com>
Mon, 22 Dec 2014 09:03:54 +0000 (17:03 +0800)
gio-2.0 dependency is added implicitly by vconf, but vconf is available
on Tizen only. So we need add this dependency in general to fix the
desktop build issue.

BUG=None

src/system_setting/system_setting.gyp

index 6923f18..9698834 100644 (file)
         'system_setting_locale.cc',
         'system_setting_locale.h',
       ],
+      'variables': {
+        'packages': [
+          'gio-2.0',
+        ]
+      },
+      'includes': [
+        '../common/pkg-config.gypi',
+      ],
       'conditions': [
         ['tizen == 1', {
-          'includes': [
-            '../common/pkg-config.gypi',
-          ],
           'variables': {
             'packages': [
               'capi-system-system-settings',
               'vconf',
             ]
           },
-          'includes': [
-            '../common/pkg-config.gypi',
-          ],
         }],
       ],
     },