summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-12 01:00:00 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-12 01:00:00 +0000
commit45510d9022d636a163762b67bf36a35b1c36cd3a (patch)
treedfaefde0ac5bebd02183fc0e08c0b91118105d09 /build/linux
parent33c90eba54629044ddde7cc3aad60b4318d7688a (diff)
downloadchromium_src-45510d9022d636a163762b67bf36a35b1c36cd3a.zip
chromium_src-45510d9022d636a163762b67bf36a35b1c36cd3a.tar.gz
chromium_src-45510d9022d636a163762b67bf36a35b1c36cd3a.tar.bz2
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
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp24
1 files changed, 24 insertions, 0 deletions
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)',
+ ],
+ },
+ }],
+ ],
+ },
],
}