GN: Fix bootstrap call to setup_toolchain
The parameters to setup_toolchain changed, adding an OS parameter and a filename for the environment file. Additional fixes: - Add missing base file to list of files - vs_toolchain should output Windows paths properly escaped Change-Id: I0e05bf34c8b603f16b901e76164e480121ed9d14 Reviewed-on: https://chromium-review.googlesource.com/1013926 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Yngve Pettersen <yngve@vivaldi.com> Cr-Original-Commit-Position: refs/heads/master@{#551341} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 95fe44b3c31cf5e1a668d9ef8853aaf2cf9523a5
This commit is contained in:
Родитель
d8cd86b3ab
Коммит
dafbe57ab6
|
@ -13,6 +13,7 @@ import shutil
|
|||
import stat
|
||||
import subprocess
|
||||
import sys
|
||||
from gn_helpers import ToGNString
|
||||
|
||||
|
||||
script_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
|
@ -448,17 +449,17 @@ def GetToolchainDir():
|
|||
runtime_dll_dirs = SetEnvironmentAndGetRuntimeDllDirs()
|
||||
win_sdk_dir = SetEnvironmentAndGetSDKDir()
|
||||
|
||||
print '''vs_path = "%s"
|
||||
sdk_path = "%s"
|
||||
vs_version = "%s"
|
||||
wdk_dir = "%s"
|
||||
runtime_dirs = "%s"
|
||||
print '''vs_path = %s
|
||||
sdk_path = %s
|
||||
vs_version = %s
|
||||
wdk_dir = %s
|
||||
runtime_dirs = %s
|
||||
''' % (
|
||||
NormalizePath(os.environ['GYP_MSVS_OVERRIDE_PATH']),
|
||||
win_sdk_dir,
|
||||
GetVisualStudioVersion(),
|
||||
NormalizePath(os.environ.get('WDK_DIR', '')),
|
||||
os.path.pathsep.join(runtime_dll_dirs or ['None']))
|
||||
ToGNString(NormalizePath(os.environ['GYP_MSVS_OVERRIDE_PATH'])),
|
||||
ToGNString(win_sdk_dir),
|
||||
ToGNString(GetVisualStudioVersion()),
|
||||
ToGNString(NormalizePath(os.environ.get('WDK_DIR', ''))),
|
||||
ToGNString(os.path.pathsep.join(runtime_dll_dirs or ['None'])))
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Загрузка…
Ссылка в новой задаче