Commit 8b16dacc authored by Eddy Mead's avatar Eddy Mead Committed by Commit Bot

Rename process_in_files to process_json_files

We don't use files with the extension ".in" any more, as they have been
replaced with the more standard ".json5" format.

Change-Id: I54b8acf9d93b0711d54baf9685baaeeeeea8715c
Reviewed-on: https://chromium-review.googlesource.com/601769Reviewed-by: default avatarDarren Shen <shend@chromium.org>
Commit-Queue: meade_UTC10 <meade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491961}
parent 689cd428
...@@ -81,9 +81,9 @@ make_core_generated_deps = [ ...@@ -81,9 +81,9 @@ make_core_generated_deps = [
# TODO(shend): Remove this once everything that uses this switches over to # TODO(shend): Remove this once everything that uses this switches over to
# the 'code_generator' template instead. # the 'code_generator' template instead.
# Template to run most of scripts that process "*.in" files. # Template to run most of scripts that process "*.json5" files.
# script: script to run. # script: script to run.
# in_files: ".in" files to pass to the script # in_files: input ".json5" files to pass to the script
# other_inputs: (optional) other input files the script depends on # other_inputs: (optional) other input files the script depends on
# defaults to "scripts_for_json5_files" (if specified, we assume # defaults to "scripts_for_json5_files" (if specified, we assume
# that the contents of "scripts_for_json5_files" are included in # that the contents of "scripts_for_json5_files" are included in
...@@ -93,7 +93,7 @@ make_core_generated_deps = [ ...@@ -93,7 +93,7 @@ make_core_generated_deps = [
# other_args: (optional) other arguments to pass to the script. # other_args: (optional) other arguments to pass to the script.
# deps [optional]: # deps [optional]:
# Depenendencies. If unspecified defaults to make_core_generated_deps. # Depenendencies. If unspecified defaults to make_core_generated_deps.
template("process_in_files") { template("process_json5_files") {
action(target_name) { action(target_name) {
script = invoker.script script = invoker.script
...@@ -178,10 +178,10 @@ template("code_generator") { ...@@ -178,10 +178,10 @@ template("code_generator") {
} }
# Template for scripts using css_properties.py. This is a special case of # Template for scripts using css_properties.py. This is a special case of
# process_in_files. # process_json5_files.
# outputs: expected results # outputs: expected results
template("css_properties") { template("css_properties") {
process_in_files(target_name) { process_json5_files(target_name) {
script = invoker.script script = invoker.script
in_files = [ "css/CSSProperties.json5" ] in_files = [ "css/CSSProperties.json5" ]
if (defined(invoker.in_files)) { if (defined(invoker.in_files)) {
...@@ -200,13 +200,13 @@ template("css_properties") { ...@@ -200,13 +200,13 @@ template("css_properties") {
} }
# Template to run the make_names script. This is a special case of # Template to run the make_names script. This is a special case of
# process_in_files. # process_json5_files.
# in_files: files to pass to the script # in_files: input files to pass to the script
# outputs: expected results # outputs: expected results
# deps [optional]: # deps [optional]:
# Dependencies. See process_in_files for definition. # Dependencies. See process_json5_files for definition.
template("make_names") { template("make_names") {
process_in_files(target_name) { process_json5_files(target_name) {
script = "//third_party/WebKit/Source/build/scripts/make_names.py" script = "//third_party/WebKit/Source/build/scripts/make_names.py"
other_inputs = make_names_files other_inputs = make_names_files
forward_variables_from(invoker, forward_variables_from(invoker,
...@@ -221,11 +221,11 @@ template("make_names") { ...@@ -221,11 +221,11 @@ template("make_names") {
} }
# Template to run the make_qualified_names script. This is a special case of # Template to run the make_qualified_names script. This is a special case of
# process_in_files. # process_json5_files.
# in_files: list of ".in" files to process. # in_files: list of input ".json5" files to process.
# outputs: list of output files # outputs: list of output files
template("make_qualified_names") { template("make_qualified_names") {
process_in_files(target_name) { process_json5_files(target_name) {
script = "//third_party/WebKit/Source/build/scripts/make_qualified_names.py" script = "//third_party/WebKit/Source/build/scripts/make_qualified_names.py"
in_files = invoker.in_files in_files = invoker.in_files
other_inputs = make_qualified_names_files other_inputs = make_qualified_names_files
...@@ -234,13 +234,13 @@ template("make_qualified_names") { ...@@ -234,13 +234,13 @@ template("make_qualified_names") {
} }
# Calls the make_event_factory script. This is a special case of # Calls the make_event_factory script. This is a special case of
# process_in_files. # process_json5_files.
# in_files: list of ".in" files to process. # in_files: list of input ".json5" files to process.
# outputs: list of output files # outputs: list of output files
# deps [optional] # deps [optional]
# Dependencies. See process_in_files for definition. # Dependencies. See process_json5_files for definition.
template("make_event_factory") { template("make_event_factory") {
process_in_files(target_name) { process_json5_files(target_name) {
script = "//third_party/WebKit/Source/build/scripts/make_event_factory.py" script = "//third_party/WebKit/Source/build/scripts/make_event_factory.py"
other_inputs = make_event_factory_files other_inputs = make_event_factory_files
forward_variables_from(invoker, forward_variables_from(invoker,
......
...@@ -704,7 +704,7 @@ css_properties("make_core_generated_css_property_names") { ...@@ -704,7 +704,7 @@ css_properties("make_core_generated_css_property_names") {
] ]
} }
process_in_files("make_core_generated_media_features") { process_json5_files("make_core_generated_media_features") {
script = "../build/scripts/make_media_features.py" script = "../build/scripts/make_media_features.py"
in_files = [ "css/MediaFeatureNames.json5" ] in_files = [ "css/MediaFeatureNames.json5" ]
other_inputs = [ other_inputs = [
...@@ -783,7 +783,7 @@ code_generator("make_core_generated_css_value_keywords") { ...@@ -783,7 +783,7 @@ code_generator("make_core_generated_css_value_keywords") {
] ]
} }
process_in_files("make_core_generated_html_element_factory") { process_json5_files("make_core_generated_html_element_factory") {
script = "../build/scripts/make_element_factory.py" script = "../build/scripts/make_element_factory.py"
in_files = [ in_files = [
...@@ -799,7 +799,7 @@ process_in_files("make_core_generated_html_element_factory") { ...@@ -799,7 +799,7 @@ process_in_files("make_core_generated_html_element_factory") {
] ]
} }
process_in_files("make_core_generated_html_element_type_helpers") { process_json5_files("make_core_generated_html_element_type_helpers") {
script = "../build/scripts/make_element_type_helpers.py" script = "../build/scripts/make_element_type_helpers.py"
in_files = [ "html/HTMLTagNames.json5" ] in_files = [ "html/HTMLTagNames.json5" ]
...@@ -810,7 +810,7 @@ process_in_files("make_core_generated_html_element_type_helpers") { ...@@ -810,7 +810,7 @@ process_in_files("make_core_generated_html_element_type_helpers") {
] ]
} }
process_in_files("make_core_generated_svg_names") { process_json5_files("make_core_generated_svg_names") {
script = "../build/scripts/make_element_factory.py" script = "../build/scripts/make_element_factory.py"
in_files = [ in_files = [
...@@ -826,7 +826,7 @@ process_in_files("make_core_generated_svg_names") { ...@@ -826,7 +826,7 @@ process_in_files("make_core_generated_svg_names") {
] ]
} }
process_in_files("make_core_generated_svg_element_type_helpers") { process_json5_files("make_core_generated_svg_element_type_helpers") {
script = "../build/scripts/make_element_type_helpers.py" script = "../build/scripts/make_element_type_helpers.py"
in_files = [ "svg/SVGTagNames.json5" ] in_files = [ "svg/SVGTagNames.json5" ]
...@@ -851,7 +851,7 @@ make_event_factory("make_core_generated_event_factory") { ...@@ -851,7 +851,7 @@ make_event_factory("make_core_generated_event_factory") {
# make_names ------------------------------------------------------------------- # make_names -------------------------------------------------------------------
process_in_files("make_core_generated_media_feature_names") { process_json5_files("make_core_generated_media_feature_names") {
script = "../build/scripts/make_media_feature_names.py" script = "../build/scripts/make_media_feature_names.py"
in_files = [ "css/MediaFeatureNames.json5" ] in_files = [ "css/MediaFeatureNames.json5" ]
other_inputs = make_names_files other_inputs = make_names_files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment