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

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

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)
Patch Set: rebase Created 3 years, 11 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("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/toolchain/toolchain.gni") 6 import("//build/toolchain/toolchain.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//testing/libfuzzer/fuzzer_test.gni") 9 import("//testing/libfuzzer/fuzzer_test.gni")
10 import("//third_party/WebKit/Source/bindings/bindings.gni") 10 import("//third_party/WebKit/Source/bindings/bindings.gni")
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 "events/RelatedEvent.idl", 315 "events/RelatedEvent.idl",
316 "events/ResourceProgressEvent.idl", 316 "events/ResourceProgressEvent.idl",
317 "events/SecurityPolicyViolationEvent.idl", 317 "events/SecurityPolicyViolationEvent.idl",
318 "events/TextEvent.idl", 318 "events/TextEvent.idl",
319 "events/TouchEvent.idl", 319 "events/TouchEvent.idl",
320 "events/TransitionEvent.idl", 320 "events/TransitionEvent.idl",
321 "events/UIEvent.idl", 321 "events/UIEvent.idl",
322 "events/WheelEvent.idl", 322 "events/WheelEvent.idl",
323 "html/track/TrackEvent.idl", 323 "html/track/TrackEvent.idl",
324 ] 324 ]
325 output_file = "core/EventInterfaces.in" 325 output_file = "core/EventInterfaces.json5"
326 } 326 }
327 327
328 # generated_testing_idls ------------------------------------------------------- 328 # generated_testing_idls -------------------------------------------------------
329 329
330 group("generated_testing_idls") { 330 group("generated_testing_idls") {
331 public_deps = [ 331 public_deps = [
332 ":generated_settings_macros", 332 ":generated_settings_macros",
333 ":generated_testing_idls_internal_runtime_flags", 333 ":generated_testing_idls_internal_runtime_flags",
334 ":generated_testing_idls_settings", 334 ":generated_testing_idls_settings",
335 ] 335 ]
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 css_properties("make_core_generated_css_property_names") { 426 css_properties("make_core_generated_css_property_names") {
427 script = "../build/scripts/make_css_property_names.py" 427 script = "../build/scripts/make_css_property_names.py"
428 outputs = [ 428 outputs = [
429 "$blink_core_output_dir/CSSPropertyNames.cpp", 429 "$blink_core_output_dir/CSSPropertyNames.cpp",
430 "$blink_core_output_dir/CSSPropertyNames.h", 430 "$blink_core_output_dir/CSSPropertyNames.h",
431 ] 431 ]
432 } 432 }
433 433
434 process_in_files("make_core_generated_media_features") { 434 process_in_files("make_core_generated_media_features") {
435 script = "../build/scripts/make_media_features.py" 435 script = "../build/scripts/make_media_features.py"
436 in_files = [ "css/MediaFeatureNames.in" ] 436 in_files = [ "css/MediaFeatureNames.json5" ]
437 other_inputs = [ 437 other_inputs = [
438 "../build/scripts/make_media_features.py", 438 "../build/scripts/make_media_features.py",
439 "../build/scripts/templates/MediaFeatures.h.tmpl", 439 "../build/scripts/templates/MediaFeatures.h.tmpl",
440 ] 440 ]
441 outputs = [ 441 outputs = [
442 "$blink_core_output_dir/MediaFeatures.h", 442 "$blink_core_output_dir/MediaFeatures.h",
443 ] 443 ]
444 } 444 }
445 445
446 css_properties("make_core_generated_style_property_shorthand") { 446 css_properties("make_core_generated_style_property_shorthand") {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 other_inputs = make_element_type_helpers_files 556 other_inputs = make_element_type_helpers_files
557 outputs = [ 557 outputs = [
558 "$blink_core_output_dir/SVGElementTypeHelpers.h", 558 "$blink_core_output_dir/SVGElementTypeHelpers.h",
559 ] 559 ]
560 } 560 }
561 561
562 # make_event_factory ----------------------------------------------------------- 562 # make_event_factory -----------------------------------------------------------
563 563
564 make_event_factory("make_core_generated_event_factory") { 564 make_event_factory("make_core_generated_event_factory") {
565 in_files = [ 565 in_files = [
566 "$blink_core_output_dir/EventInterfaces.in", 566 "$blink_core_output_dir/EventInterfaces.json5",
567 "events/EventAliases.in", 567 "events/EventAliases.json5",
568 ] 568 ]
569 outputs = [ 569 outputs = [
570 "$blink_core_output_dir/Event.cpp", 570 "$blink_core_output_dir/Event.cpp",
571 "$blink_core_output_dir/EventHeaders.h", 571 "$blink_core_output_dir/EventHeaders.h",
572 ] 572 ]
573 } 573 }
574 574
575 # make_names ------------------------------------------------------------------- 575 # make_names -------------------------------------------------------------------
576 576
577 process_in_files("make_core_generated_media_feature_names") { 577 process_in_files("make_core_generated_media_feature_names") {
578 script = "../build/scripts/make_media_feature_names.py" 578 script = "../build/scripts/make_media_feature_names.py"
579 in_files = [ "css/MediaFeatureNames.in" ] 579 in_files = [ "css/MediaFeatureNames.json5" ]
580 other_inputs = make_names_files 580 other_inputs = make_names_files
581 outputs = [ 581 outputs = [
582 "$blink_core_output_dir/MediaFeatureNames.cpp", 582 "$blink_core_output_dir/MediaFeatureNames.cpp",
583 "$blink_core_output_dir/MediaFeatureNames.h", 583 "$blink_core_output_dir/MediaFeatureNames.h",
584 ] 584 ]
585 } 585 }
586 586
587 make_names("make_core_generated_media_type_names") { 587 make_names("make_core_generated_media_type_names") {
588 in_files = [ "css/MediaTypeNames.in" ] 588 in_files = [ "css/MediaTypeNames.json5" ]
589 outputs = [ 589 outputs = [
590 "$blink_core_output_dir/MediaTypeNames.cpp", 590 "$blink_core_output_dir/MediaTypeNames.cpp",
591 "$blink_core_output_dir/MediaTypeNames.h", 591 "$blink_core_output_dir/MediaTypeNames.h",
592 ] 592 ]
593 } 593 }
594 594
595 make_names("make_core_generated_event_names") { 595 make_names("make_core_generated_event_names") {
596 in_files = [ "$blink_core_output_dir/EventInterfaces.in" ] 596 in_files = [ "$blink_core_output_dir/EventInterfaces.json5" ]
597 outputs = [ 597 outputs = [
598 "$blink_core_output_dir/EventNames.cpp", 598 "$blink_core_output_dir/EventNames.cpp",
599 "$blink_core_output_dir/EventNames.h", 599 "$blink_core_output_dir/EventNames.h",
600 ] 600 ]
601 } 601 }
602 602
603 make_names("make_core_generated_event_target_names") { 603 make_names("make_core_generated_event_target_names") {
604 in_files = [ "events/EventTargetFactory.in" ] 604 in_files = [ "events/EventTargetFactory.json5" ]
605 outputs = [ 605 outputs = [
606 "$blink_core_output_dir/EventTargetNames.cpp", 606 "$blink_core_output_dir/EventTargetNames.cpp",
607 "$blink_core_output_dir/EventTargetNames.h", 607 "$blink_core_output_dir/EventTargetNames.h",
608 ] 608 ]
609 } 609 }
610 610
611 make_names("make_core_generated_fetch_initiator_type_names") { 611 make_names("make_core_generated_fetch_initiator_type_names") {
612 in_files = [ "fetch/FetchInitiatorTypeNames.in" ] 612 in_files = [ "fetch/FetchInitiatorTypeNames.json5" ]
613 outputs = [ 613 outputs = [
614 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", 614 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp",
615 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h", 615 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h",
616 ] 616 ]
617 } 617 }
618 618
619 make_names("make_core_generated_event_type_names") { 619 make_names("make_core_generated_event_type_names") {
620 in_files = [ "events/EventTypeNames.in" ] 620 in_files = [ "events/EventTypeNames.json5" ]
621 outputs = [ 621 outputs = [
622 "$blink_core_output_dir/EventTypeNames.cpp", 622 "$blink_core_output_dir/EventTypeNames.cpp",
623 "$blink_core_output_dir/EventTypeNames.h", 623 "$blink_core_output_dir/EventTypeNames.h",
624 ] 624 ]
625 } 625 }
626 626
627 make_names("make_core_generated_html_tokenizer_names") { 627 make_names("make_core_generated_html_tokenizer_names") {
628 in_files = [ "html/parser/HTMLTokenizerNames.in" ] 628 in_files = [ "html/parser/HTMLTokenizerNames.json5" ]
629 outputs = [ 629 outputs = [
630 "$blink_core_output_dir/HTMLTokenizerNames.cpp", 630 "$blink_core_output_dir/HTMLTokenizerNames.cpp",
631 "$blink_core_output_dir/HTMLTokenizerNames.h", 631 "$blink_core_output_dir/HTMLTokenizerNames.h",
632 ] 632 ]
633 } 633 }
634 634
635 make_names("make_core_generated_input_type_names") { 635 make_names("make_core_generated_input_type_names") {
636 in_files = [ "html/forms/InputTypeNames.in" ] 636 in_files = [ "html/forms/InputTypeNames.json5" ]
637 outputs = [ 637 outputs = [
638 "$blink_core_output_dir/InputTypeNames.cpp", 638 "$blink_core_output_dir/InputTypeNames.cpp",
639 "$blink_core_output_dir/InputTypeNames.h", 639 "$blink_core_output_dir/InputTypeNames.h",
640 ] 640 ]
641 } 641 }
642 642
643 make_names("make_core_generated_input_mode_names") { 643 make_names("make_core_generated_input_mode_names") {
644 in_files = [ "editing/InputModeNames.in" ] 644 in_files = [ "editing/InputModeNames.json5" ]
645 outputs = [ 645 outputs = [
646 "$blink_core_output_dir/InputModeNames.cpp", 646 "$blink_core_output_dir/InputModeNames.cpp",
647 "$blink_core_output_dir/InputModeNames.h", 647 "$blink_core_output_dir/InputModeNames.h",
648 ] 648 ]
649 } 649 }
650 650
651 # make_qualified_names --------------------------------------------------------- 651 # make_qualified_names ---------------------------------------------------------
652 652
653 make_qualified_names("make_core_generated_math_ml_names") { 653 make_qualified_names("make_core_generated_math_ml_names") {
654 in_files = [ 654 in_files = [
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 sources = [ 1328 sources = [
1329 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1329 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1330 ] 1330 ]
1331 deps = [ 1331 deps = [
1332 ":core", 1332 ":core",
1333 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1333 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1334 ] 1334 ]
1335 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1335 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1336 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1336 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1337 } 1337 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698