diff options
author | egdaniel <egdaniel@google.com> | 2016-06-17 12:04:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-17 12:04:05 -0700 |
commit | 58daedb12ee2e910d351825bbf72c1a8c72748fc (patch) | |
tree | be4c5591c615815e1ebc806a1e9ae6e28918177b | |
parent | ea1fb74389e9470a3de988fd7fa478cff5ae8c07 (diff) |
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
-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', |