Commit 9b3d9815 authored by Dirk Pranke's avatar Dirk Pranke Committed by Commit Bot

Fix incorrect path in python2 GN templates.

A couple of the python2 action GN templates referenced
the wrong (old) path to //build/util/python2_action.py.
This CL fixes them.

Bug: 1112471
Change-Id: Ifb1c35ef00275e79f6f63fe9b3afac28b24aa975
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2510990Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#822862}
parent 4e10bca6
...@@ -133,7 +133,7 @@ template("python2_action_foreach") { ...@@ -133,7 +133,7 @@ template("python2_action_foreach") {
"visibility", "visibility",
]) ])
script = "//build/run_under_python2.py" script = "//build/util/python2_action.py"
if (!defined(invoker.inputs)) { if (!defined(invoker.inputs)) {
inputs = [ invoker.script ] inputs = [ invoker.script ]
} else { } else {
...@@ -202,7 +202,7 @@ template("action_with_pydeps") { ...@@ -202,7 +202,7 @@ template("action_with_pydeps") {
_args = args _args = args
args = [] args = []
args = [ rebase_path(invoker.script, root_build_dir) ] + _args args = [ rebase_path(invoker.script, root_build_dir) ] + _args
script = "//build/run_under_python2.py" script = "//build/util/python2_action.py"
} }
} }
} }
...@@ -251,7 +251,7 @@ template("action_foreach_with_pydeps") { ...@@ -251,7 +251,7 @@ template("action_foreach_with_pydeps") {
_args = args _args = args
args = [] args = []
args = [ rebase_path(invoker.script, root_build_dir) ] + _args args = [ rebase_path(invoker.script, root_build_dir) ] + _args
script = "//build/run_under_python2.py" script = "//build/util/python2_action.py"
} }
} }
} }
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