Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/BUILD.gn

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//testing/libfuzzer/fuzzer_test.gni") 5 import("//testing/libfuzzer/fuzzer_test.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
8 import("//third_party/WebKit/Source/core/core.gni") 8 import("//third_party/WebKit/Source/core/core.gni")
9 import("//third_party/WebKit/Source/core/core_idl_files.gni") 9 import("//third_party/WebKit/Source/core/core_idl_files.gni")
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 core_definition_idl_files, 229 core_definition_idl_files,
230 [ 230 [
231 "$bindings_core_v8_output_dir/V8{{source_name_part}}.cpp", 231 "$bindings_core_v8_output_dir/V8{{source_name_part}}.cpp",
232 "$bindings_core_v8_output_dir/V8{{source_name_part}}.h", 232 "$bindings_core_v8_output_dir/V8{{source_name_part}}.h",
233 ]) 233 ])
234 } 234 }
235 235
236 group("bindings_core_v8_generated") { 236 group("bindings_core_v8_generated") {
237 public_deps = [ 237 public_deps = [
238 ":bindings_core_impl_generated", 238 ":bindings_core_impl_generated",
239 ":fake_gen",
239 ] 240 ]
240 if (is_win) { 241 if (is_win) {
241 public_deps += [ ":generate_bindings_core_v8_all_interfaces" ] 242 public_deps += [ ":generate_bindings_core_v8_all_interfaces" ]
242 } else { 243 } else {
243 public_deps += [ ":generate_bindings_core_v8_interfaces" ] 244 public_deps += [ ":generate_bindings_core_v8_interfaces" ]
244 } 245 }
245 } 246 }
246 247
247 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces 248 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
248 # Interface IDL files: generate individual bindings (includes testing) 249 # Interface IDL files: generate individual bindings (includes testing)
249 idl_compiler("generate_bindings_core_v8_interfaces") { 250 idl_compiler("generate_bindings_core_v8_interfaces") {
250 sources = core_definition_idl_files + core_testing_definition_idl_files + 251 sources = core_definition_idl_files + core_testing_definition_idl_files +
251 generated_webcore_testing_idl_files 252 generated_webcore_testing_idl_files
252 output_dir = bindings_core_v8_output_dir 253 output_dir = bindings_core_v8_output_dir
253 output_name_suffix = "" 254 output_name_suffix = ""
254 target_component = "core" 255 target_component = "core"
255 } 256 }
256 257
258 action("fake_gen") {
259 input_dir = "//third_party/WebKit/fake_gen"
260 api_path = "web/api"
261 output_dir = "$root_gen_dir/blink/$api_path"
262 gen_files = [
263 "element.h",
264 "node.h",
265 "event_target.h",
266 ]
267
268 script_name = "$input_dir/fake_the_gen.py"
269
270 inputs = [
271 script_name,
272 ]
273 outputs = []
274 foreach(gen_file, gen_files) {
275 inputs += [ "$input_dir/$api_path/$gen_file" ]
276 outputs += [ "$output_dir/$gen_file" ]
277 }
278 script = script_name
279
280 args = [ rebase_path("$output_dir") ]
281 }
282
257 aggregate_generated_bindings("generate_bindings_core_v8_all_interfaces") { 283 aggregate_generated_bindings("generate_bindings_core_v8_all_interfaces") {
258 sources = core_definition_idl_files 284 sources = core_definition_idl_files
259 outputs = [ 285 outputs = [
260 "$bindings_core_v8_output_dir/V8GeneratedCoreBindings.cpp", 286 "$bindings_core_v8_output_dir/V8GeneratedCoreBindings.cpp",
261 ] 287 ]
262 component = "core" 288 component = "core"
263 public_deps = [ 289 public_deps = [
264 ":generate_bindings_core_v8_interfaces", 290 ":generate_bindings_core_v8_interfaces",
265 ] 291 ]
266 } 292 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 fuzzer_test("v8_serialized_script_value_fuzzer") { 338 fuzzer_test("v8_serialized_script_value_fuzzer") {
313 sources = [ 339 sources = [
314 "serialization/SerializedScriptValueFuzzer.cpp", 340 "serialization/SerializedScriptValueFuzzer.cpp",
315 ] 341 ]
316 seed_corpus = "serialization/fuzz_corpus" 342 seed_corpus = "serialization/fuzz_corpus"
317 deps = [ 343 deps = [
318 "//third_party/WebKit/Source/core", 344 "//third_party/WebKit/Source/core",
319 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 345 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
320 ] 346 ]
321 } 347 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698