config/external/nspr/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Sun, 17 Jun 2018 22:43:11 -0700
changeset 423595 33346f699996421fc8bf22a25f574de470142a41
parent 306187 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b. MozReview-Commit-ID: 5UQVHElSpCr

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

Library('nspr')

if CONFIG['MOZ_BUILD_NSPR']:
    DIRS += [
        'pr',
        'ds',
        'libc',
    ]
    if CONFIG['MOZ_FOLD_LIBS']:
        # When folding libraries, nspr is actually in the nss library.
        USE_LIBS += [
            'nss',
        ]
    else:
        USE_LIBS += [
            'nspr4',
            'plc4',
            'plds4',
        ]
    EXPORTS.nspr += ['prcpucfg.h']
else:
    OS_LIBS += CONFIG['NSPR_LIBS']