1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# 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_imm32.cc',
'input_method_imm32.h',
'input_method_initializer.h',
'input_method_initializer.cc',
'input_method_tsf.cc',
'input_method_tsf.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 and OS!="win"', {
'sources!': [
'<@(ime_files)',
],
'sources/': [
# gtk_im_context_util* use ui::CompositionText.
['include', 'composition_text\\.(cc|h)$'],
# Initializer code is platform neutral.
['include', 'input_method_initializer\\.(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)',
'input_method_imm32.cc',
'input_method_imm32.h',
'input_method_tsf.cc',
'input_method_tsf.h',
],
}],
],
}
|