| Index: build/vs_toolchain.py
|
| diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py
|
| index 4b925f0799f2ade1abbb97834b44ebdddc591a85..558ad3abeabe7bf3c1a7235c56a90cb27709a766 100644
|
| --- a/build/vs_toolchain.py
|
| +++ b/build/vs_toolchain.py
|
| @@ -141,10 +141,17 @@ def Update():
|
|
|
| def GetToolchainDir():
|
| """Gets location information about the current toolchain (must have been
|
| - previously updated by 'update')."""
|
| + previously updated by 'update'). This is used for the GN build."""
|
| SetEnvironmentAndGetRuntimeDllDirs()
|
| - print '["%s", "%s"]' % (
|
| - os.environ['GYP_MSVS_OVERRIDE_PATH'], os.environ['WINDOWSSDKDIR'])
|
| + print '''vs_path = "%s"
|
| +sdk_path = "%s"
|
| +vs_version = "%s"
|
| +wdk_dir = "%s"
|
| +''' % (
|
| + os.environ['GYP_MSVS_OVERRIDE_PATH'],
|
| + os.environ['WINDOWSSDKDIR'],
|
| + os.environ['GYP_MSVS_VERSION'],
|
| + os.environ['WDK_DIR'])
|
|
|
|
|
| def main():
|
|
|