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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 } | 149 } |
150 if (enable_extensions && enable_webrtc) { | 150 if (enable_extensions && enable_webrtc) { |
151 sources += | 151 sources += |
152 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, | 152 rebase_path(gypi_values.chrome_renderer_webrtc_extensions_sources, |
153 ".", | 153 ".", |
154 "..") | 154 "..") |
155 } | 155 } |
156 if (enable_spellcheck) { | 156 if (enable_spellcheck) { |
157 sources += | 157 sources += |
158 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") | 158 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") |
| 159 deps += [ "//components/spellcheck/common:common" ] |
| 160 |
159 if (!is_android) { | 161 if (!is_android) { |
160 deps += [ "//third_party/hunspell" ] | 162 deps += [ "//third_party/hunspell" ] |
161 } | 163 } |
162 } | 164 } |
163 if (!use_browser_spellchecker) { | 165 if (!use_browser_spellchecker) { |
164 sources -= [ | 166 sources -= [ |
165 "spellchecker/platform_spelling_engine.cc", | 167 "spellchecker/platform_spelling_engine.cc", |
166 "spellchecker/platform_spelling_engine.h", | 168 "spellchecker/platform_spelling_engine.h", |
167 ] | 169 ] |
168 } | 170 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 ] | 226 ] |
225 } | 227 } |
226 | 228 |
227 if (is_android) { | 229 if (is_android) { |
228 sources -= [ | 230 sources -= [ |
229 "safe_browsing/mock_feature_extractor_clock.cc", | 231 "safe_browsing/mock_feature_extractor_clock.cc", |
230 "safe_browsing/mock_feature_extractor_clock.h", | 232 "safe_browsing/mock_feature_extractor_clock.h", |
231 ] | 233 ] |
232 } | 234 } |
233 } | 235 } |
OLD | NEW |