Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/notification/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  moz.build   Sprache: unbekannt

 
Spracherkennung für: .build vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# 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/.

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM: Notifications")

MOZ_SRC_FILES += [
    "MemoryNotificationDB.sys.mjs",
    "NotificationDB.sys.mjs",
    "NotificationStorage.sys.mjs",
]

XPCOM_MANIFESTS += [
    "components.conf",
]

XPIDL_MODULE = "dom_notification"

XPIDL_SOURCES += [
    "nsINotificationHandler.idl",
]

EXPORTS.mozilla.dom += [
    "Notification.h",
]

EXPORTS.mozilla.dom.notification += [
    "IPCUtils.h",
    "NotificationChild.h",
    "NotificationHandler.h",
    "NotificationParent.h",
    "NotificationUtils.h",
]

UNIFIED_SOURCES += [
    "Notification.cpp",
    "NotificationChild.cpp",
    "NotificationHandler.cpp",
    "NotificationParent.cpp",
    "NotificationUtils.cpp",
]

IPDL_SOURCES += [
    "PNotification.ipdl",
]

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

FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [
    "/dom/base",
    "/dom/ipc",
    # NotificationHandler::RespondOnClick, but see bug 1966910.
    "/js/xpconnect/src",
    # Safe Browsing classification for notifications (bug 1986300).
    "/netwerk/url-classifier",
]

BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]
MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.toml"]
MARIONETTE_MANIFESTS += ["test/marionette/manifest.toml"]

[Dauer der Verarbeitung: 0.34 Sekunden]