OLD | NEW |
1 # Checking out and Building Chromium for Windows | 1 # Checking out and Building Chromium for Windows |
2 | 2 |
3 There are instructions for other platforms linked from the | 3 There are instructions for other platforms linked from the |
4 [get the code](get_the_code.md) page. | 4 [get the code](get_the_code.md) page. |
5 | 5 |
6 ## Instructions for Google Employees | 6 ## Instructions for Google Employees |
7 | 7 |
8 Are you a Google employee? See | 8 Are you a Google employee? See |
9 [go/building-chrome-win](https://goto.google.com/building-chrome-win) instead. | 9 [go/building-chrome-win](https://goto.google.com/building-chrome-win) instead. |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 Windows SDK to build. | 27 Windows SDK to build. |
28 | 28 |
29 Install Visual Studio 2015 Update 3 or later - Community Edition | 29 Install Visual Studio 2015 Update 3 or later - Community Edition |
30 should work if its license is appropriate for you. Use the Custom Install option | 30 should work if its license is appropriate for you. Use the Custom Install option |
31 and select: | 31 and select: |
32 | 32 |
33 - Visual C++, which will select three sub-categories including MFC | 33 - Visual C++, which will select three sub-categories including MFC |
34 - Universal Windows Apps Development Tools > Tools (1.4.1) and Windows 10 SDK | 34 - Universal Windows Apps Development Tools > Tools (1.4.1) and Windows 10 SDK |
35 (10.0.14393) | 35 (10.0.14393) |
36 | 36 |
37 You must have the 14393 SDK installed or else you will hit compile errors such | 37 You must have the 14393 Windows SDK installed - the 15063 SDK has errors and |
38 as undefined or redefined macros. | 38 cannot be used to compile Chrome. It is okay to have multiple SDK versions |
| 39 installed as long as 14393 is one of them. The installer can be found in the |
| 40 [Windows SDK archive](https://developer.microsoft.com/en-us/windows/downloads/sd
k-archive). |
39 | 41 |
40 Install the Windows SDK 10, and choose Debugging Tools For Windows when you | 42 When installing the 14393 Windows SDK choose Debugging Tools For Windows in |
41 install this in order to get windbg and cdb. The latter is required for the | 43 order to get windbg and cdb. The latter is required for the build to succeed as |
42 build to succeed as some tests use it for symbolizing crash dumps. | 44 some tests use it for symbolizing crash dumps. |
43 | 45 |
44 ## Install `depot_tools` | 46 ## Install `depot_tools` |
45 | 47 |
46 Download the [depot_tools bundle](https://storage.googleapis.com/chrome-infra/de
pot_tools.zip) | 48 Download the [depot_tools bundle](https://storage.googleapis.com/chrome-infra/de
pot_tools.zip) |
47 and extract it somewhere. | 49 and extract it somewhere. |
48 | 50 |
49 *** note | 51 *** note |
50 **Warning:** **DO NOT** use drag-n-drop or copy-n-paste extract from Explorer, | 52 **Warning:** **DO NOT** use drag-n-drop or copy-n-paste extract from Explorer, |
51 this will not extract the hidden “.git” folder which is necessary for | 53 this will not extract the hidden “.git” folder which is necessary for |
52 depot_tools to autoupdate itself. You can use “Extract all…” from the | 54 depot_tools to autoupdate itself. You can use “Extract all…” from the |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 $ gclient sync | 229 $ gclient sync |
228 ``` | 230 ``` |
229 | 231 |
230 The first command updates the primary Chromium source repository and rebases | 232 The first command updates the primary Chromium source repository and rebases |
231 any of your local branches on top of tip-of-tree (aka the Git branch `origin/mas
ter`). | 233 any of your local branches on top of tip-of-tree (aka the Git branch `origin/mas
ter`). |
232 If you don't want to use this script, you can also just use `git pull` or | 234 If you don't want to use this script, you can also just use `git pull` or |
233 other common Git commands to update the repo. | 235 other common Git commands to update the repo. |
234 | 236 |
235 The second command syncs the subrepositories to the appropriate versions and | 237 The second command syncs the subrepositories to the appropriate versions and |
236 re-runs the hooks as needed. | 238 re-runs the hooks as needed. |
OLD | NEW |