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 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
7 | 8 |
8 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_renderer.gypi") ], | 10 [ rebase_path("../chrome_renderer.gypi") ], |
10 "scope", | 11 "scope", |
11 [ "../chrome_renderer.gypi" ]) | 12 [ "../chrome_renderer.gypi" ]) |
12 | 13 |
13 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 14 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
14 # (generate_renderer_resources action) | 15 # (generate_renderer_resources action) |
15 grit("resources") { | 16 grit("resources") { |
16 source = "resources/renderer_resources.grd" | 17 source = "resources/renderer_resources.grd" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 175 |
175 if (is_win) { | 176 if (is_win) { |
176 deps += [ "//third_party/wtl" ] | 177 deps += [ "//third_party/wtl" ] |
177 } | 178 } |
178 if (is_android) { | 179 if (is_android) { |
179 sources -= [ | 180 sources -= [ |
180 "spellchecker/hunspell_engine.cc", | 181 "spellchecker/hunspell_engine.cc", |
181 "spellchecker/hunspell_engine.h", | 182 "spellchecker/hunspell_engine.h", |
182 ] | 183 ] |
183 } | 184 } |
| 185 |
| 186 if (enable_ipc_fuzzer) { |
| 187 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
| 188 } |
184 } | 189 } |
185 | 190 |
186 # In GYP this is part of test_support_common. | 191 # In GYP this is part of test_support_common. |
187 source_set("test_support") { | 192 source_set("test_support") { |
188 testonly = true | 193 testonly = true |
189 visibility = [ "//chrome/test:test_support" ] | 194 visibility = [ "//chrome/test:test_support" ] |
190 | 195 |
191 sources = [ | 196 sources = [ |
192 "chrome_mock_render_thread.cc", | 197 "chrome_mock_render_thread.cc", |
193 "chrome_mock_render_thread.h", | 198 "chrome_mock_render_thread.h", |
(...skipping 21 matching lines...) Expand all Loading... |
215 ] | 220 ] |
216 } | 221 } |
217 | 222 |
218 if (is_android) { | 223 if (is_android) { |
219 sources -= [ | 224 sources -= [ |
220 "safe_browsing/mock_feature_extractor_clock.cc", | 225 "safe_browsing/mock_feature_extractor_clock.cc", |
221 "safe_browsing/mock_feature_extractor_clock.h", | 226 "safe_browsing/mock_feature_extractor_clock.h", |
222 ] | 227 ] |
223 } | 228 } |
224 } | 229 } |
OLD | NEW |