| Index: build/toolchain/win/setup_toolchain.py
|
| diff --git a/build/toolchain/win/setup_toolchain.py b/build/toolchain/win/setup_toolchain.py
|
| index 569f4da4a40f47a899a90a030a81d03fc339994d..cc89638e19e83657f168d4b9303e5a295519edc2 100644
|
| --- a/build/toolchain/win/setup_toolchain.py
|
| +++ b/build/toolchain/win/setup_toolchain.py
|
| @@ -1,6 +1,14 @@
|
| # Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| +#
|
| +# Copies the given "win tool" (which the toolchain uses to wrap compiler
|
| +# invocations) and the environment blocks for the 32-bit and 64-bit builds on
|
| +# Windows to the build directory.
|
| +#
|
| +# The arguments are the visual studio install location and the location of the
|
| +# win tool. The script assumes that the root build directory is the current dir
|
| +# and the files will be written to the current directory.
|
|
|
| import errno
|
| import os
|
| @@ -8,16 +16,6 @@ import re
|
| import subprocess
|
| import sys
|
|
|
| -"""
|
| -Copies the given "win tool" (which the toolchain uses to wrap compiler
|
| -invocations) and the environment blocks for the 32-bit and 64-bit builds on
|
| -Windows to the build directory.
|
| -
|
| -The arguments are the visual studio install location and the location of the
|
| -win tool. The script assumes that the root build directory is the current dir
|
| -and the files will be written to the current directory.
|
| -"""
|
| -
|
|
|
| def _ExtractImportantEnvironment(output_of_set):
|
| """Extracts environment variables required for the toolchain to run from
|
| @@ -104,7 +102,6 @@ def main():
|
| '<visual studio path> <win tool path> <win sdk path> '
|
| '<runtime dirs> <cpu_arch>')
|
| sys.exit(2)
|
| - vs_path = sys.argv[1]
|
| tool_source = sys.argv[2]
|
| win_sdk_path = sys.argv[3]
|
| runtime_dirs = sys.argv[4]
|
|
|