aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-06-17 12:04:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-17 12:04:05 -0700
commit58daedb12ee2e910d351825bbf72c1a8c72748fc (patch)
treebe4c5591c615815e1ebc806a1e9ae6e28918177b
parentea1fb74389e9470a3de988fd7fa478cff5ae8c07 (diff)
Update GYP for linux Vulkan to support SDK 1.0.13
-rw-r--r--gyp/gpu.gyp16
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',