From 45510d9022d636a163762b67bf36a35b1c36cd3a Mon Sep 17 00:00:00 2001
From: "oshima@google.com"
 <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sat, 12 Feb 2011 01:00:00 +0000
Subject: Add input method support for views and integrate ibus input framework

BUG=none
TEST=tested on Linux desktop

oshima landed for penghuang

Review URL: http://codereview.chromium.org/6480036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74709 0039d316-1c4b-4281-b951-d872f2087c98
---
 build/linux/system.gyp | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'build')

diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index e0f7a1b..a52083b 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -346,6 +346,30 @@
         ],
       },
     },
+    {
+      'target_name': 'ibus',
+      'type': 'settings',
+      'conditions': [
+        ['"<!@(<(pkg-config) --atleast-version=1.3.99 ibus-1.0 || echo $?)"==""', {
+          'variables': {
+            'ibus': 1
+          },
+          'direct_dependent_settings': {
+            'cflags': [
+              '<!@(<(pkg-config) --cflags ibus-1.0)',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)',
+            ],
+            'libraries': [
+              '<!@(<(pkg-config) --libs-only-l ibus-1.0)',
+            ],
+          },
+        }],
+      ],
+    },
   ],
 }
 
-- 
cgit v1.1