2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2014-09-02 22:10:54 -07:00
|
|
|
Library('nspr')
|
2014-08-06 22:21:03 -07:00
|
|
|
|
|
|
|
if CONFIG['MOZ_FOLD_LIBS']:
|
|
|
|
# When folding libraries, nspr is actually in the nss library.
|
|
|
|
USE_LIBS += [
|
|
|
|
'nss',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_BUILD_NSPR']:
|
|
|
|
USE_LIBS += [
|
|
|
|
'/nsprpub/lib/ds/plds4',
|
|
|
|
'/nsprpub/lib/libc/src/plc4',
|
|
|
|
'/nsprpub/pr/src/nspr4',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
OS_LIBS += CONFIG['NSPR_LIBS']
|