Bug 1899500 - Implement explicit resource management in Baseline compiler. r=arai
[gecko.git] / security / ct / moz.build
blobe49fea5f6061e8ba2ab5f85ea40c8a09fe5beca8
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     "CTKnownLogs.h",
15     "CTLog.h",
16     "CTPolicyEnforcer.h",
17     "CTVerifyResult.h",
18     "SignedCertificateTimestamp.h",
21 UNIFIED_SOURCES += [
22     "BTVerifier.cpp",
23     "Buffer.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