OLD | NEW |
1 # Windows incremental linking | 1 # Windows incremental linking |
2 | 2 |
3 Include in your `GYP_DEFINES`: `incremental_chrome_dll=1`. This turns on the | 3 Include in your `GYP_DEFINES`: `incremental_chrome_dll=1`. This turns on the |
4 equivalent of Use Library Dependency Inputs for the large components in the | 4 equivalent of Use Library Dependency Inputs for the large components in the |
5 build. | 5 build. |
6 | 6 |
7 And if you want faster builds, it would be best to include to | 7 And if you want faster builds, it would be best to include to |
8 `component=shared_library` too unless you need a fully static link for some | 8 `component=shared_library` too unless you need a fully static link for some |
9 reason. | 9 reason. |
10 | 10 |
11 Note that `incremental_chrome_dll=1` will probably not work on Visual Studio | 11 Note that `incremental_chrome_dll=1` will probably not work on Visual Studio |
12 2008 builds. It may not work on Visual Studio 2010 builds either (pamg couldn't | 12 2008 builds. It may not work on Visual Studio 2010 builds either (pamg couldn't |
13 get it to work as of Nov 2012, encountering numerous link errors). You may have | 13 get it to work as of Nov 2012, encountering numerous link errors). You may have |
14 to use [ninja](http://code.google.com/p/chromium/wiki/NinjaBuild), which has | 14 to use [ninja](ninja_build.md), which has incremental linking on by default. |
15 incremental linking on by default. | |
OLD | NEW |