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

Unified Diff: third_party/WebKit/Source/platform/mac/Precompile-platform.h

Issue 2702363002: Share precompiled header setup for blink between Windows and Mac. (Closed)
Patch Set: Created 3 years, 10 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/mac/Precompile-platform.h
diff --git a/third_party/WebKit/Source/platform/mac/Precompile-platform.h b/third_party/WebKit/Source/platform/mac/Precompile-platform.h
new file mode 100644
index 0000000000000000000000000000000000000000..570521711438addd74ab1b6c76a0a2c9e09a6e40
--- /dev/null
+++ b/third_party/WebKit/Source/platform/mac/Precompile-platform.h
@@ -0,0 +1,15 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#if defined(PrecompilePlatform_h_)
Nico 2017/03/02 16:59:14 Can we make it so that we have a platform/Precompi
+#error You shouldn't include the precompiled header file more than once.
+#endif
+
+#define PrecompilePlatform_h_
+
+#include "build/mac/Prefix.h"
+
+// Include Oilpan's Handle.h by default, as it is included by a significant
+// portion of platform/ source files.
+#include "platform/heap/Handle.h"
« no previous file with comments | « third_party/WebKit/Source/platform/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698