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/ui.gni") | 5 import("//build/config/ui.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/core/v8/generated.gni") | 7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 ":make_core_generated_xml_names", | 591 ":make_core_generated_xml_names", |
592 ":make_core_generated_make_token_matcher", | 592 ":make_core_generated_make_token_matcher", |
593 ":make_core_generated_make_parser", | 593 ":make_core_generated_make_parser", |
594 ":make_core_generated_make_token_matcher_for_viewport", | 594 ":make_core_generated_make_token_matcher_for_viewport", |
595 ":make_core_generated_html_element_lookup_trie", | 595 ":make_core_generated_html_element_lookup_trie", |
596 ":make_core_generated_bison", | 596 ":make_core_generated_bison", |
597 ] | 597 ] |
598 } | 598 } |
599 | 599 |
600 # "CSSPropertyNames" in make_core_generated from GYP. | 600 # "CSSPropertyNames" in make_core_generated from GYP. |
601 process_in_files("make_core_generated_css_property_names") { | 601 css_properties("make_core_generated_css_property_names") { |
602 script = "../build/scripts/make_css_property_names.py" | 602 script = "../build/scripts/make_css_property_names.py" |
603 in_files = [ | |
604 "css/CSSPropertyNames.in", | |
605 "css/SVGCSSPropertyNames.in", | |
606 ] | |
607 outputs = [ | 603 outputs = [ |
608 "$blink_core_output_dir/CSSPropertyNames.cpp", | 604 "$blink_core_output_dir/CSSPropertyNames.cpp", |
609 "$blink_core_output_dir/CSSPropertyNames.h", | 605 "$blink_core_output_dir/CSSPropertyNames.h", |
610 ] | 606 ] |
611 other_args = [ "--defines", feature_defines_string ] | 607 other_args = [ "--defines", feature_defines_string ] |
612 } | 608 } |
613 | 609 |
614 # "MediaFeatures" in make_core_generated from GYP. | 610 # "MediaFeatures" in make_core_generated from GYP. |
615 process_in_files("make_core_generated_media_features") { | 611 process_in_files("make_core_generated_media_features") { |
616 script = "../build/scripts/make_media_features.py" | 612 script = "../build/scripts/make_media_features.py" |
617 in_files = [ | 613 in_files = [ |
618 "css/MediaFeatureNames.in", | 614 "css/MediaFeatureNames.in", |
619 ] | 615 ] |
620 other_inputs = [ | 616 other_inputs = [ |
621 "../build/scripts/make_media_features.py", | 617 "../build/scripts/make_media_features.py", |
622 "../build/scripts/templates/MediaFeatures.h.tmpl", | 618 "../build/scripts/templates/MediaFeatures.h.tmpl", |
623 ] | 619 ] |
624 outputs = [ | 620 outputs = [ |
625 "$blink_core_output_dir/MediaFeatures.h", | 621 "$blink_core_output_dir/MediaFeatures.h", |
626 ] | 622 ] |
627 other_args = [ "--defines", feature_defines_string ] | 623 other_args = [ "--defines", feature_defines_string ] |
628 } | 624 } |
629 | 625 |
630 # "StylePropertyShorthand" in make_core_generated from GYP. | 626 # "StylePropertyShorthand" in make_core_generated from GYP. |
631 process_in_files("make_core_generated_style_property_shorthand") { | 627 css_properties("make_core_generated_style_property_shorthand") { |
632 script = "../build/scripts/make_style_shorthands.py" | 628 script = "../build/scripts/make_style_shorthands.py" |
633 in_files = [ | |
634 "css/CSSShorthands.in", | |
635 ] | |
636 other_inputs = [ | 629 other_inputs = [ |
637 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", | 630 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", |
638 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", | 631 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", |
639 ] | 632 ] |
640 outputs = [ | 633 outputs = [ |
641 "$blink_core_output_dir/StylePropertyShorthand.cpp", | 634 "$blink_core_output_dir/StylePropertyShorthand.cpp", |
642 "$blink_core_output_dir/StylePropertyShorthand.h", | 635 "$blink_core_output_dir/StylePropertyShorthand.h", |
643 ] | 636 ] |
644 } | 637 } |
645 | 638 |
646 # "StyleBuilder" in make_core_generated from GYP. | 639 # "StyleBuilder" in make_core_generated from GYP. |
647 process_in_files("make_core_generated_style_builder") { | 640 css_properties("make_core_generated_style_builder") { |
648 script = "../build/scripts/make_style_builder.py" | 641 script = "../build/scripts/make_style_builder.py" |
649 | |
650 in_files = [ | |
651 "css/CSSProperties.in", | |
652 ] | |
653 other_inputs = [ | 642 other_inputs = [ |
654 "../build/scripts/templates/StyleBuilder.cpp.tmpl", | 643 "../build/scripts/templates/StyleBuilder.cpp.tmpl", |
655 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", | 644 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", |
656 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", | 645 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", |
657 ] | 646 ] |
658 outputs = [ | 647 outputs = [ |
659 "$blink_core_output_dir/StyleBuilder.cpp", | 648 "$blink_core_output_dir/StyleBuilder.cpp", |
660 "$blink_core_output_dir/StyleBuilderFunctions.h", | 649 "$blink_core_output_dir/StyleBuilderFunctions.h", |
661 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 650 "$blink_core_output_dir/StyleBuilderFunctions.cpp", |
662 ] | 651 ] |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 "$blink_core_output_dir/{{source_name_part}}.h", | 1116 "$blink_core_output_dir/{{source_name_part}}.h", |
1128 ] | 1117 ] |
1129 args = [ | 1118 args = [ |
1130 "{{source}}", | 1119 "{{source}}", |
1131 rel_blink_core_gen_dir, | 1120 rel_blink_core_gen_dir, |
1132 bison_exe, | 1121 bison_exe, |
1133 ] | 1122 ] |
1134 | 1123 |
1135 deps = make_core_generated_deps | 1124 deps = make_core_generated_deps |
1136 } | 1125 } |
OLD | NEW |