Index: services/prediction/BUILD.gn |
diff --git a/services/prediction/BUILD.gn b/services/prediction/BUILD.gn |
index 9d8e5311e7c83b5943745a3f69fa0cb66fe20053..d45b2e6a94861b7a589cc9be77f51353946b99cf 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/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" |
+} |