OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /* | |
6 * Precompiled header for WebKit when built on Windows using | |
7 * GYP-generated project files. Not used by other build | |
8 * configurations. | |
9 * | |
10 * Using precompiled headers speeds the build up significantly. On a | |
11 * fast machine (HP Z600, 12 GB of RAM), an ~18% decrease in full | |
12 * build time was measured with only the stdlib headers added. More | |
13 * with the Blink specific headers. | |
14 */ | |
15 | |
16 #if defined(PrecompileCore_h_) | |
17 #error You shouldn't include the precompiled header file more than once. | |
18 #endif | |
19 | |
20 #define PrecompileCore_h_ | |
21 | |
22 #include "build/win/Precompile.h" | |
23 | |
24 // In Blink a lot of operations center around dom and Document, or around | |
25 // layout/rendering and LayoutObject. Those two headers are in turn pulling | |
26 // in large parts of Blink's other headers which means that every compilation | |
27 // unit is compiling large parts of Blink. By precompiling Document.h and | |
28 // LayoutObject.h we only have to compile those parts once rather than | |
29 // 1500 times. It can make a large difference in compilation times. | |
30 // config.h contains some base macros that headers can expect are present. | |
31 #include "config.h" | |
32 #include "core/dom/Document.h" | |
33 #include "core/layout/LayoutObject.h" | |
OLD | NEW |