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

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

Issue 1263423006: Rename spellchecker preprocessor flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
« no previous file with comments | « chrome/common/spellcheck_messages.h ('k') | chrome/renderer/spellchecker/hunspell_engine.cc » ('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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 ".", 138 ".",
139 "..") 139 "..")
140 } 140 }
141 if (enable_spellcheck) { 141 if (enable_spellcheck) {
142 sources += 142 sources +=
143 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..") 143 rebase_path(gypi_values.chrome_renderer_spellchecker_sources, ".", "..")
144 if (!is_android) { 144 if (!is_android) {
145 deps += [ "//third_party/hunspell" ] 145 deps += [ "//third_party/hunspell" ]
146 } 146 }
147 } 147 }
148 if (!use_platform_spellchecker) { 148 if (!use_browser_spellchecker) {
149 sources -= [ 149 sources -= [
150 "spellchecker/platform_spelling_engine.cc", 150 "spellchecker/platform_spelling_engine.cc",
151 "spellchecker/platform_spelling_engine.h", 151 "spellchecker/platform_spelling_engine.h",
152 ] 152 ]
153 } 153 }
154 if (enable_basic_printing || enable_print_preview) { 154 if (enable_basic_printing || enable_print_preview) {
155 deps += [ "//printing" ] 155 deps += [ "//printing" ]
156 sources += 156 sources +=
157 rebase_path(gypi_values.chrome_renderer_printing_sources, ".", "..") 157 rebase_path(gypi_values.chrome_renderer_printing_sources, ".", "..")
158 if (enable_print_preview) { 158 if (enable_print_preview) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 deps += [ "//chrome/service" ] 205 deps += [ "//chrome/service" ]
206 } 206 }
207 207
208 if (enable_webrtc) { 208 if (enable_webrtc) {
209 sources += [ 209 sources += [
210 "media/mock_webrtc_logging_message_filter.cc", 210 "media/mock_webrtc_logging_message_filter.cc",
211 "media/mock_webrtc_logging_message_filter.h", 211 "media/mock_webrtc_logging_message_filter.h",
212 ] 212 ]
213 } 213 }
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/common/spellcheck_messages.h ('k') | chrome/renderer/spellchecker/hunspell_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698