Functions | |
def | _GetDesiredVsToolchainHashes (version) |
def | FindDepotTools () |
def | main () |
def | SetEnvironmentForCPU (cpu) |
def | Update (version) |
Variables | |
json_data_file = os.path.join(script_dir, 'win_toolchain.json') | |
script_dir = os.path.dirname(os.path.realpath(__file__)) | |
|
private |
Load a list of SHA1s corresponding to the toolchains that we want installed to build with.
Definition at line 62 of file vs_toolchain.py.
def vs_toolchain.FindDepotTools | ( | ) |
Returns the path to depot_tools in $PATH.
Definition at line 54 of file vs_toolchain.py.
def vs_toolchain.main | ( | ) |
Definition at line 94 of file vs_toolchain.py.
def vs_toolchain.SetEnvironmentForCPU | ( | cpu | ) |
Sets the environment to build with the selected toolchain for |cpu|.
Definition at line 18 of file vs_toolchain.py.
def vs_toolchain.Update | ( | version | ) |
Requests an update of the toolchain to the specific hashes we have at this revision. The update outputs a .json of the various configuration information required to pass to vs_env.py which we use in |SetEnvironmentForCPU()|.
Definition at line 76 of file vs_toolchain.py.
vs_toolchain.json_data_file = os.path.join(script_dir, 'win_toolchain.json') |
Definition at line 15 of file vs_toolchain.py.
vs_toolchain.script_dir = os.path.dirname(os.path.realpath(__file__)) |
Definition at line 14 of file vs_toolchain.py.