summaryrefslogtreecommitdiffstats
path: root/netwerk/test/fuzz/moz.build
blob: 969b9b0b82785684a195fec81cae674a1b9deaaa (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; c-basic-offset: 4; 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 += [
    "FuzzingStreamListener.cpp",
    "TestHttpFuzzing.cpp",
    "TestJARFuzzing.cpp",
    "TestURIFuzzing.cpp",
    "TestWebsocketFuzzing.cpp",
]

LOCAL_INCLUDES += [
    "/caps",
    "/netwerk/base",
    "/netwerk/protocol/http",
    "/xpcom/tests/gtest",
]

EXPORTS.mozilla.fuzzing += [
    "FuzzingStreamListener.h",
]

include("/ipc/chromium/chromium-config.mozbuild")

FINAL_LIBRARY = "xul-gtest"

LOCAL_INCLUDES += ["!/xpcom", "/xpcom/components"]

include("/tools/fuzzing/libfuzzer-config.mozbuild")