include extra_cflags* in the step description
authormtklein <mtklein@chromium.org>
Fri, 19 Aug 2016 11:27:34 +0000 (04:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 19 Aug 2016 11:27:34 +0000 (04:27 -0700)
This keeps them visible on the bots.
E.g. https://luci-milo.appspot.com/swarming/task/30b9147a09f2ac10/steps/ninja/0/stdout

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2254733008

Review-Url: https://codereview.chromium.org/2254733008

gn/BUILD.gn

index 26e80f8dfc45f9e1ab6cfb95116d6967a8c58d5f..cea57454a9a7ccbedd77d61ccdf745ff11c63ea9 100644 (file)
@@ -73,7 +73,7 @@ toolchain("gcc_like") {
     outputs = [
       "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
     ]
-    description = "$cc ... -o {{output}}"
+    description = "$cc ... $extra_cflags $extra_cflags_c -o {{output}}"
   }
 
   tool("cxx") {
@@ -83,7 +83,7 @@ toolchain("gcc_like") {
     outputs = [
       "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
     ]
-    description = "$cxx ... -o {{output}}"
+    description = "$cxx ... $extra_cflags $extra_cflags_cc -o {{output}}"
   }
 
   tool("asm") {