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

Side by Side Diff: Source/core/win/Precompile-core.h

Issue 1259563002: Revert of Precompile more in Blink in Windows for faster compilations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months 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 | « Source/core/frame/Frame.h ('k') | Source/core/win/Precompile-core.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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"
OLDNEW
« no previous file with comments | « Source/core/frame/Frame.h ('k') | Source/core/win/Precompile-core.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698