mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-04 20:54:58 +00:00
GN: Add support for Google Games Platform.
This is conditional upon defining a variable 'is_ggp'. The variable is optional.
This commit is contained in:
parent
52c2645854
commit
d42d0747ee
1 changed files with 3 additions and 0 deletions
3
BUILD.gn
3
BUILD.gn
|
@ -31,6 +31,9 @@ config("vulkan_headers_config") {
|
|||
if (is_mac) {
|
||||
defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
|
||||
}
|
||||
if (defined(is_ggp) && is_ggp) {
|
||||
defines = [ "VK_USE_PLATFORM_GGP" ]
|
||||
}
|
||||
}
|
||||
|
||||
# Vulkan headers only, no compiled sources.
|
||||
|
|
Loading…
Add table
Reference in a new issue