2013-12-12 15:08:10 +09:00
|
|
|
# Copyright (C) 2013 The Android Open Source Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
LATIN_IME_JNI_SRC_FILES := \
|
|
|
|
com_android_inputmethod_keyboard_ProximityInfo.cpp \
|
|
|
|
com_android_inputmethod_latin_BinaryDictionary.cpp \
|
2014-03-05 12:49:04 +09:00
|
|
|
com_android_inputmethod_latin_BinaryDictionaryUtils.cpp \
|
2013-12-12 15:08:10 +09:00
|
|
|
com_android_inputmethod_latin_DicTraverseSession.cpp \
|
|
|
|
jni_common.cpp
|
|
|
|
|
|
|
|
LATIN_IME_CORE_SRC_FILES := \
|
|
|
|
suggest/core/suggest.cpp \
|
|
|
|
$(addprefix suggest/core/dicnode/, \
|
|
|
|
dic_node.cpp \
|
|
|
|
dic_node_utils.cpp \
|
|
|
|
dic_nodes_cache.cpp) \
|
|
|
|
$(addprefix suggest/core/dictionary/, \
|
|
|
|
dictionary.cpp \
|
2014-06-06 17:37:46 +09:00
|
|
|
dictionary_utils.cpp \
|
2013-12-12 15:08:10 +09:00
|
|
|
digraph_utils.cpp \
|
|
|
|
error_type_utils.cpp \
|
|
|
|
multi_bigram_map.cpp \
|
2014-04-08 18:24:06 +09:00
|
|
|
property/word_property.cpp) \
|
2013-12-12 15:08:10 +09:00
|
|
|
$(addprefix suggest/core/layout/, \
|
|
|
|
additional_proximity_chars.cpp \
|
|
|
|
proximity_info.cpp \
|
|
|
|
proximity_info_params.cpp \
|
|
|
|
proximity_info_state.cpp \
|
|
|
|
proximity_info_state_utils.cpp) \
|
|
|
|
suggest/core/policy/weighting.cpp \
|
|
|
|
suggest/core/session/dic_traverse_session.cpp \
|
2014-03-07 19:36:19 +09:00
|
|
|
$(addprefix suggest/core/result/, \
|
|
|
|
suggestion_results.cpp \
|
|
|
|
suggestions_output_utils.cpp) \
|
2013-12-12 15:08:10 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/, \
|
|
|
|
header/header_policy.cpp \
|
|
|
|
header/header_read_write_utils.cpp \
|
|
|
|
structure/dictionary_structure_with_buffer_policy_factory.cpp) \
|
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \
|
2014-05-12 21:05:14 +09:00
|
|
|
bigram/bigram_list_read_write_utils.cpp \
|
2013-12-12 15:08:10 +09:00
|
|
|
dynamic_pt_gc_event_listeners.cpp \
|
|
|
|
dynamic_pt_reading_helper.cpp \
|
|
|
|
dynamic_pt_reading_utils.cpp \
|
|
|
|
dynamic_pt_updating_helper.cpp \
|
2014-04-30 14:28:08 +09:00
|
|
|
dynamic_pt_writing_utils.cpp \
|
2014-05-12 21:05:14 +09:00
|
|
|
patricia_trie_reading_utils.cpp \
|
|
|
|
shortcut/shortcut_list_reading_utils.cpp ) \
|
2013-12-12 15:08:10 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/v2/, \
|
|
|
|
patricia_trie_policy.cpp \
|
2014-02-10 21:09:55 +09:00
|
|
|
ver2_patricia_trie_node_reader.cpp \
|
|
|
|
ver2_pt_node_array_reader.cpp) \
|
2013-12-12 15:08:10 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/v4/, \
|
|
|
|
ver4_dict_buffers.cpp \
|
|
|
|
ver4_dict_constants.cpp \
|
|
|
|
ver4_patricia_trie_node_reader.cpp \
|
|
|
|
ver4_patricia_trie_node_writer.cpp \
|
|
|
|
ver4_patricia_trie_policy.cpp \
|
|
|
|
ver4_patricia_trie_reading_utils.cpp \
|
2014-02-10 21:06:07 +09:00
|
|
|
ver4_patricia_trie_writing_helper.cpp \
|
|
|
|
ver4_pt_node_array_reader.cpp) \
|
2013-12-12 15:08:10 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \
|
2014-08-01 20:19:16 +09:00
|
|
|
language_model_dict_content.cpp \
|
2013-12-12 15:08:10 +09:00
|
|
|
shortcut_dict_content.cpp \
|
|
|
|
sparse_table_dict_content.cpp \
|
|
|
|
terminal_position_lookup_table.cpp) \
|
|
|
|
$(addprefix suggest/policyimpl/dictionary/utils/, \
|
|
|
|
buffer_with_extendable_buffer.cpp \
|
|
|
|
byte_array_utils.cpp \
|
|
|
|
dict_file_writing_utils.cpp \
|
|
|
|
file_utils.cpp \
|
|
|
|
forgetting_curve_utils.cpp \
|
|
|
|
format_utils.cpp \
|
|
|
|
mmapped_buffer.cpp \
|
2014-07-29 17:00:29 +09:00
|
|
|
sparse_table.cpp \
|
|
|
|
trie_map.cpp ) \
|
2013-12-12 15:08:10 +09:00
|
|
|
suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \
|
|
|
|
$(addprefix suggest/policyimpl/typing/, \
|
|
|
|
scoring_params.cpp \
|
|
|
|
typing_scoring.cpp \
|
|
|
|
typing_suggest_policy.cpp \
|
|
|
|
typing_traversal.cpp \
|
|
|
|
typing_weighting.cpp) \
|
|
|
|
$(addprefix utils/, \
|
|
|
|
autocorrection_threshold_utils.cpp \
|
|
|
|
char_utils.cpp \
|
2014-05-14 20:05:10 +09:00
|
|
|
jni_data_utils.cpp \
|
2013-12-12 15:08:10 +09:00
|
|
|
log_utils.cpp \
|
|
|
|
time_keeper.cpp)
|
2014-04-02 01:23:07 +09:00
|
|
|
|
2014-06-10 19:22:40 +09:00
|
|
|
LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \
|
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/, \
|
2014-05-14 19:09:01 +09:00
|
|
|
ver4_dict_buffers.cpp \
|
|
|
|
ver4_dict_constants.cpp \
|
|
|
|
ver4_patricia_trie_node_reader.cpp \
|
|
|
|
ver4_patricia_trie_node_writer.cpp \
|
|
|
|
ver4_patricia_trie_policy.cpp \
|
|
|
|
ver4_patricia_trie_reading_utils.cpp \
|
|
|
|
ver4_patricia_trie_writing_helper.cpp \
|
|
|
|
ver4_pt_node_array_reader.cpp) \
|
2014-06-10 19:22:40 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/content/, \
|
2014-05-14 19:09:01 +09:00
|
|
|
bigram_dict_content.cpp \
|
|
|
|
probability_dict_content.cpp \
|
|
|
|
shortcut_dict_content.cpp \
|
|
|
|
sparse_table_dict_content.cpp \
|
|
|
|
terminal_position_lookup_table.cpp) \
|
2014-06-10 19:22:40 +09:00
|
|
|
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/bigram/, \
|
2014-05-14 19:09:01 +09:00
|
|
|
ver4_bigram_list_policy.cpp)
|
|
|
|
|
2014-06-10 19:22:40 +09:00
|
|
|
LATIN_IME_CORE_SRC_FILES += $(LATIN_IME_CORE_SRC_FILES_BACKWARD_V402)
|
2014-05-14 19:09:01 +09:00
|
|
|
|
2014-04-02 01:23:07 +09:00
|
|
|
LATIN_IME_CORE_TEST_FILES := \
|
2014-04-09 11:31:43 +09:00
|
|
|
defines_test.cpp \
|
2014-08-29 13:02:22 +09:00
|
|
|
suggest/core/dicnode/dic_node_pool_test.cpp \
|
2014-04-09 17:15:55 +09:00
|
|
|
suggest/core/dictionary/bloom_filter_test.cpp \
|
2014-09-02 17:10:42 +09:00
|
|
|
suggest/core/layout/geometry_utils_test.cpp \
|
2014-08-29 13:02:22 +09:00
|
|
|
suggest/core/layout/normal_distribution_2d_test.cpp \
|
2014-09-04 15:32:30 +09:00
|
|
|
suggest/policyimpl/dictionary/header/header_read_write_utils_test.cpp \
|
2014-08-05 12:38:55 +09:00
|
|
|
suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content_test.cpp \
|
|
|
|
suggest/policyimpl/dictionary/structure/v4/content/probability_entry_test.cpp \
|
2014-08-29 14:16:15 +09:00
|
|
|
suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table_test.cpp \
|
2014-07-25 05:18:00 +09:00
|
|
|
suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer_test.cpp \
|
2014-08-25 16:52:12 +09:00
|
|
|
suggest/policyimpl/dictionary/utils/byte_array_utils_test.cpp \
|
2014-09-09 14:10:53 +09:00
|
|
|
suggest/policyimpl/dictionary/utils/format_utils_test.cpp \
|
2014-08-25 22:27:01 +09:00
|
|
|
suggest/policyimpl/dictionary/utils/sparse_table_test.cpp \
|
2014-07-29 17:00:29 +09:00
|
|
|
suggest/policyimpl/dictionary/utils/trie_map_test.cpp \
|
2014-09-02 19:47:43 +09:00
|
|
|
suggest/policyimpl/utils/damerau_levenshtein_edit_distance_policy_test.cpp \
|
2014-07-31 19:32:02 +09:00
|
|
|
utils/autocorrection_threshold_utils_test.cpp \
|
2014-09-03 13:57:32 +09:00
|
|
|
utils/char_utils_test.cpp \
|
2014-08-27 14:39:27 +09:00
|
|
|
utils/int_array_view_test.cpp \
|
|
|
|
utils/time_keeper_test.cpp
|