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 \ |
Keisuke Kuroyanagi | 9e51c6c | 2014-03-05 12:49:04 +0900 | [diff] [blame] | 18 | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 19 | com_android_inputmethod_latin_DicTraverseSession.cpp \ |
| 20 | jni_common.cpp |
| 21 | |
| 22 | LATIN_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/, \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 29 | dictionary.cpp \ |
Keisuke Kuroyanagi | d9b8602 | 2014-06-06 17:37:46 +0900 | [diff] [blame] | 30 | dictionary_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 31 | digraph_utils.cpp \ |
| 32 | error_type_utils.cpp \ |
| 33 | multi_bigram_map.cpp \ |
Keisuke Kuroyanagi | e41b2ed | 2014-04-08 18:24:06 +0900 | [diff] [blame] | 34 | property/word_property.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 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 \ |
Keisuke Kuroyanagi | e137ec0 | 2014-03-07 19:36:19 +0900 | [diff] [blame] | 43 | $(addprefix suggest/core/result/, \ |
| 44 | suggestion_results.cpp \ |
| 45 | suggestions_output_utils.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 46 | $(addprefix suggest/policyimpl/dictionary/, \ |
| 47 | header/header_policy.cpp \ |
| 48 | header/header_read_write_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 49 | structure/dictionary_structure_with_buffer_policy_factory.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 50 | $(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \ |
Keisuke Kuroyanagi | 6e4b674 | 2014-05-12 21:05:14 +0900 | [diff] [blame] | 51 | bigram/bigram_list_read_write_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 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 \ |
Keisuke Kuroyanagi | 8dac7ce | 2014-04-30 14:28:08 +0900 | [diff] [blame] | 56 | dynamic_pt_writing_utils.cpp \ |
Keisuke Kuroyanagi | 6e4b674 | 2014-05-12 21:05:14 +0900 | [diff] [blame] | 57 | patricia_trie_reading_utils.cpp \ |
| 58 | shortcut/shortcut_list_reading_utils.cpp ) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 59 | $(addprefix suggest/policyimpl/dictionary/structure/v2/, \ |
| 60 | patricia_trie_policy.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/, \ |
Keisuke Kuroyanagi | 6e4b674 | 2014-05-12 21:05:14 +0900 | [diff] [blame] | 64 | bigram/ver4_bigram_list_policy.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 65 | ver4_dict_buffers.cpp \ |
| 66 | ver4_dict_constants.cpp \ |
| 67 | ver4_patricia_trie_node_reader.cpp \ |
| 68 | ver4_patricia_trie_node_writer.cpp \ |
| 69 | ver4_patricia_trie_policy.cpp \ |
| 70 | ver4_patricia_trie_reading_utils.cpp \ |
Keisuke Kuroyanagi | 1d6afa1 | 2014-02-10 21:06:07 +0900 | [diff] [blame] | 71 | ver4_patricia_trie_writing_helper.cpp \ |
| 72 | ver4_pt_node_array_reader.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 73 | $(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \ |
| 74 | bigram_dict_content.cpp \ |
| 75 | probability_dict_content.cpp \ |
| 76 | shortcut_dict_content.cpp \ |
| 77 | sparse_table_dict_content.cpp \ |
| 78 | terminal_position_lookup_table.cpp) \ |
| 79 | $(addprefix suggest/policyimpl/dictionary/utils/, \ |
| 80 | buffer_with_extendable_buffer.cpp \ |
| 81 | byte_array_utils.cpp \ |
| 82 | dict_file_writing_utils.cpp \ |
| 83 | file_utils.cpp \ |
| 84 | forgetting_curve_utils.cpp \ |
| 85 | format_utils.cpp \ |
| 86 | mmapped_buffer.cpp \ |
Keisuke Kuroyanagi | de3121d | 2014-07-29 17:00:29 +0900 | [diff] [blame] | 87 | sparse_table.cpp \ |
| 88 | trie_map.cpp ) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 89 | suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \ |
| 90 | $(addprefix suggest/policyimpl/typing/, \ |
| 91 | scoring_params.cpp \ |
| 92 | typing_scoring.cpp \ |
| 93 | typing_suggest_policy.cpp \ |
| 94 | typing_traversal.cpp \ |
| 95 | typing_weighting.cpp) \ |
| 96 | $(addprefix utils/, \ |
| 97 | autocorrection_threshold_utils.cpp \ |
| 98 | char_utils.cpp \ |
Keisuke Kuroyanagi | e9121a6 | 2014-05-14 20:05:10 +0900 | [diff] [blame] | 99 | jni_data_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 100 | log_utils.cpp \ |
| 101 | time_keeper.cpp) |
Yohei Yukawa | c72652c | 2014-04-02 01:23:07 +0900 | [diff] [blame] | 102 | |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 103 | LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \ |
| 104 | $(addprefix suggest/policyimpl/dictionary/structure/backward/v402/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 105 | ver4_dict_buffers.cpp \ |
| 106 | ver4_dict_constants.cpp \ |
| 107 | ver4_patricia_trie_node_reader.cpp \ |
| 108 | ver4_patricia_trie_node_writer.cpp \ |
| 109 | ver4_patricia_trie_policy.cpp \ |
| 110 | ver4_patricia_trie_reading_utils.cpp \ |
| 111 | ver4_patricia_trie_writing_helper.cpp \ |
| 112 | ver4_pt_node_array_reader.cpp) \ |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 113 | $(addprefix suggest/policyimpl/dictionary/structure/backward/v402/content/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 114 | bigram_dict_content.cpp \ |
| 115 | probability_dict_content.cpp \ |
| 116 | shortcut_dict_content.cpp \ |
| 117 | sparse_table_dict_content.cpp \ |
| 118 | terminal_position_lookup_table.cpp) \ |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 119 | $(addprefix suggest/policyimpl/dictionary/structure/backward/v402/bigram/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 120 | ver4_bigram_list_policy.cpp) |
| 121 | |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 122 | LATIN_IME_CORE_SRC_FILES += $(LATIN_IME_CORE_SRC_FILES_BACKWARD_V402) |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 123 | |
Yohei Yukawa | c72652c | 2014-04-02 01:23:07 +0900 | [diff] [blame] | 124 | LATIN_IME_CORE_TEST_FILES := \ |
Yohei Yukawa | b417d7d | 2014-04-09 11:31:43 +0900 | [diff] [blame] | 125 | defines_test.cpp \ |
Keisuke Kuroyanagi | 26c8066 | 2014-04-09 15:27:25 +0900 | [diff] [blame] | 126 | suggest/core/layout/normal_distribution_2d_test.cpp \ |
Keisuke Kuroyanagi | 111c05f | 2014-04-09 17:15:55 +0900 | [diff] [blame] | 127 | suggest/core/dictionary/bloom_filter_test.cpp \ |
Keisuke Kuroyanagi | d4c9d50 | 2014-07-25 05:18:00 +0900 | [diff] [blame] | 128 | suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer_test.cpp \ |
Keisuke Kuroyanagi | de3121d | 2014-07-29 17:00:29 +0900 | [diff] [blame] | 129 | suggest/policyimpl/dictionary/utils/trie_map_test.cpp \ |
Keisuke Kuroyanagi | 75d8c20 | 2014-07-31 19:32:02 +0900 | [diff] [blame^] | 130 | utils/autocorrection_threshold_utils_test.cpp \ |
| 131 | utils/int_array_view_test.cpp |