# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'ime_files': [ 'character_composer.cc', 'character_composer.h', 'composition_text.cc', 'composition_text.h', 'composition_underline.h', 'input_method.h', 'input_method_base.cc', 'input_method_base.h', 'input_method_delegate.h', 'input_method_factory.cc', 'input_method_factory.h', 'input_method_ibus.cc', 'input_method_ibus.h', 'input_method_win.cc', 'input_method_win.h', 'mock_input_method.cc', 'mock_input_method.h', 'fake_input_method.cc', 'fake_input_method.h', 'text_input_client.cc', 'text_input_client.h', 'text_input_type.h', ], 'tsf_files': [ 'win/tsf_bridge.cc', 'win/tsf_bridge.h', 'win/tsf_event_router.cc', 'win/tsf_event_router.h', 'win/tsf_input_scope.cc', 'win/tsf_input_scope.h', 'win/tsf_text_store.cc', 'win/tsf_text_store.h', ], }, 'sources': [ '<@(ime_files)', '<@(tsf_files)', ], 'conditions': [ ['use_aura==0', { 'sources!': [ '<@(ime_files)', ], 'sources/': [ # gtk_im_context_util* use ui::CompositionText. ['include', 'composition_text\\.(cc|h)$'], # native_textfield_views* use ui::TextInputClient. ['include', 'text_input_client\\.(cc|h)$'], ], }], ['chromeos==0 or use_x11==0', { 'sources!': [ 'character_composer.cc', 'character_composer.h', 'input_method_ibus.cc', 'input_method_ibus.h', ], }, { 'dependencies': [ '<(DEPTH)/chromeos/chromeos.gyp:chromeos', ], }], ['OS!="win"', { 'sources!': [ '<@(tsf_files)', ], }], ], }