Update GYP for linux Vulkan to support SDK 1.0.13

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2077043002

Review-Url: https://codereview.chromium.org/2077043002
This commit is contained in:
egdaniel 2016-06-17 12:04:05 -07:00 committed by Commit bot
parent ea1fb74389
commit 58daedb12e

View File

@ -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',