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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } | 187 } |
188 | 188 |
189 # In GYP this is part of test_support_common. | 189 # In GYP this is part of test_support_common. |
190 source_set("test_support") { | 190 static_library("test_support") { |
191 testonly = true | 191 testonly = true |
192 visibility = [ "//chrome/test:test_support" ] | 192 visibility = [ "//chrome/test:test_support" ] |
193 | 193 |
194 sources = [ | 194 sources = [ |
195 "chrome_mock_render_thread.cc", | 195 "chrome_mock_render_thread.cc", |
196 "chrome_mock_render_thread.h", | 196 "chrome_mock_render_thread.h", |
197 "safe_browsing/mock_feature_extractor_clock.cc", | 197 "safe_browsing/mock_feature_extractor_clock.cc", |
198 "safe_browsing/mock_feature_extractor_clock.h", | 198 "safe_browsing/mock_feature_extractor_clock.h", |
199 "safe_browsing/test_utils.cc", | 199 "safe_browsing/test_utils.cc", |
200 "safe_browsing/test_utils.h", | 200 "safe_browsing/test_utils.h", |
(...skipping 17 matching lines...) Expand all Loading... |
218 ] | 218 ] |
219 } | 219 } |
220 | 220 |
221 if (is_android) { | 221 if (is_android) { |
222 sources -= [ | 222 sources -= [ |
223 "safe_browsing/mock_feature_extractor_clock.cc", | 223 "safe_browsing/mock_feature_extractor_clock.cc", |
224 "safe_browsing/mock_feature_extractor_clock.h", | 224 "safe_browsing/mock_feature_extractor_clock.h", |
225 ] | 225 ] |
226 } | 226 } |
227 } | 227 } |
OLD | NEW |