Skip to content

Fix building for Android CMake toolchain#1105

Merged
dneto0 merged 1 commit intogoogle:mainfrom
dneto0:fix-android
Jan 26, 2026
Merged

Fix building for Android CMake toolchain#1105
dneto0 merged 1 commit intogoogle:mainfrom
dneto0:fix-android

Conversation

@dneto0
Copy link
Collaborator

@dneto0 dneto0 commented Jan 23, 2026

The Android NDK r29 does not have Vulkan 1.4 headers.
So conditionalize use of Vulkan 1.4 header structs.

Also, when building with the Android CMake toolchain,
the vulkan engine has to link against the log library.

@dneto0 dneto0 requested a review from dj2 January 23, 2026 23:11
@dneto0
Copy link
Collaborator Author

dneto0 commented Jan 23, 2026

Note: the kokoro/android build is currently disabled via Google-internal config.

@dneto0
Copy link
Collaborator Author

dneto0 commented Jan 23, 2026

internal reference crbug.com/478302715

The Android NDK r29 does not have Vulkan 1.4 headers.
So conditionalize use of Vulkan 1.4 header structs.

Also, when building with the Android CMake toolchain,
the vulkan engine has to link against the `log` library.
@dneto0 dneto0 merged commit ff0c84a into google:main Jan 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants