Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 6f2d9d7cb4a024201afc8c71cc5340c36bd0366c..4c9487b4023ebac9bdacdb6bf81fa33dc07374b8 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1278,11 +1278,16 @@ |
}], |
['toolkit_uses_gtk!=1', { |
'sources/': [ |
- ['exclude', '_(gtk|xdg)(_unittest)?\\.(h|cc)$'], |
+ ['exclude', '_gtk(_unittest)?\\.(h|cc)$'], |
['exclude', '(^|/)gtk/'], |
['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
], |
}], |
+ ['OS!="linux"', { |
+ 'sources/': [ |
+ ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
+ ], |
+ }], |
['use_wayland!=1', { |
'sources/': [ |
['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], |