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 := \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 23 | $(addprefix dictionary/header/, \ |
| 24 | header_policy.cpp \ |
| 25 | header_read_write_utils.cpp) \ |
| 26 | dictionary/property/ngram_context.cpp \ |
| 27 | dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp \ |
| 28 | $(addprefix dictionary/structure/pt_common/, \ |
| 29 | bigram/bigram_list_read_write_utils.cpp \ |
| 30 | dynamic_pt_gc_event_listeners.cpp \ |
| 31 | dynamic_pt_reading_helper.cpp \ |
| 32 | dynamic_pt_reading_utils.cpp \ |
| 33 | dynamic_pt_updating_helper.cpp \ |
| 34 | dynamic_pt_writing_utils.cpp \ |
| 35 | patricia_trie_reading_utils.cpp \ |
| 36 | shortcut/shortcut_list_reading_utils.cpp) \ |
| 37 | $(addprefix dictionary/structure/v2/, \ |
| 38 | patricia_trie_policy.cpp \ |
| 39 | ver2_patricia_trie_node_reader.cpp \ |
| 40 | ver2_pt_node_array_reader.cpp) \ |
| 41 | $(addprefix dictionary/structure/v4/, \ |
| 42 | ver4_dict_buffers.cpp \ |
| 43 | ver4_dict_constants.cpp \ |
| 44 | ver4_patricia_trie_node_reader.cpp \ |
| 45 | ver4_patricia_trie_node_writer.cpp \ |
| 46 | ver4_patricia_trie_policy.cpp \ |
| 47 | ver4_patricia_trie_reading_utils.cpp \ |
| 48 | ver4_patricia_trie_writing_helper.cpp \ |
| 49 | ver4_pt_node_array_reader.cpp) \ |
| 50 | $(addprefix dictionary/structure/v4/content/, \ |
| 51 | dynamic_language_model_probability_utils.cpp \ |
| 52 | language_model_dict_content.cpp \ |
| 53 | language_model_dict_content_global_counters.cpp \ |
| 54 | shortcut_dict_content.cpp \ |
| 55 | sparse_table_dict_content.cpp \ |
| 56 | terminal_position_lookup_table.cpp) \ |
| 57 | $(addprefix dictionary/utils/, \ |
| 58 | buffer_with_extendable_buffer.cpp \ |
| 59 | byte_array_utils.cpp \ |
| 60 | dict_file_writing_utils.cpp \ |
| 61 | file_utils.cpp \ |
| 62 | forgetting_curve_utils.cpp \ |
| 63 | format_utils.cpp \ |
| 64 | mmapped_buffer.cpp \ |
| 65 | multi_bigram_map.cpp \ |
| 66 | probability_utils.cpp \ |
| 67 | sparse_table.cpp \ |
| 68 | trie_map.cpp ) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 69 | suggest/core/suggest.cpp \ |
| 70 | $(addprefix suggest/core/dicnode/, \ |
| 71 | dic_node.cpp \ |
| 72 | dic_node_utils.cpp \ |
| 73 | dic_nodes_cache.cpp) \ |
| 74 | $(addprefix suggest/core/dictionary/, \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 75 | dictionary.cpp \ |
Keisuke Kuroyanagi | d9b8602 | 2014-06-06 17:37:46 +0900 | [diff] [blame] | 76 | dictionary_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 77 | digraph_utils.cpp \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 78 | error_type_utils.cpp ) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 79 | $(addprefix suggest/core/layout/, \ |
| 80 | additional_proximity_chars.cpp \ |
| 81 | proximity_info.cpp \ |
| 82 | proximity_info_params.cpp \ |
| 83 | proximity_info_state.cpp \ |
| 84 | proximity_info_state_utils.cpp) \ |
| 85 | suggest/core/policy/weighting.cpp \ |
| 86 | suggest/core/session/dic_traverse_session.cpp \ |
Keisuke Kuroyanagi | e137ec0 | 2014-03-07 19:36:19 +0900 | [diff] [blame] | 87 | $(addprefix suggest/core/result/, \ |
| 88 | suggestion_results.cpp \ |
| 89 | suggestions_output_utils.cpp) \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 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 \ |
Keisuke Kuroyanagi | e9121a6 | 2014-05-14 20:05:10 +0900 | [diff] [blame] | 100 | jni_data_utils.cpp \ |
Jean Chalard | a245d15 | 2013-12-12 15:08:10 +0900 | [diff] [blame] | 101 | log_utils.cpp \ |
| 102 | time_keeper.cpp) |
Yohei Yukawa | c72652c | 2014-04-02 01:23:07 +0900 | [diff] [blame] | 103 | |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 104 | LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 105 | $(addprefix dictionary/structure/backward/v402/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 106 | ver4_dict_buffers.cpp \ |
| 107 | ver4_dict_constants.cpp \ |
| 108 | ver4_patricia_trie_node_reader.cpp \ |
| 109 | ver4_patricia_trie_node_writer.cpp \ |
| 110 | ver4_patricia_trie_policy.cpp \ |
| 111 | ver4_patricia_trie_reading_utils.cpp \ |
| 112 | ver4_patricia_trie_writing_helper.cpp \ |
| 113 | ver4_pt_node_array_reader.cpp) \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 114 | $(addprefix dictionary/structure/backward/v402/content/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 115 | bigram_dict_content.cpp \ |
| 116 | probability_dict_content.cpp \ |
| 117 | shortcut_dict_content.cpp \ |
| 118 | sparse_table_dict_content.cpp \ |
| 119 | terminal_position_lookup_table.cpp) \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 120 | $(addprefix dictionary/structure/backward/v402/bigram/, \ |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 121 | ver4_bigram_list_policy.cpp) |
| 122 | |
Keisuke Kuroyanagi | 07e1412 | 2014-06-10 19:22:40 +0900 | [diff] [blame] | 123 | LATIN_IME_CORE_SRC_FILES += $(LATIN_IME_CORE_SRC_FILES_BACKWARD_V402) |
Keisuke Kuroyanagi | 6bf2681 | 2014-05-14 19:09:01 +0900 | [diff] [blame] | 124 | |
Yohei Yukawa | c72652c | 2014-04-02 01:23:07 +0900 | [diff] [blame] | 125 | LATIN_IME_CORE_TEST_FILES := \ |
Yohei Yukawa | b417d7d | 2014-04-09 11:31:43 +0900 | [diff] [blame] | 126 | defines_test.cpp \ |
Keisuke Kuroyanagi | 88bc312 | 2014-12-17 16:02:09 +0900 | [diff] [blame^] | 127 | dictionary/header/header_read_write_utils_test.cpp \ |
| 128 | dictionary/structure/v4/content/language_model_dict_content_test.cpp \ |
| 129 | dictionary/structure/v4/content/language_model_dict_content_global_counters_test.cpp \ |
| 130 | dictionary/structure/v4/content/probability_entry_test.cpp \ |
| 131 | dictionary/structure/v4/content/terminal_position_lookup_table_test.cpp \ |
| 132 | dictionary/utils/bloom_filter_test.cpp \ |
| 133 | dictionary/utils/buffer_with_extendable_buffer_test.cpp \ |
| 134 | dictionary/utils/byte_array_utils_test.cpp \ |
| 135 | dictionary/utils/format_utils_test.cpp \ |
| 136 | dictionary/utils/probability_utils_test.cpp \ |
| 137 | dictionary/utils/sparse_table_test.cpp \ |
| 138 | dictionary/utils/trie_map_test.cpp \ |
Keisuke Kuroyanagi | 40b6d6c | 2014-08-29 13:02:22 +0900 | [diff] [blame] | 139 | suggest/core/dicnode/dic_node_pool_test.cpp \ |
Keisuke Kuroyanagi | 985b2c2 | 2014-09-02 17:10:42 +0900 | [diff] [blame] | 140 | suggest/core/layout/geometry_utils_test.cpp \ |
Keisuke Kuroyanagi | 40b6d6c | 2014-08-29 13:02:22 +0900 | [diff] [blame] | 141 | suggest/core/layout/normal_distribution_2d_test.cpp \ |
Keisuke Kuroyanagi | 6973216 | 2014-09-02 19:47:43 +0900 | [diff] [blame] | 142 | suggest/policyimpl/utils/damerau_levenshtein_edit_distance_policy_test.cpp \ |
Keisuke Kuroyanagi | 75d8c20 | 2014-07-31 19:32:02 +0900 | [diff] [blame] | 143 | utils/autocorrection_threshold_utils_test.cpp \ |
Keisuke Kuroyanagi | 29dcf97 | 2014-09-03 13:57:32 +0900 | [diff] [blame] | 144 | utils/char_utils_test.cpp \ |
Keisuke Kuroyanagi | 78aea9f | 2014-08-27 14:39:27 +0900 | [diff] [blame] | 145 | utils/int_array_view_test.cpp \ |
| 146 | utils/time_keeper_test.cpp |