extensions/auth/moz.build
author Valentin Gosu <valentin.gosu@gmail.com>
Mon, 25 Jan 2021 11:57:19 +0000
changeset 564447 51936308d0d76e38e292fc0b5b6af610b28d26fe
parent 554568 994ae8e4833c90447d91f0e26a718573cff5a514
permissions -rw-r--r--
Bug 1688205 - Record TRR_NO_ANSWERS when decoding a DoH response works but it contains no answers r=nhnt11 Differential Revision: https://phabricator.services.mozilla.com/D102744

# -*- 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 += [
    "nsAuthGSSAPI.cpp",
]

SOURCES += [
    "nsAuthSASL.cpp",
    "nsHttpNegotiateAuth.cpp",  # contains constants whose names conflict with constants in other files
    "nsIAuthModule.cpp",  # includes windows.h recursively which conflicts with TimeStamp.h
]

if CONFIG["OS_ARCH"] == "WINNT":
    SOURCES += [
        "nsAuthSSPI.cpp",
    ]
    DEFINES["USE_SSPI"] = True
else:
    UNIFIED_SOURCES += [
        "nsAuthSambaNTLM.cpp",
    ]

LOCAL_INCLUDES += [
    "/netwerk/dns",  # For nsDNSService2.h
    "/security/manager/ssl",
]

FINAL_LIBRARY = "xul"

with Files("**"):
    BUG_COMPONENT = ("Core", "Networking")

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

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