summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 18:03:13 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 18:03:13 +0000
commit18cff3d436dec4c4d78f9bcf305d0a658f503dcc (patch)
tree647f10140ca95959d2b5865cc85de6c6ca8f421d /build/common.gypi
parentb093cd0a781df58f829419f68ca5c2212d6b9998 (diff)
downloadchromium_src-18cff3d436dec4c4d78f9bcf305d0a658f503dcc.zip
chromium_src-18cff3d436dec4c4d78f9bcf305d0a658f503dcc.tar.gz
chromium_src-18cff3d436dec4c4d78f9bcf305d0a658f503dcc.tar.bz2
media: remove redundant gyp excludes
I moved all of these general patterns to common.gypi. Also rearrange the common.gypi patterns to cover more common Linux patterns. Review URL: http://codereview.chromium.org/608032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39236 0039d316-1c4b-4281-b951-d872f2087c98
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"', {