Fix Cmake build on Android
Update CMakeList.txt for Dawn cmake build on Android platform Bug: dawn:1765 Change-Id: I559dddcf378ccaa0868bfccac904b627e3ea22c5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/128780 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Albin Bernhardsson <albin.bernhardsson@arm.com>
This commit is contained in:
parent
154bb3460c
commit
90d5154b5f
|
@ -627,9 +627,10 @@ if (DAWN_ENABLE_VULKAN)
|
|||
|
||||
if (ANDROID)
|
||||
target_sources(dawn_native PRIVATE
|
||||
"vulkan/external_memory/MemoryServiceAHardwareBuffer.cpp"
|
||||
"vulkan/external_semaphore/ServiceImplementationFD.cpp"
|
||||
"vulkan/external_semaphore/ServiceImplementationFD.h"
|
||||
"vulkan/external_memory/MemoryServiceImplementationAHardwareBuffer.cpp"
|
||||
"vulkan/external_memory/MemoryServiceImplementationAHardwareBuffer.h"
|
||||
"vulkan/external_semaphore/SemaphoreServiceImplementationFD.cpp"
|
||||
"vulkan/external_semaphore/SemaphoreServiceImplementationFD.h"
|
||||
)
|
||||
elseif (UNIX AND NOT APPLE)
|
||||
target_sources(dawn_native PRIVATE
|
||||
|
|
Loading…
Reference in New Issue