summaryrefslogtreecommitdiff
path: root/build-gn
diff options
context:
space:
mode:
authorCorentin Wallez <cwallez@google.com>2020-04-16 11:11:46 +0200
committerMike Schuchardt <mikes@lunarg.com>2020-04-16 08:56:14 -0700
commit96181e4c4e3da3c281d7f4c29054402b125ee407 (patch)
tree8004183df22e4c97098871f3de82210f9d07523c /build-gn
parent1533266eac486fae0c34bffe4868c4bc91dbe078 (diff)
downloadVulkan-ValidationLayers-96181e4c4e3da3c281d7f4c29054402b125ee407.tar.gz
Vulkan-ValidationLayers-96181e4c4e3da3c281d7f4c29054402b125ee407.tar.bz2
Vulkan-ValidationLayers-96181e4c4e3da3c281d7f4c29054402b125ee407.zip
Fix build-gn/generate_vulkan_layers_json.py on Mac
Diffstat (limited to 'build-gn')
-rwxr-xr-xbuild-gn/generate_vulkan_layers_json.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-gn/generate_vulkan_layers_json.py b/build-gn/generate_vulkan_layers_json.py
index 2e2b3d5db..93d105b62 100755
--- a/build-gn/generate_vulkan_layers_json.py
+++ b/build-gn/generate_vulkan_layers_json.py
@@ -100,6 +100,8 @@ def main():
if platform.system() == 'Windows':
relative_path_prefix = r'..\\' # json-escaped, hence two backslashes.
file_type_suffix = '.dll'
+ elif platform.system() == 'Darwin':
+ file_type_suffix = '.dylib'
# For each *.json.in template files in source dir generate actual json file
# in target dir