aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/viewer.gyp
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-06-17 09:29:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-17 09:29:14 -0700
commit063ece71848fadc963cbac5c978cd48262138131 (patch)
tree5b4193a94f66ddf10ab75a51855a81db00060862 /gyp/viewer.gyp
parent960b2d69bbae19dc814f06d841b94ef71e291b48 (diff)
Enable viewer in non-Vulkan builds
Diffstat (limited to 'gyp/viewer.gyp')
-rw-r--r--gyp/viewer.gyp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gyp/viewer.gyp b/gyp/viewer.gyp
index 012281a68e..5bec25c756 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']
+ ],
+ }],
],
},
],