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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 | 175 |
176 if (is_win) { | 176 if (is_win) { |
177 deps += [ "//third_party/wtl" ] | 177 deps += [ "//third_party/wtl" ] |
178 } | 178 } |
179 if (is_android) { | 179 if (is_android) { |
180 sources -= [ | 180 sources -= [ |
181 "spellchecker/hunspell_engine.cc", | 181 "spellchecker/hunspell_engine.cc", |
182 "spellchecker/hunspell_engine.h", | 182 "spellchecker/hunspell_engine.h", |
183 ] | 183 ] |
184 } | 184 } |
185 | |
186 if (is_chromeos) { | |
187 # TODO(sque): Figure out why the below doesn't cause | |
188 # leak_detector_remote_client.cc to be built. | |
189 #sources += | |
190 # rebase_path(gypi_values.chrome_renderer_leak_detector_sources, ".", | |
191 # "..") | |
192 sources += [ | |
193 "leak_detector_remote_client.cc", | |
194 "leak_detector_remote_client.h", | |
195 ] | |
196 deps += [ | |
197 "//components/metrics:interfaces", | |
198 "//components/metrics:leak_detector", | |
199 ] | |
Ilya Sherman
2016/06/10 21:27:35
I might have an oversimplified understanding of th
Simon Que
2016/06/16 07:13:26
Done
| |
200 } | |
185 } | 201 } |
186 | 202 |
187 # In GYP this is part of test_support_common. | 203 # In GYP this is part of test_support_common. |
188 source_set("test_support") { | 204 source_set("test_support") { |
189 testonly = true | 205 testonly = true |
190 visibility = [ "//chrome/test:test_support" ] | 206 visibility = [ "//chrome/test:test_support" ] |
191 | 207 |
192 sources = [ | 208 sources = [ |
193 "chrome_mock_render_thread.cc", | 209 "chrome_mock_render_thread.cc", |
194 "chrome_mock_render_thread.h", | 210 "chrome_mock_render_thread.h", |
(...skipping 21 matching lines...) Expand all Loading... | |
216 ] | 232 ] |
217 } | 233 } |
218 | 234 |
219 if (is_android) { | 235 if (is_android) { |
220 sources -= [ | 236 sources -= [ |
221 "safe_browsing/mock_feature_extractor_clock.cc", | 237 "safe_browsing/mock_feature_extractor_clock.cc", |
222 "safe_browsing/mock_feature_extractor_clock.h", | 238 "safe_browsing/mock_feature_extractor_clock.h", |
223 ] | 239 ] |
224 } | 240 } |
225 } | 241 } |
OLD | NEW |