Bug 1943761 - Add class alignment to the mozsearch analysis file. r=asuth
[gecko.git] / security / ct / tests / gtest / moz.build
blob05954c4f8f0a7cf0971b33dedbe8afe6aa849f11
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/.
8 @template
9 def STHTestFile(name):
10     if not CONFIG["COMPILE_ENVIRONMENT"]:
11         return
13     GeneratedFile(name, script="createSTHTestData.py", inputs=["%s.tbs" % name])
16 STHTestFile("valid-sth.inc")
17 STHTestFile("valid-with-extension-sth.inc")
18 STHTestFile("valid-secp521r1-sha512-sth.inc")
19 STHTestFile("signature-covers-log-id-sth.inc")
20 STHTestFile("wrong-spki-sth.inc")
21 STHTestFile("wrong-signing-key-sth.inc")
22 STHTestFile("missing-log-id-sth.inc")
23 STHTestFile("missing-timestamp-sth.inc")
24 STHTestFile("missing-tree-size-sth.inc")
25 STHTestFile("missing-root-hash-sth.inc")
26 STHTestFile("missing-extensions-sth.inc")
27 STHTestFile("truncated-log-id-sth.inc")
28 STHTestFile("truncated-timestamp-sth.inc")
29 STHTestFile("truncated-tree-size-sth.inc")
30 STHTestFile("truncated-root-hash-sth.inc")
31 STHTestFile("truncated-extension-sth.inc")
32 STHTestFile("rsa-signer-rsa-spki-sth.inc")
33 STHTestFile("rsa-signer-ec-spki-sth.inc")
34 STHTestFile("ec-signer-rsa-spki-sth.inc")
36 UNIFIED_SOURCES += [
37     "BTSerializationTest.cpp",
38     "BTSignedTreeHeadTest.cpp",
39     "BTVerificationTest.cpp",
40     "CTLogVerifierTest.cpp",
41     "CTObjectsExtractorTest.cpp",
42     "CTPolicyEnforcerTest.cpp",
43     "CTSerializationTest.cpp",
44     "CTTestUtils.cpp",
45     "MultiLogCTVerifierTest.cpp",
48 LOCAL_INCLUDES += [
49     "../..",
52 if not CONFIG["MOZ_DEBUG"]:
53     DEFINES["NDEBUG"] = True
55 FINAL_LIBRARY = "xul-gtest"