aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/vulkan/Skia_Vulkan_Android.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform_tools/android/vulkan/Skia_Vulkan_Android.h')
-rw-r--r--platform_tools/android/vulkan/Skia_Vulkan_Android.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform_tools/android/vulkan/Skia_Vulkan_Android.h b/platform_tools/android/vulkan/Skia_Vulkan_Android.h
new file mode 100644
index 0000000000..b0749810f0
--- /dev/null
+++ b/platform_tools/android/vulkan/Skia_Vulkan_Android.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef Skia_Vulkan_Android_DEFINED
+#define Skia_Vulkan_Android_DEFINED
+
+#if !defined(SK_BUILD_FOR_ANDROID)
+#error "Must be building for android to use this header"
+#endif
+#if !defined(VK_USE_PLATFORM_ANDROID_KHR)
+# define VK_USE_PLATFORM_ANDROID_KHR
+#endif
+
+#include <vulkan/vulkan.h>
+
+#endif
+
+
+