Bug 1850713: remove duplicated setting of early hint preloader id in `ScriptLoader...
[gecko.git] / security / certverifier / moz.build
blobcdf2a75814e40f4b6b0a04e0402ad15893fdcd3a
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 with Files("**"):
8     BUG_COMPONENT = ("Core", "Security: PSM")
10 EXPORTS += [
11     "CertVerifier.h",
12     "OCSPCache.h",
15 UNIFIED_SOURCES += [
16     "CertVerifier.cpp",
17     "NSSCertDBTrustDomain.cpp",
18     "OCSPCache.cpp",
21 if not CONFIG["NSS_NO_EV_CERTS"]:
22     UNIFIED_SOURCES += [
23         "ExtendedValidation.cpp",
24     ]
26 LOCAL_INCLUDES += [
27     "/security/ct",
28     "/security/manager/ssl",
31 DIRS += [
32     "../ct",
35 TEST_DIRS += [
36     "tests/gtest",
39 CXXFLAGS += [
40     "-Wextra",
41     "-Wunreachable-code",
44 # Gecko headers aren't warning-free enough for us to enable these warnings.
45 CXXFLAGS += [
46     "-Wno-unused-parameter",
49 include("/ipc/chromium/chromium-config.mozbuild")
51 FINAL_LIBRARY = "xul"
53 if CONFIG["CC_TYPE"] == "clang-cl":
54     AllowCompilerWarnings()  # workaround for bug 1090497