summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi11
1 files changed, 9 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 97ab365..d47f865 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -465,9 +465,16 @@
}],
['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
'sources/': [
- ['exclude', '_(chromeos|gtk|linux|x|x11)(_unittest)?\\.cc$'],
+ ['exclude', '_(chromeos|gtk|x|x11)(_unittest)?\\.cc$'],
['exclude', '/gtk/'],
- ['exclude', '/(gtk|x11)_[^/]*\\.cc$'] ],
+ ['exclude', '/(gtk|x11)_[^/]*\\.cc$'],
+ ],
+ }],
+ ['OS!="linux"', {
+ 'sources/': [
+ ['exclude', '_linux(_unittest)?\\.cc$'],
+ ['exclude', '/linux/'],
+ ],
}],
# We use "POSIX" to refer to all non-Windows operating systems.
['OS=="win"', {