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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/tools/embed/rules.gni")
6 7
7 mojo_native_application("prediction") { 8 mojo_native_application("prediction") {
8 output_name = "prediction_service" 9 output_name = "prediction_service"
9 10
10 sources = [ 11 sources = [
12 "dictionary_service.cc",
13 "dictionary_service.h",
14 "input_info.cc",
15 "input_info.h",
16 "key_set.h",
11 "prediction_service_impl.cc", 17 "prediction_service_impl.cc",
12 "prediction_service_impl.h", 18 "prediction_service_impl.h",
19 "proximity_info_factory.cc",
20 "proximity_info_factory.h",
21 "touch_position_correction.cc",
22 "touch_position_correction.h",
13 ] 23 ]
14 24
15 deps = [ 25 deps = [
26 ":dict_file",
27 "//base",
16 "//mojo/application", 28 "//mojo/application",
17 "//mojo/services/prediction/public/interfaces", 29 "//mojo/services/prediction/public/interfaces",
30 "//third_party/prediction:suggest",
18 ] 31 ]
19 } 32 }
20 33
21 mojo_native_application("apptests") { 34 mojo_native_application("apptests") {
22 output_name = "prediction_apptests" 35 output_name = "prediction_apptests"
23 36
24 testonly = true 37 testonly = true
25 38
26 sources = [ 39 sources = [
27 "prediction_apptests.cc", 40 "prediction_apptests.cc",
28 ] 41 ]
29 42
30 deps = [ 43 deps = [
31 "//base", 44 "//base",
32 "//mojo/application", 45 "//mojo/application",
33 "//mojo/application:test_support", 46 "//mojo/application:test_support",
34 "//mojo/services/prediction/public/interfaces", 47 "//mojo/services/prediction/public/interfaces",
35 ] 48 ]
36 49
37 data_deps = [ ":prediction($default_toolchain)" ] 50 data_deps = [ ":prediction($default_toolchain)" ]
38 } 51 }
52
53 embed_file("dict_file") {
54 source = "res/main_en.dict"
55 namespace = "prediction"
56 variable = "kDictFile"
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698