mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 20:29:39 +00:00
[build] Advise ninja to ignore out-of-date .lib files.
MSVC won't update .lib file if there were no changes, and this restat attribute tells ninja to honor that. Change-Id: If78184aecf13578617570478cbf158276981e25d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/120747 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
b12bed36a8
commit
cee3f71e29
|
@ -182,6 +182,8 @@ template("msvc_toolchain") {
|
|||
# The use of inputs_newline is to work around a fixed per-line buffer
|
||||
# size in the linker.
|
||||
rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}"
|
||||
|
||||
restat = true
|
||||
}
|
||||
|
||||
tool("link") {
|
||||
|
@ -206,6 +208,8 @@ template("msvc_toolchain") {
|
|||
# The use of inputs_newline is to work around a fixed per-line buffer
|
||||
# size in the linker.
|
||||
rspfile_content = "{{inputs_newline}} {{libs}} {{solibs}} {{ldflags}}"
|
||||
|
||||
restat = true
|
||||
}
|
||||
|
||||
tool("stamp") {
|
||||
|
|
Loading…
Reference in a new issue