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) {
|
if (is_mac) {
|
||||||
defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
|
defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
|
||||||
}
|
}
|
||||||
|
if (defined(is_ggp) && is_ggp) {
|
||||||
|
defines = [ "VK_USE_PLATFORM_GGP" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Vulkan headers only, no compiled sources.
|
# Vulkan headers only, no compiled sources.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue