Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Unified Diff: gyp/gpu.gyp

Issue 2077043002: Update GYP for linux Vulkan to support SDK 1.0.13 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/gpu.gyp
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index f09bcd0fc6e0fbcb172fbef96228ae6fa813e065..157cbed15fd1eb41fae9121de901e2fe9d619d4f 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',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698