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

Unified Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 1910263003: Generate CSSPropertyEquality instead of using hand-updated file. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests2! Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index 5f63435f55f9097454f0be119c75f9ea9a229934..dc753996fa5a2377d6195c91b5e3cbc6cfc1f696 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -407,6 +407,10 @@ source_set("core_generated") {
# Generated from make_cssom_keywords.py
"$blink_core_output_dir/CSSOMKeywords.cpp",
+
+ # Generated from make_css_property_equality.py
+ "$blink_core_output_dir/CSSPropertyEquality.cpp",
+ "$blink_core_output_dir/CSSPropertyEqualityCustom.h",
]
configs -= core_config_remove
@@ -556,6 +560,7 @@ action("generated_testing_idls_internal_runtime_flags") {
group("make_core_generated") {
public_deps = [
":make_core_generated_bison",
+ ":make_core_generated_css_property_equality",
":make_core_generated_css_property_metadata",
":make_core_generated_css_property_names",
":make_core_generated_css_tokenizer_codepoints",
@@ -653,6 +658,19 @@ css_properties("make_core_generated_cssom_types") {
]
}
+# "CSSOMTypes" in make_core_generated from GYP.
Timothy Loh 2016/05/24 04:38:20 too much copy-paste
+css_properties("make_core_generated_css_property_equality") {
+ script = "../build/scripts/make_css_property_equality.py"
+ other_inputs = [
+ "../build/scripts/templates/CSSPropertyEquality.cpp.tmpl",
+ "../build/scripts/templates/CSSPropertyEqualityCustom.h.tmpl",
+ ]
+ outputs = [
+ "$blink_core_output_dir/CSSPropertyEquality.cpp",
+ "$blink_core_output_dir/CSSPropertyEqualityCustom.h",
+ ]
+}
+
# "CSSPropertyMetadata" in make_core_generated from GYP.
css_properties("make_core_generated_css_property_metadata") {
script = "../build/scripts/make_css_property_metadata.py"

Powered by Google App Engine
This is Rietveld 408576698