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

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

Issue 2187493004: Add a generated ComputedStyleBase class that ComputedStyle extends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_visibility_enum_class_rebase
Patch Set: Created 4 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.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("//third_party/WebKit/Source/bindings/bindings.gni") 9 import("//third_party/WebKit/Source/bindings/bindings.gni")
10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 # These files include all the .cpp files generated from the .idl files 363 # These files include all the .cpp files generated from the .idl files
364 # in webcore_files. 364 # in webcore_files.
365 sources += bindings_core_generated_aggregate_files 365 sources += bindings_core_generated_aggregate_files
366 sources += bindings_core_generated_union_type_files 366 sources += bindings_core_generated_union_type_files
367 367
368 # IDL dictionary impl files generated by IDL compiler 368 # IDL dictionary impl files generated by IDL compiler
369 sources += generated_core_dictionary_files 369 sources += generated_core_dictionary_files
370 370
371 sources += [ 371 sources += [
372 # Generated from make_base_computed_style.py
373 "$blink_core_output_dir/BaseComputedStyle.cpp",
374 "$blink_core_output_dir/BaseComputedStyle.h",
375 "$blink_core_output_dir/BaseComputedStyleConstants.h",
376
372 # Additional .cpp files for HashTools.h 377 # Additional .cpp files for HashTools.h
373 "$blink_core_output_dir/CSSPropertyNames.cpp", 378 "$blink_core_output_dir/CSSPropertyNames.cpp",
374 "$blink_core_output_dir/CSSValueKeywords.cpp", 379 "$blink_core_output_dir/CSSValueKeywords.cpp",
375 380
376 # Additional .cpp files from make_core_generated actions. 381 # Additional .cpp files from make_core_generated actions.
377 "$blink_core_output_dir/CSSPrimitiveValueUnitTrie.cpp", 382 "$blink_core_output_dir/CSSPrimitiveValueUnitTrie.cpp",
378 "$blink_core_output_dir/Event.cpp", 383 "$blink_core_output_dir/Event.cpp",
379 "$blink_core_output_dir/EventHeaders.h", 384 "$blink_core_output_dir/EventHeaders.h",
380 "$blink_core_output_dir/EventNames.cpp", 385 "$blink_core_output_dir/EventNames.cpp",
381 "$blink_core_output_dir/EventNames.h", 386 "$blink_core_output_dir/EventNames.h",
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 "--output_dir", 613 "--output_dir",
609 "$rel_blink_core_gen_dir/testing", 614 "$rel_blink_core_gen_dir/testing",
610 ] 615 ]
611 } 616 }
612 617
613 # make_core_generated ---------------------------------------------------------- 618 # make_core_generated ----------------------------------------------------------
614 619
615 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated 620 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated
616 group("make_core_generated") { 621 group("make_core_generated") {
617 public_deps = [ 622 public_deps = [
623 ":make_core_generated_base_computed_style",
618 ":make_core_generated_bison", 624 ":make_core_generated_bison",
619 ":make_core_generated_css_primitive_value_unit_trie", 625 ":make_core_generated_css_primitive_value_unit_trie",
620 ":make_core_generated_css_property_metadata", 626 ":make_core_generated_css_property_metadata",
621 ":make_core_generated_css_property_names", 627 ":make_core_generated_css_property_names",
622 ":make_core_generated_css_tokenizer_codepoints", 628 ":make_core_generated_css_tokenizer_codepoints",
623 ":make_core_generated_css_value_keywords", 629 ":make_core_generated_css_value_keywords",
624 ":make_core_generated_cssom_types", 630 ":make_core_generated_cssom_types",
625 ":make_core_generated_event_factory", 631 ":make_core_generated_event_factory",
626 ":make_core_generated_event_names", 632 ":make_core_generated_event_names",
627 ":make_core_generated_event_target_names", 633 ":make_core_generated_event_target_names",
(...skipping 16 matching lines...) Expand all
644 ":make_core_generated_style_builder", 650 ":make_core_generated_style_builder",
645 ":make_core_generated_style_property_shorthand", 651 ":make_core_generated_style_property_shorthand",
646 ":make_core_generated_svg_element_type_helpers", 652 ":make_core_generated_svg_element_type_helpers",
647 ":make_core_generated_svg_names", 653 ":make_core_generated_svg_names",
648 ":make_core_generated_xlink_names", 654 ":make_core_generated_xlink_names",
649 ":make_core_generated_xml_names", 655 ":make_core_generated_xml_names",
650 ":make_core_generated_xml_ns_names", 656 ":make_core_generated_xml_ns_names",
651 ] 657 ]
652 } 658 }
653 659
660 # "BaseComputedStyle" in make_core_generated from GYP.
661 css_properties("make_core_generated_base_computed_style") {
662 script = "../build/scripts/make_base_computed_style.py"
663 other_inputs = [
664 "../build/scripts/templates/BaseComputedStyle.cpp.tmpl",
665 "../build/scripts/templates/BaseComputedStyle.h.tmpl",
666 "../build/scripts/templates/BaseComputedStyleConstants.h.tmpl",
667 ]
668 outputs = [
669 "$blink_core_output_dir/BaseComputedStyle.cpp",
670 "$blink_core_output_dir/BaseComputedStyle.h",
671 "$blink_core_output_dir/BaseComputedStyleConstants.h",
672 ]
673 }
674
654 # "CSSPropertyNames" in make_core_generated from GYP. 675 # "CSSPropertyNames" in make_core_generated from GYP.
655 css_properties("make_core_generated_css_property_names") { 676 css_properties("make_core_generated_css_property_names") {
656 script = "../build/scripts/make_css_property_names.py" 677 script = "../build/scripts/make_css_property_names.py"
657 outputs = [ 678 outputs = [
658 "$blink_core_output_dir/CSSPropertyNames.cpp", 679 "$blink_core_output_dir/CSSPropertyNames.cpp",
659 "$blink_core_output_dir/CSSPropertyNames.h", 680 "$blink_core_output_dir/CSSPropertyNames.h",
660 ] 681 ]
661 } 682 }
662 683
663 # "MediaFeatures" in make_core_generated from GYP. 684 # "MediaFeatures" in make_core_generated from GYP.
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 "$blink_core_output_dir/{{source_name_part}}.h", 1126 "$blink_core_output_dir/{{source_name_part}}.h",
1106 ] 1127 ]
1107 args = [ 1128 args = [
1108 "{{source}}", 1129 "{{source}}",
1109 rel_blink_core_gen_dir, 1130 rel_blink_core_gen_dir,
1110 bison_exe, 1131 bison_exe,
1111 ] 1132 ]
1112 1133
1113 deps = make_core_generated_deps 1134 deps = make_core_generated_deps
1114 } 1135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698