Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1651)

Unified Diff: services/prediction/BUILD.gn

Issue 1247903003: Add spellcheck and word suggestion to the prediction service (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
+}

Powered by Google App Engine
This is Rietveld 408576698