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

Unified Diff: build/compiled_action.gni

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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
« no previous file with comments | « build/android/gyp/test/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
}
« no previous file with comments | « build/android/gyp/test/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698