aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-13 14:31:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-13 18:55:00 +0000
commitc756e86432b4964c7ef7d54ac522d93270b57232 (patch)
treeabb3165f076a0727afe4781769edc30e099b5c5e /gn/BUILD.gn
parenteaabe0093604c82a00e77e4170d2d34478f38927 (diff)
GN/Win: quieter builds
It's hard to read the logs as they are now. This simplifies down the descriptions, and stifles a warning about linking object files with no symbols into a static library. CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Win-MSVC-x86-Debug-Exceptions-Trybot,Build-Win-MSVC-x86_64-Debug-GN-Trybot,Build-Win-MSVC-x86_64-Release-GN-Trybot GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3322 Change-Id: I52beb3b8405ebb2c370cad432669834b64baa840 Reviewed-on: https://skia-review.googlesource.com/3322 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index b4eb327abb..dfab7e2825 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -364,6 +364,7 @@ toolchain("msvc") {
"{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj",
]
rspfile_content = "{{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}"
+ description = "compile {{source}}"
}
tool("cxx") {
@@ -378,13 +379,13 @@ toolchain("msvc") {
"{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj",
]
rspfile_content = "{{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}}"
+ description = "compile {{source}}"
}
tool("alink") {
rspfile = "{{output}}.rsp"
- command =
- "$env_setup$bin/lib.exe /nologo {{arflags}} /OUT:{{output}} @$rspfile"
+ command = "$env_setup$bin/lib.exe /nologo /ignore:4221 {{arflags}} /OUT:{{output}} @$rspfile"
outputs = [
# Ignore {{output_extension}} and always use .lib, there's no reason to
# allow targets to override this extension on Windows.
@@ -395,6 +396,7 @@ toolchain("msvc") {
# inputs_newline works around a fixed per-line buffer size in the linker.
rspfile_content = "{{inputs_newline}}"
+ description = "link {{output}}"
}
tool("link") {
@@ -413,10 +415,12 @@ toolchain("msvc") {
# inputs_newline works around a fixed per-line buffer size in the linker.
rspfile_content = "{{inputs_newline}} {{libs}} {{solibs}} {{ldflags}}"
+ description = "link {{output}}"
}
tool("stamp") {
command = "cmd.exe /c echo > {{output}}"
+ description = "stamp {{output}}"
}
}