Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / config / external / nspr / ds / moz.build
blobd2676e20937a7f259b8baedf78e0c1b409dcb661
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG["MOZ_FOLD_LIBS"]:
8     Library("plds4")
9 else:
10     SharedLibrary("plds4")
11     SOURCES += ["/nsprpub/lib/ds/plvrsion.c"]
12     USE_LIBS += ["nspr4"]
14 # We allow warnings for third-party code that can be updated from upstream.
15 # TODO: fix NSPR warnings and remove this
16 AllowCompilerWarnings()
18 DEFINES["_NSPR_BUILD_"] = True
20 LOCAL_INCLUDES += [
21     "/config/external/nspr",
22     "/nsprpub/pr/include",
25 EXPORTS.nspr += [
26     "/nsprpub/lib/ds/plarena.h",
27     "/nsprpub/lib/ds/plarenas.h",
28     "/nsprpub/lib/ds/plhash.h",
31 SOURCES += [
32     "/nsprpub/lib/ds/plarena.c",
33     "/nsprpub/lib/ds/plhash.c",