Lines Matching +full:force +full:- +full:load +full:- +full:on +full:- +full:access
3 # Use of this source code is governed by a BSD-style license that can be
40 # When running on a non-Windows host, only do this if the SDK has explicitly
49 toolchain_data = json.load(tempf)
67 # Include the VS runtime in the PATH in case it's not machine-installed.
81 # When running 64-bit python the x64 DLLs will be in System32
96 contents of the registry key's value, or None on failure. Throws
140 # https://blogs.msdn.microsoft.com/heaths/2016/09/15/changes-to-visual-studio-15-setup/
160 some reason the values tend to differ by ~1e-07 despite being copies of the
165 abs(os.stat(target).st_mtime - os.stat(source).st_mtime) >= 0.01)):
188 # api-ms-win-crt-*.dll files that are not found in the Windows directory.
198 ucrt_files = glob.glob(os.path.join(ucrt_dll_dirs, 'api-ms-win-*.dll'))
235 # These dependencies will be in a different location depending on the version
248 # - pgort140.dll: runtime library required to run the instrumented image.
249 # - pgosweep.exe: executable used to collect the profiling data
332 """Load a list of SHA1s corresponding to the toolchains that we want installed
339 # Third parties that do not have access to the canonical toolchain can map
351 toolchain_data = json.load(tempf)
359 def Update(force=False): argument
364 if force != False and force != '--force':
365 print('Unknown parameter "%s"' % force, file=sys.stderr)
367 if force == '--force' or os.path.exists(json_data_file):
368 force = True
372 if ((sys.platform in ('win32', 'cygwin') or force) and
377 # On Linux, the file system is usually case-sensitive while the Windows
378 # SDK only works on case-insensitive file systems. If it doesn't already
379 # exist, set up a ciopfs fuse mount to put the SDK in a case-insensitive
383 # fusermount -u third_party/depot_tools/win_toolchain/vs_files
394 # Without use_ino, clang's #pragma once and Wnonportable-include-path
399 ciopfs, '-o', 'use_ino', toolchain_dir + '.ciopfs', toolchain_dir])
409 '--output-json', json_data_file,
411 if force:
412 get_toolchain_args.append('--force')
420 path = path[:-1]