summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 99ba71d..14839d3 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -988,6 +988,13 @@
['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'],
],
}],
+ ['use_wayland!=1', {
+ 'sources/': [
+ ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'],
+ ['exclude', '(^|/)wayland/'],
+ ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'],
+ ],
+ }],
['OS!="linux"', {
'sources/': [
['exclude', '_linux(_unittest)?\\.(h|cc)$'],