Index: gyp/viewer.gyp |
diff --git a/gyp/viewer.gyp b/gyp/viewer.gyp |
index 012281a68ede5151270166237710570ef6b05e04..5bec25c756d7f6c7d56f335bf90e07c148c267da 100644 |
--- a/gyp/viewer.gyp |
+++ b/gyp/viewer.gyp |
@@ -78,7 +78,7 @@ |
], |
}, |
}], |
- [ 'skia_os == "linux"', { |
+ [ 'skia_os == "linux" and skia_vulkan == 1', { |
'link_settings': { |
'libraries': [ |
'-lX11-xcb', |
@@ -101,6 +101,10 @@ |
'sources/': [ ['exclude', '_win.(h|cpp)$'], |
], |
}], |
+ ['skia_vulkan == 0', { |
+ 'sources/': [ ['exclude', 'Vulkan'] |
+ ], |
+ }], |
], |
}, |
], |