no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / security / manager / ssl / osclientcerts / dynamic-library / moz.build
blob427caad61f28e619d01c894c52053daa99042437
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 USE_LIBS += ["osclientcerts-static"]
9 UNIFIED_SOURCES += [
10     "stub.cpp",
13 if CONFIG["OS_ARCH"] == "WINNT":
14     OS_LIBS += [
15         "advapi32",
16         "crypt32",
17         "kernel32",
18         "ncrypt",
19         "userenv",
20         "ws2_32",
21         "ntdll",
22     ]
23     # Version string comparison is generally wrong, but by the time it would
24     # actually matter, either bug 1489995 would be fixed, or the build would
25     # require version >= 1.78.
26     if CONFIG["RUSTC_VERSION"] and CONFIG["RUSTC_VERSION"] >= "1.78.0":
27         OS_LIBS += [
28             "synchronization",
29         ]
31 if CONFIG["OS_ARCH"] == "Darwin":
32     OS_LIBS += [
33         "-framework CoreFoundation",
34         "-framework Security",
35     ]
37 SharedLibrary("osclientcerts")
39 NoVisibilityFlags()
40 SYMBOLS_FILE = "osclientcerts.symbols"