OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_renderer.gypi") ], | 9 [ rebase_path("../chrome_renderer.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 if (enable_extensions && enable_webrtc) { | 148 if (enable_extensions && enable_webrtc) { |
149 sources += | 149 sources += |
150 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, | 150 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, |
151 ".", | 151 ".", |
152 "..") | 152 "..") |
153 } | 153 } |
154 if (enable_spellcheck) { | 154 if (enable_spellcheck) { |
155 sources += | 155 sources += |
156 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") | 156 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") |
| 157 deps += [ "//components/spellcheck/common:common" ] |
| 158 |
157 if (!is_android) { | 159 if (!is_android) { |
158 deps += [ "//third_party/hunspell" ] | 160 deps += [ "//third_party/hunspell" ] |
159 } | 161 } |
160 } | 162 } |
161 if (!use_browser_spellchecker) { | 163 if (!use_browser_spellchecker) { |
162 sources -= [ | 164 sources -= [ |
163 "spellchecker/platform_spelling_engine.cc", | 165 "spellchecker/platform_spelling_engine.cc", |
164 "spellchecker/platform_spelling_engine.h", | 166 "spellchecker/platform_spelling_engine.h", |
165 ] | 167 ] |
166 } | 168 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 ] | 220 ] |
219 } | 221 } |
220 | 222 |
221 if (is_android) { | 223 if (is_android) { |
222 sources -= [ | 224 sources -= [ |
223 "safe_browsing/mock_feature_extractor_clock.cc", | 225 "safe_browsing/mock_feature_extractor_clock.cc", |
224 "safe_browsing/mock_feature_extractor_clock.h", | 226 "safe_browsing/mock_feature_extractor_clock.h", |
225 ] | 227 ] |
226 } | 228 } |
227 } | 229 } |
OLD | NEW |