| Index: build/compiled_action.gni
|
| diff --git a/build/compiled_action.gni b/build/compiled_action.gni
|
| index b750af0320084e4ad9a72b4899a3c340b6e84e10..e5059aab99177a91e56278d4b1ad0f35f03341e1 100644
|
| --- a/build/compiled_action.gni
|
| +++ b/build/compiled_action.gni
|
| @@ -102,22 +102,23 @@ template("compiled_action") {
|
| # If that's not the case, we'll need another argument to the script to
|
| # specify this, since we can't know what the output name is (it might be in
|
| # another file not processed yet).
|
| - host_executable = get_label_info(host_tool, "root_out_dir") + "/" +
|
| - get_label_info(host_tool, "name") + _host_executable_suffix
|
| + host_executable =
|
| + get_label_info(host_tool, "root_out_dir") + "/" +
|
| + get_label_info(host_tool, "name") + _host_executable_suffix
|
|
|
| # Add the executable itself as an input.
|
| inputs += [ host_executable ]
|
|
|
| - deps = [ host_tool ]
|
| + deps = [
|
| + host_tool,
|
| + ]
|
| if (defined(invoker.deps)) {
|
| deps += invoker.deps
|
| }
|
|
|
| # The script takes as arguments the binary to run, and then the arguments
|
| # to pass it.
|
| - args = [
|
| - rebase_path(host_executable, root_build_dir)
|
| - ] + invoker.args
|
| + args = [ rebase_path(host_executable, root_build_dir) ] + invoker.args
|
| }
|
| }
|
|
|
| @@ -151,21 +152,22 @@ template("compiled_action_foreach") {
|
| # If that's not the case, we'll need another argument to the script to
|
| # specify this, since we can't know what the output name is (it might be in
|
| # another file not processed yet).
|
| - host_executable = get_label_info(host_tool, "root_out_dir") + "/" +
|
| - get_label_info(host_tool, "name") + _host_executable_suffix
|
| + host_executable =
|
| + get_label_info(host_tool, "root_out_dir") + "/" +
|
| + get_label_info(host_tool, "name") + _host_executable_suffix
|
|
|
| # Add the executable itself as an input.
|
| inputs += [ host_executable ]
|
|
|
| - deps = [ host_tool ]
|
| + deps = [
|
| + host_tool,
|
| + ]
|
| if (defined(invoker.deps)) {
|
| deps += invoker.deps
|
| }
|
|
|
| # The script takes as arguments the binary to run, and then the arguments
|
| # to pass it.
|
| - args = [
|
| - rebase_path(host_executable, root_build_dir)
|
| - ] + invoker.args
|
| + args = [ rebase_path(host_executable, root_build_dir) ] + invoker.args
|
| }
|
| }
|
|
|