summaryrefslogtreecommitdiffstats
path: root/docs/windows_incremental_linking.md
blob: 0cf1a395c79da6c12d0d0b10f064d545e228249c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Windows incremental linking

Include in your `GYP_DEFINES`: `incremental_chrome_dll=1`. This turns on the
equivalent of Use Library Dependency Inputs for the large components in the
build.

And if you want faster builds, it would be best to include to
`component=shared_library` too unless you need a fully static link for some
reason.

Note that `incremental_chrome_dll=1` will probably not work on Visual Studio
2008 builds. It may not work on Visual Studio 2010 builds either (pamg couldn't
get it to work as of Nov 2012, encountering numerous link errors). You may have
to use [ninja](http://code.google.com/p/chromium/wiki/NinjaBuild), which has
incremental linking on by default.