OLD | NEW |
1 # Windows Build Instructions | 1 # Windows Build Instructions |
2 | 2 |
3 ## Common checkout instructions | 3 ## Common checkout instructions |
4 | 4 |
5 This page covers Windows-specific setup and configuration. The | 5 This page covers Windows-specific setup and configuration. The |
6 [general checkout | 6 [general checkout |
7 instructions](http://dev.chromium.org/developers/how-tos/get-the-code) cover | 7 instructions](http://dev.chromium.org/developers/how-tos/get-the-code) cover |
8 installing depot tools and checking out the code via git. | 8 installing depot tools and checking out the code via git. |
9 | 9 |
10 ## Setting up Windows | 10 ## Setting up Windows |
11 | 11 |
12 You must set your Windows system locale to English, or else you may get | 12 You must set your Windows system locale to English, or else you may get |
13 build errors about "The file contains a character that cannot be | 13 build errors about "The file contains a character that cannot be |
14 represented in the current code page." | 14 represented in the current code page." |
15 | 15 |
16 ### Setting up the environment for Visual Studio | 16 ### Setting up the environment for Visual Studio |
17 | 17 |
18 You must build with Visual Studio 2015 Update 2; no other version is | 18 You must build with Visual Studio 2015 Update 3; no other version is |
19 supported. | 19 supported. |
20 | 20 |
21 You must have Windows 7 x64 or later. x86 OSs are unsupported. | 21 You must have Windows 7 x64 or later. x86 OSs are unsupported. |
22 | 22 |
23 ## Getting the compiler toolchain | 23 ## Getting the compiler toolchain |
24 | 24 |
25 Follow the appropriate path below: | 25 Follow the appropriate path below: |
26 | 26 |
27 ### Open source contributors | 27 ### Open source contributors |
28 | 28 |
29 As of March 11, 2016 Chromium requires Visual Studio 2015 to build. | 29 As of March 11, 2016 Chromium requires Visual Studio 2015 to build. |
30 | 30 |
31 Install Visual Studio 2015 Update 2 or later - Community Edition | 31 Install Visual Studio 2015 Update 3 or later - Community Edition |
32 should work if its license is appropriate for you. Use the Custom Install option | 32 should work if its license is appropriate for you. Use the Custom Install option |
33 and select: | 33 and select: |
34 | 34 |
35 - Visual C++, which will select three sub-categories including MFC | 35 - Visual C++, which will select three sub-categories including MFC |
36 - Universal Windows Apps Development Tools > Tools | 36 - Universal Windows Apps Development Tools > Tools |
37 - Universal Windows Apps Development Tools > Windows 10 SDK (10.0.10586) | 37 - Universal Windows Apps Development Tools > Windows 10 SDK (10.0.10586) |
38 | 38 |
39 You must have the 10586 SDK installed or else you will hit compile errors such | 39 You must have the 10586 SDK installed or else you will hit compile errors such |
40 as redefined macros. | 40 as redefined macros. |
41 | 41 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 3. Store the build tree on a fast disk (preferably SSD). | 99 3. Store the build tree on a fast disk (preferably SSD). |
100 4. If you are primarily going to be doing debug development builds, you | 100 4. If you are primarily going to be doing debug development builds, you |
101 should use the component build. Set the [build | 101 should use the component build. Set the [build |
102 arg](https://www.chromium.org/developers/gn-build-configuration) | 102 arg](https://www.chromium.org/developers/gn-build-configuration) |
103 `is_component_build = true`. | 103 `is_component_build = true`. |
104 This will generate many DLLs and enable incremental linking, which makes | 104 This will generate many DLLs and enable incremental linking, which makes |
105 linking **much** faster in Debug. | 105 linking **much** faster in Debug. |
106 | 106 |
107 Still, expect build times of 30 minutes to 2 hours when everything has to | 107 Still, expect build times of 30 minutes to 2 hours when everything has to |
108 be recompiled. | 108 be recompiled. |
OLD | NEW |