summaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJamie Madill <[email protected]>2019-11-05 07:34:03 -0500
committerMike Schuchardt <[email protected]>2019-11-06 08:13:12 -0800
commitd42d0747ee1b7a6726fb8948444b4993f9dcd2e5 (patch)
tree53df250ab28b66d99ac5b608f725d5ef1d14a2ca /BUILD.gn
parent52c26458545b4993ac2e69f27e87664962fd3224 (diff)
downloadVulkan-Headers-d42d0747ee1b7a6726fb8948444b4993f9dcd2e5.tar.gz
Vulkan-Headers-d42d0747ee1b7a6726fb8948444b4993f9dcd2e5.zip
GN: Add support for Google Games Platform.
This is conditional upon defining a variable 'is_ggp'. The variable is optional.
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 56c115d..79d186f 100644
--- a/BUILD.gn
+++ b/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.