Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: docs/windows_build_instructions.md

Issue 1849143004: Re-add blockquotes in Windows build instructions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Windows Build Instructions 1 # Windows Build Instructions
2 2
3 ## Setting up Windows 3 ## Setting up Windows
4 4
5 You must set your Windows system locale to English, or else you may get 5 You must set your Windows system locale to English, or else you may get
6 build errors about "The file contains a character that cannot be 6 build errors about "The file contains a character that cannot be
7 represented in the current code page." 7 represented in the current code page."
8 8
9 ### Setting up the environment for Visual Studio 9 ### Setting up the environment for Visual Studio
10 10
11 You must build with Visual Studio 2013 Update 4 or Visual Studio 2015 11 You must build with Visual Studio 2013 Update 4 or Visual Studio 2015
12 Update 1, no other versions are supported. 12 Update 1, no other versions are supported.
13 13
14 You must have Windows 7 x64 or later. x86 OSs are unsupported. 14 You must have Windows 7 x64 or later. x86 OSs are unsupported.
15 15
16 1. Get 16 1. Get
17 [depot\_tools](http://commondatastorage.googleapis.com/chrome-infra-docs/flat/de pot_tools/docs/html/depot_tools_tutorial.html#_setting_up). 17 [depot\_tools](http://commondatastorage.googleapis.com/chrome-infra-docs/flat/de pot_tools/docs/html/depot_tools_tutorial.html#_setting_up).
18 2. Follow the appropriate path below: 18 2. Follow the appropriate path below:
19 19
20 ### Open source contributors 20 ### Open source contributors
21 21
22 ####For building with Visual Studio 2015 (default compiler as of March 10, 2016) : 22 ####For building with Visual Studio 2015 (default compiler as of March 11, 2016) :
23 23
24 Install Visual Studio 2015 Update 1 or later - Community Edition 24 > Install Visual Studio 2015 Update 2 or later - Community Edition
25 should work if its license is appropriate for you. Use the Custom Install option 25 > should work if its license is appropriate for you. Use the Custom Install opti on
26 and select: 26 > and select:
27 >
28 > - Visual C++, which will select three sub-categories including MFC
29 > - Universal Windows Apps Development Tools > Tools
30 > - Universal Windows Apps Development Tools > Windows 10 SDK (10.0.10586)
31 >
32 > You must have the 10586 SDK installed or else you will hit compile errors such
33 > as redefined macros.
27 34
28 - Visual C++, which will select three sub-categories including MFC 35 #### For building with Visual Studio 2013 (no longer default as of March 11, 201 6, and not recommended - requires setting `GYP_MSVS_VERSION=2013`):
29 - Universal Windows Apps Development Tools > Tools (1.2)
30 - Universal Windows Apps Development Tools > Windows 10 SDK (10.0.10586)
31 36
32 You must have the 10586 SDK installed or else you will hit compile errors such 37 > Install [Visual Studio 2013
33 as redefined macros. 38 > Community](http://www.visualstudio.com/products/visual-studio-community-vs)
34 39 > or [Visual Studio 2013
35 #### For building with Visual Studio 2013 (no longer default as of March 10, 201 6, and not recommended - requires setting `GYP_MSVS_VERSION=2013`): 40 > Professional](http://www.visualstudio.com/products/visual-studio-professional- with-msdn-vs)
36 41 > depending on which license is appropriate for you. You can deselect
37 Install [Visual Studio 2013 42 > the default options if you want, but you must make sure to install
38 Community](http://www.visualstudio.com/products/visual-studio-community-vs) 43 > "Microsoft Foundation Classes for C++".
39 or [Visual Studio 2013 44 >
40 Professional](http://www.visualstudio.com/products/visual-studio-professional-wi th-msdn-vs) 45 > You should also install the [Windows 10
41 depending on which license is appropriate for you. You can deselect 46 > SDK](https://dev.windows.com/en-us/downloads/windows-10-sdk) to the
42 the default options if you want, but you must make sure to install 47 > default install location. You must have SDK version 10.0.10586 or
43 "Microsoft Foundation Classes for C++". 48 > greater installed.
44
45 You should also install the [Windows 10
46 SDK](https://dev.windows.com/en-us/downloads/windows-10-sdk) to the
47 default install location. You must have SDK version 10.0.10586 or
48 greater installed.
49 49
50 Run `set DEPOT_TOOLS_WIN_TOOLCHAIN=0`, or set that variable in your 50 Run `set DEPOT_TOOLS_WIN_TOOLCHAIN=0`, or set that variable in your
51 global environment. 51 global environment.
52 52
53 Visual Studio Express 2013 is **not** supported and will not be able to 53 Visual Studio Express 2013 is **not** supported and will not be able to
54 build Chromium. 54 build Chromium.
55 55
56 Compilation is done through ninja, **not** Visual Studio. 56 Compilation is done through ninja, **not** Visual Studio.
57 57
58 ### Google employees 58 ### Google employees
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 should use the component build: 106 should use the component build:
107 - for [GYP](https://www.chromium.org/developers/gyp-environment-variables) 107 - for [GYP](https://www.chromium.org/developers/gyp-environment-variables)
108 set `GYP_DEFINES=component=shared_library` 108 set `GYP_DEFINES=component=shared_library`
109 - for [GN](https://www.chromium.org/developers/gn-build-configuration), 109 - for [GN](https://www.chromium.org/developers/gn-build-configuration),
110 set the build arg `is_component_build = true`. 110 set the build arg `is_component_build = true`.
111 This will generate many DLLs and enable incremental linking, which makes 111 This will generate many DLLs and enable incremental linking, which makes
112 linking **much** faster in Debug. 112 linking **much** faster in Debug.
113 113
114 Still, expect build times of 30 minutes to 2 hours when everything has to 114 Still, expect build times of 30 minutes to 2 hours when everything has to
115 be recompiled. 115 be recompiled.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698