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/.
6
7UNIFIED_SOURCES += [
8    "nsAuthGSSAPI.cpp",
9]
10
11SOURCES += [
12    "nsAuthSASL.cpp",
13    "nsHttpNegotiateAuth.cpp",  # contains constants whose names conflict with constants in other files
14    "nsIAuthModule.cpp",  # includes windows.h recursively which conflicts with TimeStamp.h
15]
16
17if CONFIG["OS_ARCH"] == "WINNT":
18    SOURCES += [
19        "nsAuthSSPI.cpp",
20    ]
21    DEFINES["USE_SSPI"] = True
22else:
23    UNIFIED_SOURCES += [
24        "nsAuthSambaNTLM.cpp",
25    ]
26
27LOCAL_INCLUDES += [
28    "/netwerk/dns",  # For nsDNSService2.h
29    "/security/manager/ssl",
30]
31
32FINAL_LIBRARY = "xul"
33
34with Files("**"):
35    BUG_COMPONENT = ("Core", "Networking")
36
37include("/tools/fuzzing/libfuzzer-config.mozbuild")
38
39include("/ipc/chromium/chromium-config.mozbuild")
40