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