Disable surface and swapchain support for Android

On Android we will expose ANDROID_native_buffer instead, and leave the
surface and swapchain support to the android loader.

Bug: b/122837488
Change-Id: I03f0fd617042f49c19227701bbdcd2ccda883c94
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28408
Tested-by: Chris Forbes <chrisforbes@google.com>
Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Vulkan/VkQueue.cpp b/src/Vulkan/VkQueue.cpp
index fcec019..f6e24aa 100644
--- a/src/Vulkan/VkQueue.cpp
+++ b/src/Vulkan/VkQueue.cpp
@@ -74,6 +74,7 @@
 	// FIXME (b/117835459): implement once we have working fences
 }
 
+#ifndef __ANDROID__
 void Queue::present(const VkPresentInfoKHR* presentInfo)
 {
 	for(uint32_t i = 0; i < presentInfo->waitSemaphoreCount; i++)
@@ -86,5 +87,6 @@
 		vk::Cast(presentInfo->pSwapchains[i])->present(presentInfo->pImageIndices[i]);
 	}
 }
+#endif
 
-} // namespace vk
\ No newline at end of file
+} // namespace vk