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

Unified Diff: third_party/WebKit/Source/platform/Precompile-platform.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/platform/DEPS ('k') | third_party/WebKit/Source/platform/mac/ColorMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Precompile-platform.h
diff --git a/third_party/WebKit/Source/platform/win/Precompile-platform.h b/third_party/WebKit/Source/platform/Precompile-platform.h
similarity index 82%
rename from third_party/WebKit/Source/platform/win/Precompile-platform.h
rename to third_party/WebKit/Source/platform/Precompile-platform.h
index 84bc4c879225dc0be44cf9daba02f17c127918e5..cfb85f317a9e2a319b3bc336f7c196fb568bc96d 100644
--- a/third_party/WebKit/Source/platform/win/Precompile-platform.h
+++ b/third_party/WebKit/Source/platform/Precompile-platform.h
@@ -8,7 +8,13 @@
#define PrecompilePlatform_h_
+#if defined(_MSC_VER)
#include "build/win/Precompile.h"
+#elif defined(__APPLE__)
+#include "build/mac/Prefix.h"
+#else
+#error implement
+#endif
// Include Oilpan's Handle.h by default, as it is included by a significant
// portion of platform/ source files.
« no previous file with comments | « third_party/WebKit/Source/platform/DEPS ('k') | third_party/WebKit/Source/platform/mac/ColorMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698