Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 8fb4dfa267e4f99bb1155973a3cce9a86a28be0b..079ff1136ae8de2c0e182fc5a11fa52c2169e175 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -980,6 +980,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)$'], |