summaryrefslogtreecommitdiffstats
path: root/crypto/crypto.gyp
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 17:02:45 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 17:02:45 +0000
commit8d84dcb83f501e51ff28b28d2a871ad80deb1ccc (patch)
tree48fb0b19da2f48e0c1a6be1f05d81becc22a7c72 /crypto/crypto.gyp
parent1e029feda144670dd1b604ab8159e20486e93504 (diff)
downloadchromium_src-8d84dcb83f501e51ff28b28d2a871ad80deb1ccc.zip
chromium_src-8d84dcb83f501e51ff28b28d2a871ad80deb1ccc.tar.gz
chromium_src-8d84dcb83f501e51ff28b28d2a871ad80deb1ccc.tar.bz2
Revert 87309 - Second attempt to fix linux redux builder
Numerous targets were depending on linux/system.gyp:nss even on the openssl build and the gyp update means it shows up as a link error. BUG=None TEST=Builds with and without use_openssl=1 Review URL: http://codereview.chromium.org/7050040 TBR=joth@chromium.org Review URL: http://codereview.chromium.org/7054041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/crypto.gyp')
-rw-r--r--crypto/crypto.gyp21
1 files changed, 14 insertions, 7 deletions
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp
index 02ef8e1..e662e52 100644
--- a/crypto/crypto.gyp
+++ b/crypto/crypto.gyp
@@ -19,17 +19,24 @@
],
'conditions': [
[ 'os_posix == 1 and OS != "mac"', {
- 'dependencies': [
- '../build/linux/system.gyp:ssl',
- ],
- 'export_dependent_settings': [
- '../build/linux/system.gyp:ssl',
- ],
'conditions': [
[ 'chromeos==1', {
'sources/': [ ['include', '_chromeos\\.cc$'] ]
},
],
+ [ 'use_openssl==1', {
+ 'dependencies': [
+ '../third_party/openssl/openssl.gyp:openssl',
+ ],
+ }, { # use_openssl==0
+ 'dependencies': [
+ '../build/linux/system.gyp:nss',
+ ],
+ 'export_dependent_settings': [
+ '../build/linux/system.gyp:nss',
+ ],
+ }
+ ],
],
}, { # os_posix != 1 or OS == "mac"
'sources/': [
@@ -195,7 +202,7 @@
],
],
'dependencies': [
- '../build/linux/system.gyp:ssl',
+ '../build/linux/system.gyp:nss',
],
}, { # os_posix != 1 or OS == "mac"
'sources!': [