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

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: rebase 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 55be3580bac1d0b180a0c43763c031c9a9ff836e..5c9d5daef6466ca851929e11622c81f51dfa8e9b 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -322,7 +322,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 -------------------------------------------------------
@@ -433,7 +433,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",
@@ -563,8 +563,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",
@@ -576,7 +576,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",
@@ -585,7 +585,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",
@@ -593,7 +593,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",
@@ -601,7 +601,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",
@@ -609,7 +609,7 @@ make_names("make_core_generated_event_target_names") {
}
make_names("make_core_generated_fetch_initiator_type_names") {
- in_files = [ "fetch/FetchInitiatorTypeNames.in" ]
+ in_files = [ "fetch/FetchInitiatorTypeNames.json5" ]
outputs = [
"$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp",
"$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h",
@@ -617,7 +617,7 @@ make_names("make_core_generated_fetch_initiator_type_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",
@@ -625,7 +625,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",
@@ -633,7 +633,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",
@@ -641,7 +641,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",

Powered by Google App Engine
This is Rietveld 408576698