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

Unified Diff: sky/engine/config.h

Issue 1163323003: sky/engine updates for iOS targets (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/engine/config.h
diff --git a/sky/engine/config.h b/sky/engine/config.h
index e597e23a5567f5501592c0c0de24abac5b1ecec3..39df686bcd03bf67e8c97523688136e3f0845208 100644
--- a/sky/engine/config.h
+++ b/sky/engine/config.h
@@ -53,6 +53,16 @@
/* Always OS(POSIX) */
#define WTF_OS_POSIX 1
+#ifdef __APPLE__
+/* OS(MACOSX) - Mac and iOS */
+#define WTF_OS_MACOSX 1
+#include <TargetConditionals.h>
+#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
+/* OS(IOS) - iOS */
+#define WTF_OS_IOS 1
+#endif
+#endif /* __APPLE__ */
+
/* Operating environments */
#if OS(ANDROID)

Powered by Google App Engine
This is Rietveld 408576698