Revert 87315 - 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

TBR=mirandac@chromium.org
Review URL: http://codereview.chromium.org/6962044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@87316 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
mirandac@chromium.org 2011-05-31 17:19:30 +00:00
Родитель 052dc43fda
Коммит 764e03ef94
1 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -74,12 +74,17 @@
}]]
},
{
'target_name': 'nss',
'target_name': 'ssl',
'type': 'settings',
'conditions': [
['_toolset=="target"', {
'conditions': [
['use_system_ssl==0', {
['use_openssl==1', {
'dependencies': [
'../../third_party/openssl/openssl.gyp:openssl',
],
}],
['use_openssl==0 and use_system_ssl==0', {
'dependencies': [
'../../net/third_party/nss/ssl.gyp:ssl',
'../../third_party/zlib/zlib.gyp:zlib',
@ -106,7 +111,8 @@
'<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
],
},
}, {
}],
['use_openssl==0 and use_system_ssl==1', {
'direct_dependent_settings': {
'cflags': [
'<!@(<(pkg-config) --cflags nss)',
@ -123,8 +129,8 @@
'<!@(<(pkg-config) --libs-only-l nss)',
],
},
}
]]
}],
]
}],
],
},