moz.build (1108B)
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/. 6 7 GeckoSimplePrograms( 8 [ 9 "BadCertAndPinningServer", 10 "DelegatedCredentialsServer", 11 "EncryptedClientHelloServer", 12 "GenerateOCSPResponse", 13 "OCSPStaplingServer", 14 "SanctionsTestServer", 15 ], 16 linkage=None, 17 ) 18 19 if not CONFIG["MOZ_SYSTEM_NSS"]: 20 # Bug 1805371. See comment in ../lib/moz.build 21 GeckoSimplePrograms( 22 [ 23 "FaultyServer", 24 ], 25 linkage=None, 26 ) 27 28 DEFINES["NSS_USE_STATIC_LIBS"] = True 29 30 LOCAL_INCLUDES += [ 31 "../../../../../../nss/lib/ssl", 32 "../lib", 33 ] 34 USE_LIBS += [ 35 "tlsserver", 36 ] 37 else: 38 LOCAL_INCLUDES += [ 39 "../lib", 40 ] 41 USE_LIBS += ["mozpkix", "nspr", "nss", "tlsserver"] 42 43 44 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 45 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]