diff options
-rw-r--r-- | gyp/gpu.gyp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index f09bcd0fc6..157cbed15f 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -207,6 +207,22 @@ 'vulkan_lib_name': '-lvulkan', }, }], + [ 'skia_os == "linux"', { + 'variables': { + 'vulkan_sdk_path' : '<!(echo $VULKAN_SDK)', + }, + 'include_dirs': [ + '<(vulkan_sdk_path)/include', + ], + 'direct_dependent_settings': { + 'include_dirs': [ + '<(vulkan_sdk_path)/include', + ], + }, + 'link_settings': { + 'library_dirs': [ '<(vulkan_sdk_path)/lib', ], + }, + }], ], 'dependencies': [ 'shaderc.gyp:shaderc_combined', |