summaryrefslogtreecommitdiffstats
path: root/mfbt/tests/gtest/moz.build
blob: 0af8d1ea75fc7f4693ac29fdf45977a78c751933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

UNIFIED_SOURCES += [
    "TestBuffer.cpp",
    "TestLinkedList.cpp",
    "TestReverseIterator.cpp",
    "TestSpan.cpp",
    "TestTainting.cpp",
]

SOURCES += [
    "TestAlgorithm.cpp",
    "TestInitializedOnce.cpp",
    "TestMainThreadWeakPtr.cpp",
    "TestResultExtensions.cpp",
]

if not CONFIG["MOZILLA_OFFICIAL"]:
    UNIFIED_SOURCES += [
        # MOZ_DBG is not defined in MOZILLA_OFFICIAL builds.
        "TestMozDbg.cpp",
    ]

# LOCAL_INCLUDES += [
#    "../../base",
# ]

FINAL_LIBRARY = "xul-gtest"