Index: ui/ui.gyp |
diff --git a/ui/ui.gyp b/ui/ui.gyp |
index 7e1f6fc7ed9fc175c78b14a327f3c33eccfd3e0b..35c9cbb59e2feceb4b242d4a324957906c6604e6 100644 |
--- a/ui/ui.gyp |
+++ b/ui/ui.gyp |
@@ -130,6 +130,17 @@ |
'base/ime/composition_text.cc', |
'base/ime/composition_text.h', |
'base/ime/composition_underline.h', |
+ 'base/ime/input_method.cc', |
+ 'base/ime/input_method.h', |
+ 'base/ime/input_method_base.cc', |
+ 'base/ime/input_method_base.h', |
+ 'base/ime/input_method_delegate.h', |
+ 'base/ime/input_method_ibus.cc', |
+ 'base/ime/input_method_ibus.h', |
+ 'base/ime/input_method_ibus_aura.cc', |
+ 'base/ime/input_method_ibus_aura.h', |
+ 'base/ime/mock_input_method.cc', |
+ 'base/ime/mock_input_method.h', |
'base/ime/text_input_client.cc', |
'base/ime/text_input_client.h', |
'base/ime/text_input_type.h', |
@@ -348,6 +359,12 @@ |
], |
}, { # use_aura!=1 |
'sources!': [ |
+ 'base/ime/input_method_ibus.cc', |
+ 'base/ime/input_method_ibus.h', |
+ 'base/ime/input_method_ibus_aura.cc', |
+ 'base/ime/input_method_ibus_aura.h', |
+ 'base/ime/mock_input_method.cc', |
+ 'base/ime/mock_input_method.h', |
'gfx/native_theme_aura.cc', |
'gfx/native_theme_aura.h', |
] |
@@ -360,6 +377,21 @@ |
['exclude', 'gfx/path_win.cc'], |
], |
}], |
+ ['use_ibus==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:ibus', |
+ ], |
+ 'sources/': [ |
+ ['exclude', 'base/ime/mock_input_method.cc'], |
+ ['exclude', 'base/ime/mock_input_method.h'], |
+ ], |
+ }, { # else: use_ibus != 1 |
+ 'sources/': [ |
+ ['exclude', 'base/ime/input_method_ibus.cc'], |
+ ['exclude', 'base/ime/input_method_ibus.h'], |
+ ], |
+ }], |
+ |
['use_glib == 1', { |
'dependencies': [ |
# font_gtk.cc uses fontconfig. |