summaryrefslogtreecommitdiffstats
path: root/toolkit/components/contentanalysis/tests/gtest/moz.build
blob: 549e1e0e39a6ef7e58fd2aa91006d5994df4f304 (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
# -*- 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/.

LOCAL_INCLUDES += [
    "../..",
    "../../../../../third_party/content_analysis_sdk/browser/include/",
]

if CONFIG["OS_TARGET"] == "WINNT":
    UNIFIED_SOURCES += [
        "TestContentAnalysis.cpp",
    ]
    SOURCES += [
        # Agent SDK usings conflicts with Gecko usings
        "TestContentAnalysisAgent.cpp",
        "TestContentAnalysisMisbehaving.cpp",
        "TestContentAnalysisUtils.cpp",
    ]
    DIRS += ["agent"]
    OS_LIBS += ["pathcch"]

TEST_HARNESS_FILES.gtest += ["allowedFile.txt", "blockedFile.txt"]

FINAL_LIBRARY = "xul-gtest"