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

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

Issue 410953002: Merge CSSProperties.in and CSSShorthands.in (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@infiles
Patch Set: err on safe side for devtools parsing longhands Created 6 years, 4 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/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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 process_in_files("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 = [ 603 in_files = [
604 "css/CSSPropertyNames.in", 604 "css/CSSPropertyNames.in",
605 "css/SVGCSSPropertyNames.in", 605 "css/SVGCSSPropertyNames.in",
606 ] 606 ]
607 outputs = [ 607 outputs = [
608 "$blink_core_output_dir/CSSPropertyNames.cpp", 608 "$blink_core_output_dir/CSSPropertyNames.cpp",
609 "$blink_core_output_dir/CSSPropertyNames.h", 609 "$blink_core_output_dir/CSSPropertyNames.h",
610 ] 610 ]
611 } 611 }
612 612
613 # "MediaFeatures" in make_core_generated from GYP. 613 # "MediaFeatures" in make_core_generated from GYP.
614 process_in_files("make_core_generated_media_features") { 614 process_in_files("make_core_generated_media_features") {
615 script = "../build/scripts/make_media_features.py" 615 script = "../build/scripts/make_media_features.py"
616 in_files = [ 616 in_files = [
617 "css/MediaFeatureNames.in", 617 "css/MediaFeatureNames.in",
618 ] 618 ]
619 other_inputs = [ 619 other_inputs = [
620 "../build/scripts/make_media_features.py", 620 "../build/scripts/make_media_features.py",
621 "../build/scripts/templates/MediaFeatures.h.tmpl", 621 "../build/scripts/templates/MediaFeatures.h.tmpl",
622 ] 622 ]
623 outputs = [ 623 outputs = [
624 "$blink_core_output_dir/MediaFeatures.h", 624 "$blink_core_output_dir/MediaFeatures.h",
625 ] 625 ]
626 } 626 }
627 627
628 # "StylePropertyShorthand" in make_core_generated from GYP. 628 # "StylePropertyShorthand" in make_core_generated from GYP.
629 process_in_files("make_core_generated_style_property_shorthand") { 629 css_properties("make_core_generated_style_property_shorthand") {
630 script = "../build/scripts/make_style_shorthands.py" 630 script = "../build/scripts/make_style_shorthands.py"
631 in_files = [
632 "css/CSSShorthands.in",
633 ]
634 other_inputs = [ 631 other_inputs = [
635 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", 632 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl",
636 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", 633 "../build/scripts/templates/StylePropertyShorthand.h.tmpl",
637 ] 634 ]
638 outputs = [ 635 outputs = [
639 "$blink_core_output_dir/StylePropertyShorthand.cpp", 636 "$blink_core_output_dir/StylePropertyShorthand.cpp",
640 "$blink_core_output_dir/StylePropertyShorthand.h", 637 "$blink_core_output_dir/StylePropertyShorthand.h",
641 ] 638 ]
642 } 639 }
643 640
644 # "StyleBuilder" in make_core_generated from GYP. 641 # "StyleBuilder" in make_core_generated from GYP.
645 process_in_files("make_core_generated_style_builder") { 642 css_properties("make_core_generated_style_builder") {
646 script = "../build/scripts/make_style_builder.py" 643 script = "../build/scripts/make_style_builder.py"
647
648 in_files = [
649 "css/CSSProperties.in",
650 ]
651 other_inputs = [ 644 other_inputs = [
652 "../build/scripts/templates/StyleBuilder.cpp.tmpl", 645 "../build/scripts/templates/StyleBuilder.cpp.tmpl",
653 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", 646 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl",
654 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", 647 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl",
655 ] 648 ]
656 outputs = [ 649 outputs = [
657 "$blink_core_output_dir/StyleBuilder.cpp", 650 "$blink_core_output_dir/StyleBuilder.cpp",
658 "$blink_core_output_dir/StyleBuilderFunctions.h", 651 "$blink_core_output_dir/StyleBuilderFunctions.h",
659 "$blink_core_output_dir/StyleBuilderFunctions.cpp", 652 "$blink_core_output_dir/StyleBuilderFunctions.cpp",
660 ] 653 ]
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 "$blink_core_output_dir/{{source_name_part}}.h", 1074 "$blink_core_output_dir/{{source_name_part}}.h",
1082 ] 1075 ]
1083 args = [ 1076 args = [
1084 "{{source}}", 1077 "{{source}}",
1085 rel_blink_core_gen_dir, 1078 rel_blink_core_gen_dir,
1086 bison_exe, 1079 bison_exe,
1087 ] 1080 ]
1088 1081
1089 deps = make_core_generated_deps 1082 deps = make_core_generated_deps
1090 } 1083 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698