Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 27a1f08deff3d31074b7450c79f00a05a26256eb..4e8057e6d529e0820c1f9aace848a1d6d14988b3 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1103,11 +1103,17 @@ |
['exclude', '(^|/)(cocoa|mac)/'], |
['exclude', '\\.mm?$' ] ], |
}], |
+ ['use_x11!=1', { |
+ 'sources/': [ |
+ ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], |
+ ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
+ ], |
+ }], |
['toolkit_uses_gtk!=1', { |
'sources/': [ |
- ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], |
+ ['exclude', '_(gtk|xdg)(_unittest)?\\.(h|cc)$'], |
['exclude', '(^|/)gtk/'], |
- ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], |
+ ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
], |
}], |
['use_wayland!=1', { |