Bug 1853320 [wpt PR 41940] - [FLEDGE] Split up runs of /trusted-scoring-signals.https...
[gecko.git] / security / ct / moz.build
blobb9a2a62b2894775467f5fd0aa5d8e2871fd40539
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     "BTTypes.h",
12     "BTVerifier.h",
13     "Buffer.h",
14     "CTLog.h",
15     "CTPolicyEnforcer.h",
16     "CTVerifyResult.h",
17     "SignedCertificateTimestamp.h",
20 UNIFIED_SOURCES += [
21     "BTVerifier.cpp",
22     "Buffer.cpp",
23     "CTDiversityPolicy.cpp",
24     "CTLogVerifier.cpp",
25     "CTObjectsExtractor.cpp",
26     "CTPolicyEnforcer.cpp",
27     "CTSerialization.cpp",
28     "CTVerifyResult.cpp",
29     "MultiLogCTVerifier.cpp",
30     "SignedCertificateTimestamp.cpp",
33 TEST_DIRS += [
34     "tests/gtest",
37 if not CONFIG["MOZ_DEBUG"]:
38     DEFINES["NDEBUG"] = True
40 CXXFLAGS += [
41     "-Wextra",
42     "-Wunreachable-code",
45 # Gecko headers aren't warning-free enough for us to enable these warnings.
46 CXXFLAGS += [
47     "-Wno-unused-parameter",
50 FINAL_LIBRARY = "xul"
52 if CONFIG["CC_TYPE"] == "clang-cl":
53     AllowCompilerWarnings()  # workaround for bug 1090497