| Index: services/prediction/BUILD.gn
|
| diff --git a/services/prediction/BUILD.gn b/services/prediction/BUILD.gn
|
| index 9d8e5311e7c83b5943745a3f69fa0cb66fe20053..647ad4c9644bf840acbafa07f0b0a6a35797c5a6 100644
|
| --- a/services/prediction/BUILD.gn
|
| +++ b/services/prediction/BUILD.gn
|
| @@ -3,18 +3,31 @@
|
| # found in the LICENSE file.
|
|
|
| import("//mojo/public/mojo_application.gni")
|
| +import("//mojo/tools/embed/rules.gni")
|
|
|
| mojo_native_application("prediction") {
|
| output_name = "prediction_service"
|
|
|
| sources = [
|
| + "dictionary_service.cc",
|
| + "dictionary_service.h",
|
| + "input_info.cc",
|
| + "input_info.h",
|
| + "key_set.h",
|
| "prediction_service_impl.cc",
|
| "prediction_service_impl.h",
|
| + "proximity_info_factory.cc",
|
| + "proximity_info_factory.h",
|
| + "touch_position_correction.cc",
|
| + "touch_position_correction.h",
|
| ]
|
|
|
| deps = [
|
| + ":dict_file",
|
| + "//base",
|
| "//mojo/application",
|
| "//mojo/services/prediction/public/interfaces",
|
| + "//third_party/android_prediction:suggest",
|
| ]
|
| }
|
|
|
| @@ -36,3 +49,9 @@ mojo_native_application("apptests") {
|
|
|
| data_deps = [ ":prediction($default_toolchain)" ]
|
| }
|
| +
|
| +embed_file("dict_file") {
|
| + source = "res/main_en.dict"
|
| + namespace = "prediction"
|
| + variable = "kDictFile"
|
| +}
|
|
|