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

Side by Side Diff: chrome/renderer/BUILD.gn

Issue 2166683003: Componentize spellcheck [1]: create component and move switches there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + --no-find-copies Created 4 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698