/[chrome]
Chromium logo

Revision 175004


Jump to revision: Previous Next
Author: scottmg@chromium.org
Date: Thu Jan 3 20:42:48 2013 UTC (15 months, 1 week ago)
Changed paths: 6
Log Message:
tools addition to automate setting up windows toolchain

Attempting to make it easier and more reliable to set up a windows build toolchain. No need to acquire/install IDEs, service packs, patch things, etc. This tool downloads and unpacks sdks and compiler from various freely available sources.

On a clean machine, after getting depot_tools, and running "gclient" (which installs python), and "git clone ..." or "svn co ..." to get the main chromium repo:

c:\chrome>python src\tools\win\toolchain\toolchain.py
...wait 2-10 minutes depending on download speed...
c:\chrome>win_toolchain\env.bat
c:\chrome>cd src
c:\chrome\src>gclient sync
c:\chrome\src>ninja -C out\Debug chrome

This script does not run any "installation" steps, it only extracts tools, and so avoids changing any global machine state. This way, it (intends to) avoid mucking up other compiler installations, and being mucked up by them.

Requires gyp patch at https://codereview.chromium.org/11637025 to avoid needing to add fake registry keys.

BUG=windows compilers is hard, let's go shopping
TEST=on clean vmware win7 x64, and many rollbacks to 'fresh install' snapshot. http://crbug.com/166949 is in progress for a bot that does this.

Review URL: https://codereview.chromium.org/11633012

Changed paths:

Path Details
Directorytrunk/src/tools/win/toolchain/ added
Directorytrunk/src/tools/win/toolchain/7z/ added
Directorytrunk/src/tools/win/toolchain/7z/7z.dll added
Directorytrunk/src/tools/win/toolchain/7z/7z.exe added
Directorytrunk/src/tools/win/toolchain/7z/LICENSE added
Directorytrunk/src/tools/win/toolchain/toolchain.py added

Powered by ViewVC 1.1.5 ViewVC Help