OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("browser") { | 9 source_set("browser") { |
10 sources = [ | 10 sources = [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 "spellcheck_platform_android.cc", | 27 "spellcheck_platform_android.cc", |
28 "spellcheck_platform_mac.mm", | 28 "spellcheck_platform_mac.mm", |
29 "spellchecker_session_bridge_android.cc", | 29 "spellchecker_session_bridge_android.cc", |
30 "spellchecker_session_bridge_android.h", | 30 "spellchecker_session_bridge_android.h", |
31 "spelling_service_client.cc", | 31 "spelling_service_client.cc", |
32 "spelling_service_client.h", | 32 "spelling_service_client.h", |
33 "word_trimmer.cc", | 33 "word_trimmer.cc", |
34 "word_trimmer.h", | 34 "word_trimmer.h", |
35 ] | 35 ] |
36 | 36 |
| 37 public_deps = [ |
| 38 "//base", |
| 39 "//components/spellcheck/common", |
| 40 ] |
37 deps = [ | 41 deps = [ |
38 "//base", | 42 "//components/data_use_measurement/core", |
39 "//components/data_use_measurement/core:core", | 43 "//components/prefs", |
40 "//components/prefs:prefs", | 44 "//components/user_prefs", |
41 "//components/spellcheck/common", | |
42 "//components/user_prefs:user_prefs", | |
43 "//content/public/browser", | 45 "//content/public/browser", |
44 "//content/public/common", | 46 "//content/public/common", |
45 "//google_apis:google_apis", | 47 "//google_apis", |
46 "//net:net", | 48 "//net", |
47 ] | 49 ] |
48 | 50 |
49 if (is_android) { | 51 if (is_android) { |
50 sources += [ | 52 sources += [ |
51 "android/component_jni_registrar.cc", | 53 "android/component_jni_registrar.cc", |
52 "android/component_jni_registrar.h", | 54 "android/component_jni_registrar.h", |
53 ] | 55 ] |
54 deps += [ "android:jni_headers" ] | 56 deps += [ "android:jni_headers" ] |
55 } | 57 } |
56 } | 58 } |
57 | 59 |
58 source_set("unit_tests") { | 60 source_set("unit_tests") { |
59 testonly = true | 61 testonly = true |
60 sources = [ | 62 sources = [ |
61 "feedback_sender_unittest.cc", | 63 "feedback_sender_unittest.cc", |
62 "feedback_unittest.cc", | 64 "feedback_unittest.cc", |
63 "misspelling_unittest.cc", | 65 "misspelling_unittest.cc", |
64 "spellcheck_action_unittest.cc", | 66 "spellcheck_action_unittest.cc", |
65 "spellcheck_host_metrics_unittest.cc", | 67 "spellcheck_host_metrics_unittest.cc", |
66 "spellcheck_platform_mac_unittest.cc", | 68 "spellcheck_platform_mac_unittest.cc", |
67 "word_trimmer_unittest.cc", | 69 "word_trimmer_unittest.cc", |
68 ] | 70 ] |
69 | 71 |
70 deps = [ | 72 deps = [ |
71 ":browser", | 73 ":browser", |
72 "//base", | 74 "//base", |
73 "//base/test:test_support", | 75 "//base/test:test_support", |
74 "//components/spellcheck/common", | 76 "//components/spellcheck/common", |
75 "//components/variations:variations", | 77 "//components/variations", |
76 "//content/test:test_support", | 78 "//content/test:test_support", |
77 "//net:test_support", | 79 "//net:test_support", |
78 "//testing/gtest", | 80 "//testing/gtest", |
79 ] | 81 ] |
80 } | 82 } |
OLD | NEW |