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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 if (is_win) { | 178 if (is_win) { |
179 deps += [ "//third_party/wtl" ] | 179 deps += [ "//third_party/wtl" ] |
180 } | 180 } |
181 if (is_android) { | 181 if (is_android) { |
182 sources -= [ | 182 sources -= [ |
183 "spellchecker/hunspell_engine.cc", | 183 "spellchecker/hunspell_engine.cc", |
184 "spellchecker/hunspell_engine.h", | 184 "spellchecker/hunspell_engine.h", |
185 ] | 185 ] |
186 } | 186 } |
187 | |
188 if (is_chromeos) { | |
189 deps += [ "//chrome/renderer/leak_detector:leak_detector" ] | |
190 } | |
191 } | 187 } |
192 | 188 |
193 # In GYP this is part of test_support_common. | 189 # In GYP this is part of test_support_common. |
194 static_library("test_support") { | 190 static_library("test_support") { |
195 testonly = true | 191 testonly = true |
196 visibility = [ "//chrome/test:test_support" ] | 192 visibility = [ "//chrome/test:test_support" ] |
197 | 193 |
198 sources = [ | 194 sources = [ |
199 "chrome_mock_render_thread.cc", | 195 "chrome_mock_render_thread.cc", |
200 "chrome_mock_render_thread.h", | 196 "chrome_mock_render_thread.h", |
(...skipping 21 matching lines...) Expand all Loading... |
222 ] | 218 ] |
223 } | 219 } |
224 | 220 |
225 if (is_android) { | 221 if (is_android) { |
226 sources -= [ | 222 sources -= [ |
227 "safe_browsing/mock_feature_extractor_clock.cc", | 223 "safe_browsing/mock_feature_extractor_clock.cc", |
228 "safe_browsing/mock_feature_extractor_clock.h", | 224 "safe_browsing/mock_feature_extractor_clock.h", |
229 ] | 225 ] |
230 } | 226 } |
231 } | 227 } |
OLD | NEW |