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 = [
# TODO(shend): Remove this once everything that uses this switches over to
# 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.
# 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
# defaults to "scripts_for_json5_files" (if specified, we assume
# that the contents of "scripts_for_json5_files" are included in
......@@ -93,7 +93,7 @@ make_core_generated_deps = [
# other_args: (optional) other arguments to pass to the script.
# deps [optional]:
# Depenendencies. If unspecified defaults to make_core_generated_deps.
template("process_in_files") {
template("process_json5_files") {
action(target_name) {
script = invoker.script
......@@ -178,10 +178,10 @@ template("code_generator") {
}
# Template for scripts using css_properties.py. This is a special case of
# process_in_files.
# process_json5_files.
# outputs: expected results
template("css_properties") {
process_in_files(target_name) {
process_json5_files(target_name) {
script = invoker.script
in_files = [ "css/CSSProperties.json5" ]
if (defined(invoker.in_files)) {
......@@ -200,13 +200,13 @@ template("css_properties") {
}
# Template to run the make_names script. This is a special case of
# process_in_files.
# in_files: files to pass to the script
# process_json5_files.
# in_files: input files to pass to the script
# outputs: expected results
# deps [optional]:
# Dependencies. See process_in_files for definition.
# Dependencies. See process_json5_files for definition.
template("make_names") {
process_in_files(target_name) {
process_json5_files(target_name) {
script = "//third_party/WebKit/Source/build/scripts/make_names.py"
other_inputs = make_names_files
forward_variables_from(invoker,
......@@ -221,11 +221,11 @@ template("make_names") {
}
# Template to run the make_qualified_names script. This is a special case of
# process_in_files.
# in_files: list of ".in" files to process.
# process_json5_files.
# in_files: list of input ".json5" files to process.
# outputs: list of output files
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"
in_files = invoker.in_files
other_inputs = make_qualified_names_files
......@@ -234,13 +234,13 @@ template("make_qualified_names") {
}
# Calls the make_event_factory script. This is a special case of
# process_in_files.
# in_files: list of ".in" files to process.
# process_json5_files.
# in_files: list of input ".json5" files to process.
# outputs: list of output files
# deps [optional]
# Dependencies. See process_in_files for definition.
# Dependencies. See process_json5_files for definition.
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"
other_inputs = make_event_factory_files
forward_variables_from(invoker,
......
......@@ -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"
in_files = [ "css/MediaFeatureNames.json5" ]
other_inputs = [
......@@ -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"
in_files = [
......@@ -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"
in_files = [ "html/HTMLTagNames.json5" ]
......@@ -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"
in_files = [
......@@ -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"
in_files = [ "svg/SVGTagNames.json5" ]
......@@ -851,7 +851,7 @@ make_event_factory("make_core_generated_event_factory") {
# 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"
in_files = [ "css/MediaFeatureNames.json5" ]
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