scripts: Sync GN json script with ValidationLayers
authorMike Schuchardt <mikes@lunarg.com>
Tue, 21 Apr 2020 21:41:49 +0000 (14:41 -0700)
committerMike Schuchardt <mikes@lunarg.com>
Wed, 22 Apr 2020 21:01:04 +0000 (14:01 -0700)
build-gn/generate_vulkan_layers_json.py

index 2e2b3d5..93d105b 100755 (executable)
@@ -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