blob: d80a1115f859a86bdb794a81c54705ec4d7aa95b [file] [log] [blame]
Jean Chalarda245d152013-12-12 15:08:10 +09001# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LATIN_IME_JNI_SRC_FILES := \
16 com_android_inputmethod_keyboard_ProximityInfo.cpp \
17 com_android_inputmethod_latin_BinaryDictionary.cpp \
18 com_android_inputmethod_latin_DicTraverseSession.cpp \
19 jni_common.cpp
20
21LATIN_IME_CORE_SRC_FILES := \
22 suggest/core/suggest.cpp \
23 $(addprefix suggest/core/dicnode/, \
24 dic_node.cpp \
25 dic_node_utils.cpp \
26 dic_nodes_cache.cpp) \
27 $(addprefix suggest/core/dictionary/, \
28 bigram_dictionary.cpp \
29 bloom_filter.cpp \
30 dictionary.cpp \
31 digraph_utils.cpp \
32 error_type_utils.cpp \
33 multi_bigram_map.cpp \
34 unigram_property.cpp) \
35 $(addprefix suggest/core/layout/, \
36 additional_proximity_chars.cpp \
37 proximity_info.cpp \
38 proximity_info_params.cpp \
39 proximity_info_state.cpp \
40 proximity_info_state_utils.cpp) \
41 suggest/core/policy/weighting.cpp \
42 suggest/core/session/dic_traverse_session.cpp \
43 $(addprefix suggest/policyimpl/dictionary/, \
44 header/header_policy.cpp \
45 header/header_read_write_utils.cpp \
46 shortcut/shortcut_list_reading_utils.cpp \
47 structure/dictionary_structure_with_buffer_policy_factory.cpp) \
48 $(addprefix suggest/policyimpl/dictionary/bigram/, \
49 bigram_list_read_write_utils.cpp \
50 ver4_bigram_list_policy.cpp) \
51 $(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \
52 dynamic_pt_gc_event_listeners.cpp \
53 dynamic_pt_reading_helper.cpp \
54 dynamic_pt_reading_utils.cpp \
55 dynamic_pt_updating_helper.cpp \
56 dynamic_pt_writing_utils.cpp) \
57 $(addprefix suggest/policyimpl/dictionary/structure/v2/, \
58 patricia_trie_policy.cpp \
59 patricia_trie_reading_utils.cpp) \
60 $(addprefix suggest/policyimpl/dictionary/structure/v4/, \
61 ver4_dict_buffers.cpp \
62 ver4_dict_constants.cpp \
63 ver4_patricia_trie_node_reader.cpp \
64 ver4_patricia_trie_node_writer.cpp \
65 ver4_patricia_trie_policy.cpp \
66 ver4_patricia_trie_reading_utils.cpp \
67 ver4_patricia_trie_writing_helper.cpp) \
68 $(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \
69 bigram_dict_content.cpp \
70 probability_dict_content.cpp \
71 shortcut_dict_content.cpp \
72 sparse_table_dict_content.cpp \
73 terminal_position_lookup_table.cpp) \
74 $(addprefix suggest/policyimpl/dictionary/utils/, \
75 buffer_with_extendable_buffer.cpp \
76 byte_array_utils.cpp \
77 dict_file_writing_utils.cpp \
78 file_utils.cpp \
79 forgetting_curve_utils.cpp \
80 format_utils.cpp \
81 mmapped_buffer.cpp \
82 sparse_table.cpp) \
83 suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \
84 $(addprefix suggest/policyimpl/typing/, \
85 scoring_params.cpp \
86 typing_scoring.cpp \
87 typing_suggest_policy.cpp \
88 typing_traversal.cpp \
89 typing_weighting.cpp) \
90 $(addprefix utils/, \
91 autocorrection_threshold_utils.cpp \
92 char_utils.cpp \
93 log_utils.cpp \
94 time_keeper.cpp)