OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 /* | |
Nico
2016/11/21 15:42:25
why c-style comment
sof
2016/11/21 19:24:58
thanks, normalized them all.
| |
6 * Precompiled header for WebKit when built on Windows. | |
7 * | |
8 * Using precompiled headers speeds the build up significantly. On a | |
9 * fast machine (HP Z600, 12 GB of RAM), an ~18% decrease in full | |
10 * build time was measured with only the stdlib headers added. More | |
11 * with the Blink specific headers. | |
12 */ | |
13 | |
14 #if defined(PrecompileCore_h_) | |
15 #error You shouldn't include the precompiled header file more than once. | |
16 #endif | |
17 | |
18 #define PrecompileCore_h_ | |
19 | |
20 #include "build/win/Precompile.h" | |
21 | |
22 // In Blink a lot of operations center around dom and Document, or around | |
23 // layout/rendering and LayoutObject. Those two headers are in turn pulling | |
24 // in large parts of Blink's other headers which means that every compilation | |
25 // unit is compiling large parts of Blink. By precompiling Document.h | |
26 // and LayoutObject.h we only have to compile those parts once rather | |
27 // than 1500 times. It can make a large difference in compilation | |
28 // times (3-4 times faster). | |
29 #include "core/dom/Document.h" | |
30 #include "core/layout/LayoutObject.h" | |
OLD | NEW |