blob: 1031903f86bec84ddc51a6abc963c19995267482 [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 \
Keisuke Kuroyanagi9e51c6c2014-03-05 12:49:04 +090018 com_android_inputmethod_latin_BinaryDictionaryUtils.cpp \
Jean Chalarda245d152013-12-12 15:08:10 +090019 com_android_inputmethod_latin_DicTraverseSession.cpp \
20 jni_common.cpp
21
22LATIN_IME_CORE_SRC_FILES := \
23 suggest/core/suggest.cpp \
24 $(addprefix suggest/core/dicnode/, \
25 dic_node.cpp \
26 dic_node_utils.cpp \
27 dic_nodes_cache.cpp) \
28 $(addprefix suggest/core/dictionary/, \
29 bigram_dictionary.cpp \
30 bloom_filter.cpp \
31 dictionary.cpp \
32 digraph_utils.cpp \
33 error_type_utils.cpp \
34 multi_bigram_map.cpp \
Keisuke Kuroyanagie41b2ed2014-04-08 18:24:06 +090035 property/word_property.cpp) \
Jean Chalarda245d152013-12-12 15:08:10 +090036 $(addprefix suggest/core/layout/, \
37 additional_proximity_chars.cpp \
38 proximity_info.cpp \
39 proximity_info_params.cpp \
40 proximity_info_state.cpp \
41 proximity_info_state_utils.cpp) \
42 suggest/core/policy/weighting.cpp \
43 suggest/core/session/dic_traverse_session.cpp \
Keisuke Kuroyanagie137ec02014-03-07 19:36:19 +090044 $(addprefix suggest/core/result/, \
45 suggestion_results.cpp \
46 suggestions_output_utils.cpp) \
Jean Chalarda245d152013-12-12 15:08:10 +090047 $(addprefix suggest/policyimpl/dictionary/, \
48 header/header_policy.cpp \
49 header/header_read_write_utils.cpp \
50 shortcut/shortcut_list_reading_utils.cpp \
51 structure/dictionary_structure_with_buffer_policy_factory.cpp) \
52 $(addprefix suggest/policyimpl/dictionary/bigram/, \
53 bigram_list_read_write_utils.cpp \
54 ver4_bigram_list_policy.cpp) \
55 $(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \
56 dynamic_pt_gc_event_listeners.cpp \
57 dynamic_pt_reading_helper.cpp \
58 dynamic_pt_reading_utils.cpp \
59 dynamic_pt_updating_helper.cpp \
60 dynamic_pt_writing_utils.cpp) \
61 $(addprefix suggest/policyimpl/dictionary/structure/v2/, \
62 patricia_trie_policy.cpp \
Keisuke Kuroyanagi1e275292014-02-10 20:51:29 +090063 patricia_trie_reading_utils.cpp \
Keisuke Kuroyanagibe611702014-02-10 21:09:55 +090064 ver2_patricia_trie_node_reader.cpp \
65 ver2_pt_node_array_reader.cpp) \
Jean Chalarda245d152013-12-12 15:08:10 +090066 $(addprefix suggest/policyimpl/dictionary/structure/v4/, \
67 ver4_dict_buffers.cpp \
68 ver4_dict_constants.cpp \
69 ver4_patricia_trie_node_reader.cpp \
70 ver4_patricia_trie_node_writer.cpp \
71 ver4_patricia_trie_policy.cpp \
72 ver4_patricia_trie_reading_utils.cpp \
Keisuke Kuroyanagi1d6afa12014-02-10 21:06:07 +090073 ver4_patricia_trie_writing_helper.cpp \
74 ver4_pt_node_array_reader.cpp) \
Jean Chalarda245d152013-12-12 15:08:10 +090075 $(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \
76 bigram_dict_content.cpp \
77 probability_dict_content.cpp \
78 shortcut_dict_content.cpp \
79 sparse_table_dict_content.cpp \
80 terminal_position_lookup_table.cpp) \
81 $(addprefix suggest/policyimpl/dictionary/utils/, \
82 buffer_with_extendable_buffer.cpp \
83 byte_array_utils.cpp \
84 dict_file_writing_utils.cpp \
85 file_utils.cpp \
86 forgetting_curve_utils.cpp \
87 format_utils.cpp \
88 mmapped_buffer.cpp \
89 sparse_table.cpp) \
90 suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \
91 $(addprefix suggest/policyimpl/typing/, \
92 scoring_params.cpp \
93 typing_scoring.cpp \
94 typing_suggest_policy.cpp \
95 typing_traversal.cpp \
96 typing_weighting.cpp) \
97 $(addprefix utils/, \
98 autocorrection_threshold_utils.cpp \
99 char_utils.cpp \
100 log_utils.cpp \
101 time_keeper.cpp)
Yohei Yukawac72652c2014-04-02 01:23:07 +0900102
103LATIN_IME_CORE_TEST_FILES := \
104 utils/autocorrection_threshold_utils_test.cpp