Files
sdk/tools/make_coff_timestamp.py
Ryan Macnak b82383953d [build] Link with lld on Windows when using Clang.
- Make the build deterministic

Bug: https://github.com/dart-lang/sdk/issues/55995
Change-Id: Ic800dd66f23bc402dfede09db3f67f01aa82d29d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373360
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2024-07-02 21:16:39 +00:00

20 lines
527 B
Python

# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
import subprocess
import utils
import sys
def Main():
p = subprocess.Popen(['git', 'show', '--no-patch', '--format=%ct'],
shell=utils.IsWindows(),
cwd=utils.DART_DIR)
p.communicate()
return p.wait()
if __name__ == '__main__':
sys.exit(Main())