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

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

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)
Patch Set: fix PLATFORM_EXPORT Created 3 years, 11 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 3a548f3358dba6122a186dbefec9068b4f227455..19c6a9ebc71a8003a2e222214ae679903d909678 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -321,7 +321,7 @@ generate_event_interfaces("core_event_interfaces") {
"events/WheelEvent.idl",
"html/track/TrackEvent.idl",
]
- output_file = "core/EventInterfaces.in"
+ output_file = "core/EventInterfaces.json5"
}
# generated_testing_idls -------------------------------------------------------
@@ -432,7 +432,7 @@ css_properties("make_core_generated_css_property_names") {
process_in_files("make_core_generated_media_features") {
script = "../build/scripts/make_media_features.py"
- in_files = [ "css/MediaFeatureNames.in" ]
+ in_files = [ "css/MediaFeatureNames.json5" ]
other_inputs = [
"../build/scripts/make_media_features.py",
"../build/scripts/templates/MediaFeatures.h.tmpl",
@@ -562,8 +562,8 @@ process_in_files("make_core_generated_svg_element_type_helpers") {
make_event_factory("make_core_generated_event_factory") {
in_files = [
- "$blink_core_output_dir/EventInterfaces.in",
- "events/EventAliases.in",
+ "$blink_core_output_dir/EventInterfaces.json5",
+ "events/EventAliases.json5",
]
outputs = [
"$blink_core_output_dir/Event.cpp",
@@ -575,7 +575,7 @@ make_event_factory("make_core_generated_event_factory") {
process_in_files("make_core_generated_media_feature_names") {
script = "../build/scripts/make_media_feature_names.py"
- in_files = [ "css/MediaFeatureNames.in" ]
+ in_files = [ "css/MediaFeatureNames.json5" ]
other_inputs = make_names_files
outputs = [
"$blink_core_output_dir/MediaFeatureNames.cpp",
@@ -584,7 +584,7 @@ process_in_files("make_core_generated_media_feature_names") {
}
make_names("make_core_generated_media_type_names") {
- in_files = [ "css/MediaTypeNames.in" ]
+ in_files = [ "css/MediaTypeNames.json5" ]
outputs = [
"$blink_core_output_dir/MediaTypeNames.cpp",
"$blink_core_output_dir/MediaTypeNames.h",
@@ -592,7 +592,7 @@ make_names("make_core_generated_media_type_names") {
}
make_names("make_core_generated_event_names") {
- in_files = [ "$blink_core_output_dir/EventInterfaces.in" ]
+ in_files = [ "$blink_core_output_dir/EventInterfaces.json5" ]
outputs = [
"$blink_core_output_dir/EventNames.cpp",
"$blink_core_output_dir/EventNames.h",
@@ -600,7 +600,7 @@ make_names("make_core_generated_event_names") {
}
make_names("make_core_generated_event_target_names") {
- in_files = [ "events/EventTargetFactory.in" ]
+ in_files = [ "events/EventTargetFactory.json5" ]
outputs = [
"$blink_core_output_dir/EventTargetNames.cpp",
"$blink_core_output_dir/EventTargetNames.h",
@@ -608,7 +608,7 @@ make_names("make_core_generated_event_target_names") {
}
make_names("make_core_generated_event_type_names") {
- in_files = [ "events/EventTypeNames.in" ]
+ in_files = [ "events/EventTypeNames.json5" ]
outputs = [
"$blink_core_output_dir/EventTypeNames.cpp",
"$blink_core_output_dir/EventTypeNames.h",
@@ -616,7 +616,7 @@ make_names("make_core_generated_event_type_names") {
}
make_names("make_core_generated_html_tokenizer_names") {
- in_files = [ "html/parser/HTMLTokenizerNames.in" ]
+ in_files = [ "html/parser/HTMLTokenizerNames.json5" ]
outputs = [
"$blink_core_output_dir/HTMLTokenizerNames.cpp",
"$blink_core_output_dir/HTMLTokenizerNames.h",
@@ -624,7 +624,7 @@ make_names("make_core_generated_html_tokenizer_names") {
}
make_names("make_core_generated_input_type_names") {
- in_files = [ "html/forms/InputTypeNames.in" ]
+ in_files = [ "html/forms/InputTypeNames.json5" ]
outputs = [
"$blink_core_output_dir/InputTypeNames.cpp",
"$blink_core_output_dir/InputTypeNames.h",
@@ -632,7 +632,7 @@ make_names("make_core_generated_input_type_names") {
}
make_names("make_core_generated_input_mode_names") {
- in_files = [ "editing/InputModeNames.in" ]
+ in_files = [ "editing/InputModeNames.json5" ]
outputs = [
"$blink_core_output_dir/InputModeNames.cpp",
"$blink_core_output_dir/InputModeNames.h",
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_names.py ('k') | third_party/WebKit/Source/core/css/MediaFeatureNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698