pkg-config-wrapper should not be run when build_nss is disabled (=0).

BUG=b/15411893
R=wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/12839004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6538 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2014-06-25 20:14:13 +00:00
parent 3b84b3a58c
commit 4ddcc40d32

View File

@ -577,6 +577,12 @@
'-lX11', '-lX11',
'-lXcomposite', '-lXcomposite',
'-lXrender', '-lXrender',
],
},
'conditions': [
['build_ssl==1', {
'link_settings': {
'libraries': [
'<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
], ],
}, },
@ -586,6 +592,8 @@
'ldflags': [ 'ldflags': [
'<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
], ],
}],
],
}, { }, {
'sources!': [ 'sources!': [
'dbus.cc', 'dbus.cc',