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

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: fix PLATFORM_EXPORT 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "events/RelatedEvent.idl", 314 "events/RelatedEvent.idl",
315 "events/ResourceProgressEvent.idl", 315 "events/ResourceProgressEvent.idl",
316 "events/SecurityPolicyViolationEvent.idl", 316 "events/SecurityPolicyViolationEvent.idl",
317 "events/TextEvent.idl", 317 "events/TextEvent.idl",
318 "events/TouchEvent.idl", 318 "events/TouchEvent.idl",
319 "events/TransitionEvent.idl", 319 "events/TransitionEvent.idl",
320 "events/UIEvent.idl", 320 "events/UIEvent.idl",
321 "events/WheelEvent.idl", 321 "events/WheelEvent.idl",
322 "html/track/TrackEvent.idl", 322 "html/track/TrackEvent.idl",
323 ] 323 ]
324 output_file = "core/EventInterfaces.in" 324 output_file = "core/EventInterfaces.json5"
325 } 325 }
326 326
327 # generated_testing_idls ------------------------------------------------------- 327 # generated_testing_idls -------------------------------------------------------
328 328
329 group("generated_testing_idls") { 329 group("generated_testing_idls") {
330 public_deps = [ 330 public_deps = [
331 ":generated_settings_macros", 331 ":generated_settings_macros",
332 ":generated_testing_idls_internal_runtime_flags", 332 ":generated_testing_idls_internal_runtime_flags",
333 ":generated_testing_idls_settings", 333 ":generated_testing_idls_settings",
334 ] 334 ]
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 css_properties("make_core_generated_css_property_names") { 425 css_properties("make_core_generated_css_property_names") {
426 script = "../build/scripts/make_css_property_names.py" 426 script = "../build/scripts/make_css_property_names.py"
427 outputs = [ 427 outputs = [
428 "$blink_core_output_dir/CSSPropertyNames.cpp", 428 "$blink_core_output_dir/CSSPropertyNames.cpp",
429 "$blink_core_output_dir/CSSPropertyNames.h", 429 "$blink_core_output_dir/CSSPropertyNames.h",
430 ] 430 ]
431 } 431 }
432 432
433 process_in_files("make_core_generated_media_features") { 433 process_in_files("make_core_generated_media_features") {
434 script = "../build/scripts/make_media_features.py" 434 script = "../build/scripts/make_media_features.py"
435 in_files = [ "css/MediaFeatureNames.in" ] 435 in_files = [ "css/MediaFeatureNames.json5" ]
436 other_inputs = [ 436 other_inputs = [
437 "../build/scripts/make_media_features.py", 437 "../build/scripts/make_media_features.py",
438 "../build/scripts/templates/MediaFeatures.h.tmpl", 438 "../build/scripts/templates/MediaFeatures.h.tmpl",
439 ] 439 ]
440 outputs = [ 440 outputs = [
441 "$blink_core_output_dir/MediaFeatures.h", 441 "$blink_core_output_dir/MediaFeatures.h",
442 ] 442 ]
443 } 443 }
444 444
445 css_properties("make_core_generated_style_property_shorthand") { 445 css_properties("make_core_generated_style_property_shorthand") {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 other_inputs = make_element_type_helpers_files 555 other_inputs = make_element_type_helpers_files
556 outputs = [ 556 outputs = [
557 "$blink_core_output_dir/SVGElementTypeHelpers.h", 557 "$blink_core_output_dir/SVGElementTypeHelpers.h",
558 ] 558 ]
559 } 559 }
560 560
561 # make_event_factory ----------------------------------------------------------- 561 # make_event_factory -----------------------------------------------------------
562 562
563 make_event_factory("make_core_generated_event_factory") { 563 make_event_factory("make_core_generated_event_factory") {
564 in_files = [ 564 in_files = [
565 "$blink_core_output_dir/EventInterfaces.in", 565 "$blink_core_output_dir/EventInterfaces.json5",
566 "events/EventAliases.in", 566 "events/EventAliases.json5",
567 ] 567 ]
568 outputs = [ 568 outputs = [
569 "$blink_core_output_dir/Event.cpp", 569 "$blink_core_output_dir/Event.cpp",
570 "$blink_core_output_dir/EventHeaders.h", 570 "$blink_core_output_dir/EventHeaders.h",
571 ] 571 ]
572 } 572 }
573 573
574 # make_names ------------------------------------------------------------------- 574 # make_names -------------------------------------------------------------------
575 575
576 process_in_files("make_core_generated_media_feature_names") { 576 process_in_files("make_core_generated_media_feature_names") {
577 script = "../build/scripts/make_media_feature_names.py" 577 script = "../build/scripts/make_media_feature_names.py"
578 in_files = [ "css/MediaFeatureNames.in" ] 578 in_files = [ "css/MediaFeatureNames.json5" ]
579 other_inputs = make_names_files 579 other_inputs = make_names_files
580 outputs = [ 580 outputs = [
581 "$blink_core_output_dir/MediaFeatureNames.cpp", 581 "$blink_core_output_dir/MediaFeatureNames.cpp",
582 "$blink_core_output_dir/MediaFeatureNames.h", 582 "$blink_core_output_dir/MediaFeatureNames.h",
583 ] 583 ]
584 } 584 }
585 585
586 make_names("make_core_generated_media_type_names") { 586 make_names("make_core_generated_media_type_names") {
587 in_files = [ "css/MediaTypeNames.in" ] 587 in_files = [ "css/MediaTypeNames.json5" ]
588 outputs = [ 588 outputs = [
589 "$blink_core_output_dir/MediaTypeNames.cpp", 589 "$blink_core_output_dir/MediaTypeNames.cpp",
590 "$blink_core_output_dir/MediaTypeNames.h", 590 "$blink_core_output_dir/MediaTypeNames.h",
591 ] 591 ]
592 } 592 }
593 593
594 make_names("make_core_generated_event_names") { 594 make_names("make_core_generated_event_names") {
595 in_files = [ "$blink_core_output_dir/EventInterfaces.in" ] 595 in_files = [ "$blink_core_output_dir/EventInterfaces.json5" ]
596 outputs = [ 596 outputs = [
597 "$blink_core_output_dir/EventNames.cpp", 597 "$blink_core_output_dir/EventNames.cpp",
598 "$blink_core_output_dir/EventNames.h", 598 "$blink_core_output_dir/EventNames.h",
599 ] 599 ]
600 } 600 }
601 601
602 make_names("make_core_generated_event_target_names") { 602 make_names("make_core_generated_event_target_names") {
603 in_files = [ "events/EventTargetFactory.in" ] 603 in_files = [ "events/EventTargetFactory.json5" ]
604 outputs = [ 604 outputs = [
605 "$blink_core_output_dir/EventTargetNames.cpp", 605 "$blink_core_output_dir/EventTargetNames.cpp",
606 "$blink_core_output_dir/EventTargetNames.h", 606 "$blink_core_output_dir/EventTargetNames.h",
607 ] 607 ]
608 } 608 }
609 609
610 make_names("make_core_generated_event_type_names") { 610 make_names("make_core_generated_event_type_names") {
611 in_files = [ "events/EventTypeNames.in" ] 611 in_files = [ "events/EventTypeNames.json5" ]
612 outputs = [ 612 outputs = [
613 "$blink_core_output_dir/EventTypeNames.cpp", 613 "$blink_core_output_dir/EventTypeNames.cpp",
614 "$blink_core_output_dir/EventTypeNames.h", 614 "$blink_core_output_dir/EventTypeNames.h",
615 ] 615 ]
616 } 616 }
617 617
618 make_names("make_core_generated_html_tokenizer_names") { 618 make_names("make_core_generated_html_tokenizer_names") {
619 in_files = [ "html/parser/HTMLTokenizerNames.in" ] 619 in_files = [ "html/parser/HTMLTokenizerNames.json5" ]
620 outputs = [ 620 outputs = [
621 "$blink_core_output_dir/HTMLTokenizerNames.cpp", 621 "$blink_core_output_dir/HTMLTokenizerNames.cpp",
622 "$blink_core_output_dir/HTMLTokenizerNames.h", 622 "$blink_core_output_dir/HTMLTokenizerNames.h",
623 ] 623 ]
624 } 624 }
625 625
626 make_names("make_core_generated_input_type_names") { 626 make_names("make_core_generated_input_type_names") {
627 in_files = [ "html/forms/InputTypeNames.in" ] 627 in_files = [ "html/forms/InputTypeNames.json5" ]
628 outputs = [ 628 outputs = [
629 "$blink_core_output_dir/InputTypeNames.cpp", 629 "$blink_core_output_dir/InputTypeNames.cpp",
630 "$blink_core_output_dir/InputTypeNames.h", 630 "$blink_core_output_dir/InputTypeNames.h",
631 ] 631 ]
632 } 632 }
633 633
634 make_names("make_core_generated_input_mode_names") { 634 make_names("make_core_generated_input_mode_names") {
635 in_files = [ "editing/InputModeNames.in" ] 635 in_files = [ "editing/InputModeNames.json5" ]
636 outputs = [ 636 outputs = [
637 "$blink_core_output_dir/InputModeNames.cpp", 637 "$blink_core_output_dir/InputModeNames.cpp",
638 "$blink_core_output_dir/InputModeNames.h", 638 "$blink_core_output_dir/InputModeNames.h",
639 ] 639 ]
640 } 640 }
641 641
642 # make_qualified_names --------------------------------------------------------- 642 # make_qualified_names ---------------------------------------------------------
643 643
644 make_qualified_names("make_core_generated_math_ml_names") { 644 make_qualified_names("make_core_generated_math_ml_names") {
645 in_files = [ 645 in_files = [
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 sources = [ 1304 sources = [
1305 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1305 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1306 ] 1306 ]
1307 deps = [ 1307 deps = [
1308 ":core", 1308 ":core",
1309 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1309 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1310 ] 1310 ]
1311 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1311 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1312 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1312 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1313 } 1313 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_names.py ('k') | third_party/WebKit/Source/core/css/MediaFeatureNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698