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

Side by Side Diff: docs/common_build_tasks.md

Issue 2554803003: Redirect links to faster-builds tips to newly merged Linux instructions (Closed)
Patch Set: Created 4 years 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 | docs/linux_build_instructions.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Common Build Tasks 1 # Common Build Tasks
2 2
3 The Chromium build system is a complicated beast of a system, and it is not very 3 The Chromium build system is a complicated beast of a system, and it is not very
4 well documented beyond the basics of getting the source and building the 4 well documented beyond the basics of getting the source and building the
5 Chromium product. This page has more advanced information about the build 5 Chromium product. This page has more advanced information about the build
6 system. 6 system.
7 7
8 If you're new to Chromium development, read the 8 If you're new to Chromium development, read the
9 [getting started guides](https://www.chromium.org/developers/how-tos/get-the-cod e). 9 [getting started guides](https://www.chromium.org/developers/how-tos/get-the-cod e).
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ### Mac: DCHECKs in Release Mode 49 ### Mac: DCHECKs in Release Mode
50 50
51 DCHECKs are only designed to be run in debug builds. But building in release 51 DCHECKs are only designed to be run in debug builds. But building in release
52 mode on Mac is significantly faster. You can have your cake and eat it too by 52 mode on Mac is significantly faster. You can have your cake and eat it too by
53 building release mode with DCHECKs enabled using the following define: 53 building release mode with DCHECKs enabled using the following define:
54 54
55 $ GYP_DEFINES="dcheck_always_on=1" gclient runhooks 55 $ GYP_DEFINES="dcheck_always_on=1" gclient runhooks
56 56
57 ### Linux 57 ### Linux
58 58
59 Linux has its own page on [making the build faster](linux_faster_builds.md). 59 The Linux build instructions page has its own section on [making the build
60 faster](linux_build_instructions.md#faster-builds).
60 61
61 ## Configuring the Build 62 ## Configuring the Build
62 63
63 ### Environment Variables 64 ### Environment Variables
64 65
65 There are various environment variables that can be passed to the metabuild 66 There are various environment variables that can be passed to the metabuild
66 system GYP when generating project files. This is a summary of them: 67 system GYP when generating project files. This is a summary of them:
67 68
68 TODO(andybons): Convert to list. 69 TODO(andybons): Convert to list.
69 70
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 150
150 $ GYP_DEFINES="branding=Chrome buildtype=Official" gclient runhooks 151 $ GYP_DEFINES="branding=Chrome buildtype=Official" gclient runhooks
151 152
152 Then building the `chrome` target will produce the official build. This tip can 153 Then building the `chrome` target will produce the official build. This tip can
153 be used in conjunction with changing the output directory, since changing these 154 be used in conjunction with changing the output directory, since changing these
154 defines will rebuild the world. 155 defines will rebuild the world.
155 156
156 Also note that some GYP\_DEFINES flags are incompatible with the official build. 157 Also note that some GYP\_DEFINES flags are incompatible with the official build.
157 If you get an error when you try to build, try removing all your flags and start 158 If you get an error when you try to build, try removing all your flags and start
158 with just the above ones. 159 with just the above ones.
OLDNEW
« no previous file with comments | « no previous file | docs/linux_build_instructions.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698