diff options
author | 2016-07-28 11:42:34 -0700 | |
---|---|---|
committer | 2016-07-28 11:42:34 -0700 | |
commit | f05c2c22a76acd99b10c2a0d9b72b35c9c8d2458 (patch) | |
tree | 4ab527aaa7596cfb16d7b9f9f6a29cd5131480fb /gn/BUILD.gn | |
parent | 17e829794db9621879baf2e90856a72b17eaf7dc (diff) |
GN: add abbreviated versions of the command line as descriptions.
This should help make the bot logs a little easier to read. (On the console
this wasn't much of a big deal, as Ninja auto-abbreviates when printing to an
interactive console.)
As usual, Ninja will print the full command when a task fails.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2188263002
Review-Url: https://codereview.chromium.org/2188263002
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 71a8259257..e514bc3be4 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -62,6 +62,7 @@ toolchain("gcc_like") { outputs = [ "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o", ] + description = "$cc ... -o {{output}}" } tool("cxx") { @@ -71,6 +72,7 @@ toolchain("gcc_like") { outputs = [ "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o", ] + description = "$cxx ... -o {{output}}" } tool("asm") { @@ -80,6 +82,7 @@ toolchain("gcc_like") { outputs = [ "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o", ] + description = "$cc ... -o {{output}}" } tool("alink") { @@ -89,6 +92,7 @@ toolchain("gcc_like") { ] default_output_extension = ".a" output_prefix = "lib" + description = "$ar {{output}} ..." } tool("solink") { @@ -105,6 +109,7 @@ toolchain("gcc_like") { ] output_prefix = "lib" default_output_extension = ".so" + description = "$cxx -shared ... -o {{output}}" } tool("link") { @@ -112,6 +117,7 @@ toolchain("gcc_like") { outputs = [ "{{root_out_dir}}/{{target_output_name}}{{output_extension}}", ] + description = "$cxx ... -o {{output}}" } tool("stamp") { |