Skip to content

Commit 31118fe

Browse files
build: Fix GN build for JSON_LAYER_NAME
1 parent 55e4ba9 commit 31118fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/gn/generate_vulkan_layers_json.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
# Copyright (C) 2016 The ANGLE Project Authors.
4-
# Copyright (c) 2022-2023 LunarG, Inc.
4+
# Copyright (c) 2022-2024 LunarG, Inc.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -114,6 +114,7 @@ def main():
114114
open(json_in_name) as infile:
115115
for line in infile:
116116
line = line.replace('@JSON_LIBRARY_PATH@', relative_path_prefix + layer_lib_name)
117+
line = line.replace('@JSON_LAYER_NAME@', 'VK_LAYER_KHRONOS_validation')
117118
json_out_file.write(line)
118119

119120
if __name__ == '__main__':

0 commit comments

Comments
 (0)