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