summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 14:56:54 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 14:56:54 +0000
commiteb57bb21a94acdc46ab1496d103c2cb4739b158a (patch)
tree4b04b67a54d4ea33461e6e209eacdbe07a2d7232 /build
parentc8b3a52736df33e0d29f64547456f271509a261b (diff)
downloadchromium_src-eb57bb21a94acdc46ab1496d103c2cb4739b158a.zip
chromium_src-eb57bb21a94acdc46ab1496d103c2cb4739b158a.tar.gz
chromium_src-eb57bb21a94acdc46ab1496d103c2cb4739b158a.tar.bz2
Simplify gyp files by adding a global glob for openssl/nss
BUG=None TEST=Build Review URL: http://codereview.chromium.org/4799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 02b99c7..f9e774a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -653,6 +653,18 @@
['toolkit_views==0', {
'sources/': [ ['exclude', '_views\\.cc$'] ]
}],
+ ['use_openssl==1', {
+ 'sources/': [
+ ['exclude', '_nss\\.(cc|c)$'],
+ ['exclude', '/nss/'],
+ ['exclude', '(/|_|^)nss_[^/]*\\.(cc|c)$'],
+ ],
+ }, {
+ 'sources/': [
+ ['exclude', '_openssl\\.cc$'],
+ ['exclude', '(/|_|^)openssl_[^/]*\\.cc$'],
+ ],
+ }],
],
}],
], # target_conditions for 'target_defaults'