Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 1 | # 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 | |
| 15 | LATIN_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 | |
| 21 | LATIN_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 \ |
Keisuke Kuroyanagi | d8f35f7 | 2013-12-18 16:47:23 +0900 | [diff] [blame] | 34 | suggestions_output_utils.cpp \ |
Keisuke Kuroyanagi | 080a35e | 2014-01-31 11:06:42 +0900 | [diff] [blame] | 35 | word_property.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 36 | $(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 \ |
| 44 | $(addprefix suggest/policyimpl/dictionary/, \ |
| 45 | header/header_policy.cpp \ |
| 46 | header/header_read_write_utils.cpp \ |
| 47 | shortcut/shortcut_list_reading_utils.cpp \ |
| 48 | structure/dictionary_structure_with_buffer_policy_factory.cpp) \ |
| 49 | $(addprefix suggest/policyimpl/dictionary/bigram/, \ |
| 50 | bigram_list_read_write_utils.cpp \ |
| 51 | ver4_bigram_list_policy.cpp) \ |
| 52 | $(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \ |
| 53 | dynamic_pt_gc_event_listeners.cpp \ |
| 54 | dynamic_pt_reading_helper.cpp \ |
| 55 | dynamic_pt_reading_utils.cpp \ |
| 56 | dynamic_pt_updating_helper.cpp \ |
| 57 | dynamic_pt_writing_utils.cpp) \ |
| 58 | $(addprefix suggest/policyimpl/dictionary/structure/v2/, \ |
| 59 | patricia_trie_policy.cpp \ |
Keisuke Kuroyanagi | 1e27529 | 2014-02-10 20:51:29 +0900 | [diff] [blame] | 60 | patricia_trie_reading_utils.cpp \ |
Keisuke Kuroyanagi | be61170 | 2014-02-10 21:09:55 +0900 | [diff] [blame] | 61 | ver2_patricia_trie_node_reader.cpp \ |
| 62 | ver2_pt_node_array_reader.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 63 | $(addprefix suggest/policyimpl/dictionary/structure/v4/, \ |
| 64 | ver4_dict_buffers.cpp \ |
| 65 | ver4_dict_constants.cpp \ |
| 66 | ver4_patricia_trie_node_reader.cpp \ |
| 67 | ver4_patricia_trie_node_writer.cpp \ |
| 68 | ver4_patricia_trie_policy.cpp \ |
| 69 | ver4_patricia_trie_reading_utils.cpp \ |
Keisuke Kuroyanagi | 1d6afa1 | 2014-02-10 21:06:07 +0900 | [diff] [blame] | 70 | ver4_patricia_trie_writing_helper.cpp \ |
| 71 | ver4_pt_node_array_reader.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 72 | $(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \ |
| 73 | bigram_dict_content.cpp \ |
| 74 | probability_dict_content.cpp \ |
| 75 | shortcut_dict_content.cpp \ |
| 76 | sparse_table_dict_content.cpp \ |
| 77 | terminal_position_lookup_table.cpp) \ |
| 78 | $(addprefix suggest/policyimpl/dictionary/utils/, \ |
| 79 | buffer_with_extendable_buffer.cpp \ |
| 80 | byte_array_utils.cpp \ |
| 81 | dict_file_writing_utils.cpp \ |
| 82 | file_utils.cpp \ |
| 83 | forgetting_curve_utils.cpp \ |
| 84 | format_utils.cpp \ |
| 85 | mmapped_buffer.cpp \ |
| 86 | sparse_table.cpp) \ |
| 87 | suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \ |
| 88 | $(addprefix suggest/policyimpl/typing/, \ |
| 89 | scoring_params.cpp \ |
| 90 | typing_scoring.cpp \ |
| 91 | typing_suggest_policy.cpp \ |
| 92 | typing_traversal.cpp \ |
| 93 | typing_weighting.cpp) \ |
| 94 | $(addprefix utils/, \ |
| 95 | autocorrection_threshold_utils.cpp \ |
| 96 | char_utils.cpp \ |
| 97 | log_utils.cpp \ |
| 98 | time_keeper.cpp) |