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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |