 Chromium Code Reviews
 Chromium Code Reviews Issue 1910263003:
  Generate CSSPropertyEquality instead of using hand-updated file. 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1910263003:
  Generate CSSPropertyEquality instead of using hand-updated file. 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") | 
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") | 
| 7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 
| 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 
| 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 
| 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 400 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 400 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 
| 401 | 401 | 
| 402 # Generated from make_css_property_metadata.py | 402 # Generated from make_css_property_metadata.py | 
| 403 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 403 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 
| 404 | 404 | 
| 405 # Generated from make_cssom_types.py | 405 # Generated from make_cssom_types.py | 
| 406 "$blink_core_output_dir/CSSOMTypes.cpp", | 406 "$blink_core_output_dir/CSSOMTypes.cpp", | 
| 407 | 407 | 
| 408 # Generated from make_cssom_keywords.py | 408 # Generated from make_cssom_keywords.py | 
| 409 "$blink_core_output_dir/CSSOMKeywords.cpp", | 409 "$blink_core_output_dir/CSSOMKeywords.cpp", | 
| 410 | |
| 411 # Generated from make_css_property_equality.py | |
| 412 "$blink_core_output_dir/CSSPropertyEquality.cpp", | |
| 413 "$blink_core_output_dir/CSSPropertyEqualityCustom.h", | |
| 410 ] | 414 ] | 
| 411 | 415 | 
| 412 configs -= core_config_remove | 416 configs -= core_config_remove | 
| 413 configs += core_config_add | 417 configs += core_config_add | 
| 414 | 418 | 
| 415 configs += [ "..:inside_blink" ] | 419 configs += [ "..:inside_blink" ] | 
| 416 | 420 | 
| 417 public_deps = [ | 421 public_deps = [ | 
| 418 ":make_core_generated", | 422 ":make_core_generated", | 
| 419 ":prerequisites", | 423 ":prerequisites", | 
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 549 "$rel_blink_core_gen_dir/testing", | 553 "$rel_blink_core_gen_dir/testing", | 
| 550 ] | 554 ] | 
| 551 } | 555 } | 
| 552 | 556 | 
| 553 # make_core_generated ---------------------------------------------------------- | 557 # make_core_generated ---------------------------------------------------------- | 
| 554 | 558 | 
| 555 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated | 559 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated | 
| 556 group("make_core_generated") { | 560 group("make_core_generated") { | 
| 557 public_deps = [ | 561 public_deps = [ | 
| 558 ":make_core_generated_bison", | 562 ":make_core_generated_bison", | 
| 563 ":make_core_generated_css_property_equality", | |
| 559 ":make_core_generated_css_property_metadata", | 564 ":make_core_generated_css_property_metadata", | 
| 560 ":make_core_generated_css_property_names", | 565 ":make_core_generated_css_property_names", | 
| 561 ":make_core_generated_css_tokenizer_codepoints", | 566 ":make_core_generated_css_tokenizer_codepoints", | 
| 562 ":make_core_generated_css_value_keywords", | 567 ":make_core_generated_css_value_keywords", | 
| 563 ":make_core_generated_cssom_types", | 568 ":make_core_generated_cssom_types", | 
| 564 ":make_core_generated_event_factory", | 569 ":make_core_generated_event_factory", | 
| 565 ":make_core_generated_event_names", | 570 ":make_core_generated_event_names", | 
| 566 ":make_core_generated_event_target_names", | 571 ":make_core_generated_event_target_names", | 
| 567 ":make_core_generated_event_type_names", | 572 ":make_core_generated_event_type_names", | 
| 568 ":make_core_generated_fetch_initiator_type_names", | 573 ":make_core_generated_fetch_initiator_type_names", | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 646 other_inputs = [ | 651 other_inputs = [ | 
| 647 "../build/scripts/templates/CSSOMKeywords.cpp.tmpl", | 652 "../build/scripts/templates/CSSOMKeywords.cpp.tmpl", | 
| 648 "../build/scripts/templates/CSSOMTypes.cpp.tmpl", | 653 "../build/scripts/templates/CSSOMTypes.cpp.tmpl", | 
| 649 ] | 654 ] | 
| 650 outputs = [ | 655 outputs = [ | 
| 651 "$blink_core_output_dir/CSSOMKeywords.cpp", | 656 "$blink_core_output_dir/CSSOMKeywords.cpp", | 
| 652 "$blink_core_output_dir/CSSOMTypes.cpp", | 657 "$blink_core_output_dir/CSSOMTypes.cpp", | 
| 653 ] | 658 ] | 
| 654 } | 659 } | 
| 655 | 660 | 
| 661 # "CSSOMTypes" in make_core_generated from GYP. | |
| 
Timothy Loh
2016/05/24 04:38:20
too much copy-paste
 | |
| 662 css_properties("make_core_generated_css_property_equality") { | |
| 663 script = "../build/scripts/make_css_property_equality.py" | |
| 664 other_inputs = [ | |
| 665 "../build/scripts/templates/CSSPropertyEquality.cpp.tmpl", | |
| 666 "../build/scripts/templates/CSSPropertyEqualityCustom.h.tmpl", | |
| 667 ] | |
| 668 outputs = [ | |
| 669 "$blink_core_output_dir/CSSPropertyEquality.cpp", | |
| 670 "$blink_core_output_dir/CSSPropertyEqualityCustom.h", | |
| 671 ] | |
| 672 } | |
| 673 | |
| 656 # "CSSPropertyMetadata" in make_core_generated from GYP. | 674 # "CSSPropertyMetadata" in make_core_generated from GYP. | 
| 657 css_properties("make_core_generated_css_property_metadata") { | 675 css_properties("make_core_generated_css_property_metadata") { | 
| 658 script = "../build/scripts/make_css_property_metadata.py" | 676 script = "../build/scripts/make_css_property_metadata.py" | 
| 659 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] | 677 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] | 
| 660 outputs = [ | 678 outputs = [ | 
| 661 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 679 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 
| 662 ] | 680 ] | 
| 663 } | 681 } | 
| 664 | 682 | 
| 665 # "CSSValueKeywords" in make_core_generated from GYP. | 683 # "CSSValueKeywords" in make_core_generated from GYP. | 
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1020 "$blink_core_output_dir/{{source_name_part}}.h", | 1038 "$blink_core_output_dir/{{source_name_part}}.h", | 
| 1021 ] | 1039 ] | 
| 1022 args = [ | 1040 args = [ | 
| 1023 "{{source}}", | 1041 "{{source}}", | 
| 1024 rel_blink_core_gen_dir, | 1042 rel_blink_core_gen_dir, | 
| 1025 bison_exe, | 1043 bison_exe, | 
| 1026 ] | 1044 ] | 
| 1027 | 1045 | 
| 1028 deps = make_core_generated_deps | 1046 deps = make_core_generated_deps | 
| 1029 } | 1047 } | 
| OLD | NEW |