Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index e0f7a1b656e997f5eb5890b0d20ae760605e7d07..a52083b9ad6eef43a1aad7bf1ca9a620f592a219 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)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
], |
} |