toolkit/components/sessionstore/moz.build
author Robert Longson <longsonr@gmail.com>
Sat, 04 Feb 2023 15:41:48 +0000
changeset 651752 40237e7707f1928c84d09cdd2f1fd018a74ea784
parent 645088 a2ca7412480bbf4ac9f7d78c6da8f7c4ba787946
permissions -rw-r--r--
Bug 1814872 - Fix degenerate radial gradient handling r=emilio This is a change from SVG 1.1 where we only had to check for r=0 because fr did not exist. The SVG 2 behaviour was clarified in https://github.com/w3c/svgwg/issues/648 Differential Revision: https://phabricator.services.mozilla.com/D168783

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

EXPORTS.mozilla.dom += [
    "BrowserSessionStore.h",
    "SessionStoreChangeListener.h",
    "SessionStoreChild.h",
    "SessionStoreData.h",
    "SessionStoreFormData.h",
    "SessionStoreListener.h",
    "SessionStoreMessageUtils.h",
    "SessionStoreParent.h",
    "SessionStoreRestoreData.h",
    "SessionStoreScrollData.h",
    "SessionStoreUtils.h",
]

UNIFIED_SOURCES += [
    "BrowserSessionStore.cpp",
    "RestoreTabContentObserver.cpp",
    "SessionStoreChangeListener.cpp",
    "SessionStoreChild.cpp",
    "SessionStoreFormData.cpp",
    "SessionStoreListener.cpp",
    "SessionStoreParent.cpp",
    "SessionStoreRestoreData.cpp",
    "SessionStoreScrollData.cpp",
    "SessionStoreUtils.cpp",
]

EXTRA_JS_MODULES += [
    "SessionStoreFunctions.sys.mjs",
]

XPIDL_MODULE = "sessionstore"

XPIDL_SOURCES += [
    "nsISessionStoreRestoreData.idl",
    "SessionStoreFunctions.idl",
]

IPDL_SOURCES += [
    "PSessionStore.ipdl",
    "SessionStoreTypes.ipdlh",
]

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

FINAL_LIBRARY = "xul"

with Files("**"):
    BUG_COMPONENT = ("Firefox", "Session Restore")

REQUIRES_UNIFIED_BUILD = True