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

Unified Diff: third_party/WebKit/Source/core/Precompile-core.h

Issue 2702363002: Share precompiled header setup for blink between Windows and Mac. (Closed)
Patch Set: Added missing Cocoa imports Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/DEPS ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/Precompile-core.h
diff --git a/third_party/WebKit/Source/core/win/Precompile-core.h b/third_party/WebKit/Source/core/Precompile-core.h
similarity index 89%
rename from third_party/WebKit/Source/core/win/Precompile-core.h
rename to third_party/WebKit/Source/core/Precompile-core.h
index 53ba37a3b519065d0ec449061795a90670e4c3ca..7d2d12f3095161adaa7f088f53ca5445d0c54446 100644
--- a/third_party/WebKit/Source/core/win/Precompile-core.h
+++ b/third_party/WebKit/Source/core/Precompile-core.h
@@ -7,7 +7,13 @@
#endif
#define PrecompileCore_h_
+#if defined(_MSC_VER)
#include "build/win/Precompile.h"
+#elif defined(__APPLE__)
+#include "build/mac/Prefix.h"
+#else
+#error implement
+#endif
// In Blink a lot of operations center around dom and Document, or around
// layout/rendering and LayoutObject. Those two headers are in turn pulling
« no previous file with comments | « third_party/WebKit/Source/core/DEPS ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698