From 41dc3d63a587b6bf4e437ac114485e62c42abe41 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Fri, 4 Mar 2016 13:38:26 -0800 Subject: [PATCH] Support building Vulkan on Linux. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1761163003 Review URL: https://codereview.chromium.org/1761163003 --- gyp/gpu.gyp | 37 +++++++++++++++++----------- gyp/shaderc.gyp | 64 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 67 insertions(+), 34 deletions(-) diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index 7b644bb474..c6202555db 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -235,33 +235,42 @@ }, }], [ 'skia_vulkan', { - 'variables': { - 'conditions': [ - [ 'skia_os == "win"', { + 'conditions': [ + [ 'skia_os == "win"', { + 'variables': { + 'vulkan_lib_name': '-lvulkan-1', 'vulkan_sdk_path' : '