| 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/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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 other_args = [ | 503 other_args = [ |
| 504 "--gperf", | 504 "--gperf", |
| 505 gperf_exe, | 505 gperf_exe, |
| 506 ] | 506 ] |
| 507 } | 507 } |
| 508 | 508 |
| 509 process_in_files("make_core_generated_html_element_factory") { | 509 process_in_files("make_core_generated_html_element_factory") { |
| 510 script = "../build/scripts/make_element_factory.py" | 510 script = "../build/scripts/make_element_factory.py" |
| 511 | 511 |
| 512 in_files = [ | 512 in_files = [ |
| 513 "html/HTMLTagNames.in", | 513 "html/HTMLTagNames.json5", |
| 514 "html/HTMLAttributeNames.in", | 514 "html/HTMLAttributeNames.json5", |
| 515 ] | 515 ] |
| 516 other_inputs = make_element_factory_files | 516 other_inputs = make_element_factory_files |
| 517 outputs = [ | 517 outputs = [ |
| 518 "$blink_core_output_dir/HTMLElementFactory.cpp", | 518 "$blink_core_output_dir/HTMLElementFactory.cpp", |
| 519 "$blink_core_output_dir/HTMLElementFactory.h", | 519 "$blink_core_output_dir/HTMLElementFactory.h", |
| 520 "$blink_core_output_dir/HTMLNames.cpp", | 520 "$blink_core_output_dir/HTMLNames.cpp", |
| 521 "$blink_core_output_dir/HTMLNames.h", | 521 "$blink_core_output_dir/HTMLNames.h", |
| 522 ] | 522 ] |
| 523 } | 523 } |
| 524 | 524 |
| 525 process_in_files("make_core_generated_html_element_type_helpers") { | 525 process_in_files("make_core_generated_html_element_type_helpers") { |
| 526 script = "../build/scripts/make_element_type_helpers.py" | 526 script = "../build/scripts/make_element_type_helpers.py" |
| 527 | 527 |
| 528 in_files = [ "html/HTMLTagNames.in" ] | 528 in_files = [ "html/HTMLTagNames.json5" ] |
| 529 other_inputs = make_element_type_helpers_files | 529 other_inputs = make_element_type_helpers_files |
| 530 outputs = [ | 530 outputs = [ |
| 531 "$blink_core_output_dir/HTMLElementTypeHelpers.cpp", | 531 "$blink_core_output_dir/HTMLElementTypeHelpers.cpp", |
| 532 "$blink_core_output_dir/HTMLElementTypeHelpers.h", | 532 "$blink_core_output_dir/HTMLElementTypeHelpers.h", |
| 533 ] | 533 ] |
| 534 } | 534 } |
| 535 | 535 |
| 536 process_in_files("make_core_generated_svg_names") { | 536 process_in_files("make_core_generated_svg_names") { |
| 537 script = "../build/scripts/make_element_factory.py" | 537 script = "../build/scripts/make_element_factory.py" |
| 538 | 538 |
| 539 in_files = [ | 539 in_files = [ |
| 540 "svg/SVGTagNames.in", | 540 "svg/SVGTagNames.json5", |
| 541 "svg/SVGAttributeNames.in", | 541 "svg/SVGAttributeNames.json5", |
| 542 ] | 542 ] |
| 543 other_inputs = make_element_factory_files | 543 other_inputs = make_element_factory_files |
| 544 outputs = [ | 544 outputs = [ |
| 545 "$blink_core_output_dir/SVGElementFactory.cpp", | 545 "$blink_core_output_dir/SVGElementFactory.cpp", |
| 546 "$blink_core_output_dir/SVGElementFactory.h", | 546 "$blink_core_output_dir/SVGElementFactory.h", |
| 547 "$blink_core_output_dir/SVGNames.cpp", | 547 "$blink_core_output_dir/SVGNames.cpp", |
| 548 "$blink_core_output_dir/SVGNames.h", | 548 "$blink_core_output_dir/SVGNames.h", |
| 549 ] | 549 ] |
| 550 } | 550 } |
| 551 | 551 |
| 552 process_in_files("make_core_generated_svg_element_type_helpers") { | 552 process_in_files("make_core_generated_svg_element_type_helpers") { |
| 553 script = "../build/scripts/make_element_type_helpers.py" | 553 script = "../build/scripts/make_element_type_helpers.py" |
| 554 | 554 |
| 555 in_files = [ "svg/SVGTagNames.in" ] | 555 in_files = [ "svg/SVGTagNames.json5" ] |
| 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 = [ |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 outputs = [ | 637 outputs = [ |
| 638 "$blink_core_output_dir/InputModeNames.cpp", | 638 "$blink_core_output_dir/InputModeNames.cpp", |
| 639 "$blink_core_output_dir/InputModeNames.h", | 639 "$blink_core_output_dir/InputModeNames.h", |
| 640 ] | 640 ] |
| 641 } | 641 } |
| 642 | 642 |
| 643 # make_qualified_names --------------------------------------------------------- | 643 # make_qualified_names --------------------------------------------------------- |
| 644 | 644 |
| 645 make_qualified_names("make_core_generated_math_ml_names") { | 645 make_qualified_names("make_core_generated_math_ml_names") { |
| 646 in_files = [ | 646 in_files = [ |
| 647 "html/parser/MathMLTagNames.in", | 647 "html/parser/MathMLTagNames.json5", |
| 648 "html/parser/MathMLAttributeNames.in", | 648 "html/parser/MathMLAttributeNames.json5", |
| 649 ] | 649 ] |
| 650 outputs = [ | 650 outputs = [ |
| 651 "$blink_core_output_dir/MathMLNames.cpp", | 651 "$blink_core_output_dir/MathMLNames.cpp", |
| 652 "$blink_core_output_dir/MathMLNames.h", | 652 "$blink_core_output_dir/MathMLNames.h", |
| 653 ] | 653 ] |
| 654 } | 654 } |
| 655 | 655 |
| 656 make_qualified_names("make_core_generated_xlink_names") { | 656 make_qualified_names("make_core_generated_xlink_names") { |
| 657 in_files = [ "svg/xlinkattrs.in" ] | 657 in_files = [ "svg/xlinkattrs.json5" ] |
| 658 outputs = [ | 658 outputs = [ |
| 659 "$blink_core_output_dir/XLinkNames.cpp", | 659 "$blink_core_output_dir/XLinkNames.cpp", |
| 660 "$blink_core_output_dir/XLinkNames.h", | 660 "$blink_core_output_dir/XLinkNames.h", |
| 661 ] | 661 ] |
| 662 } | 662 } |
| 663 | 663 |
| 664 make_qualified_names("make_core_generated_xml_ns_names") { | 664 make_qualified_names("make_core_generated_xml_ns_names") { |
| 665 in_files = [ "xml/xmlnsattrs.in" ] | 665 in_files = [ "xml/xmlnsattrs.json5" ] |
| 666 outputs = [ | 666 outputs = [ |
| 667 "$blink_core_output_dir/XMLNSNames.cpp", | 667 "$blink_core_output_dir/XMLNSNames.cpp", |
| 668 "$blink_core_output_dir/XMLNSNames.h", | 668 "$blink_core_output_dir/XMLNSNames.h", |
| 669 ] | 669 ] |
| 670 } | 670 } |
| 671 | 671 |
| 672 make_qualified_names("make_core_generated_xml_names") { | 672 make_qualified_names("make_core_generated_xml_names") { |
| 673 in_files = [ "xml/xmlattrs.in" ] | 673 in_files = [ "xml/xmlattrs.json5" ] |
| 674 outputs = [ | 674 outputs = [ |
| 675 "$blink_core_output_dir/XMLNames.cpp", | 675 "$blink_core_output_dir/XMLNames.cpp", |
| 676 "$blink_core_output_dir/XMLNames.h", | 676 "$blink_core_output_dir/XMLNames.h", |
| 677 ] | 677 ] |
| 678 } | 678 } |
| 679 | 679 |
| 680 # One-off scripts -------------------------------------------------------------- | 680 # One-off scripts -------------------------------------------------------------- |
| 681 | 681 |
| 682 action("make_minimized_css") { | 682 action("make_minimized_css") { |
| 683 script = "../build/scripts/minimize_css.py" | 683 script = "../build/scripts/minimize_css.py" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 } | 767 } |
| 768 | 768 |
| 769 deps = make_core_generated_deps | 769 deps = make_core_generated_deps |
| 770 } | 770 } |
| 771 | 771 |
| 772 action("make_core_generated_html_element_lookup_trie") { | 772 action("make_core_generated_html_element_lookup_trie") { |
| 773 visibility = [] # Allow re-assignment of list. | 773 visibility = [] # Allow re-assignment of list. |
| 774 visibility = [ ":*" ] | 774 visibility = [ ":*" ] |
| 775 script = "../build/scripts/make_element_lookup_trie.py" | 775 script = "../build/scripts/make_element_lookup_trie.py" |
| 776 | 776 |
| 777 input_file = "html/HTMLTagNames.in" | 777 input_file = "html/HTMLTagNames.json5" |
| 778 inputs = make_trie_helpers_files + [ | 778 inputs = make_trie_helpers_files + [ |
| 779 input_file, | 779 input_file, |
| 780 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", | 780 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", |
| 781 "../build/scripts/templates/ElementLookupTrie.h.tmpl", | 781 "../build/scripts/templates/ElementLookupTrie.h.tmpl", |
| 782 ] | 782 ] |
| 783 outputs = [ | 783 outputs = [ |
| 784 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", | 784 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", |
| 785 "$blink_core_output_dir/HTMLElementLookupTrie.h", | 785 "$blink_core_output_dir/HTMLElementLookupTrie.h", |
| 786 ] | 786 ] |
| 787 | 787 |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1306 sources = [ | 1306 sources = [ |
| 1307 "frame/csp/ContentSecurityPolicyFuzzer.cpp", | 1307 "frame/csp/ContentSecurityPolicyFuzzer.cpp", |
| 1308 ] | 1308 ] |
| 1309 deps = [ | 1309 deps = [ |
| 1310 ":core", | 1310 ":core", |
| 1311 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", | 1311 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", |
| 1312 ] | 1312 ] |
| 1313 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" | 1313 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" |
| 1314 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" | 1314 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" |
| 1315 } | 1315 } |
| OLD | NEW |