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