chrome/moz.build
author Narcis Beleuzu <nbeleuzu@mozilla.com>
Thu, 16 Sep 2021 22:23:31 +0300
changeset 592217 4f9a1f599b43c1748edf0ce1b42a25b5f825db7e
parent 589878 3e615329b0a3a5aa2029c68dd84bfd5eb2acaeda
permissions -rw-r--r--
Backed out 4 changesets (bug 1729723) for mochitest crashes on LateWriteChecks.cpp . CLOSED TREE Backed out changeset 728ead24c5e8 (bug 1729723) Backed out changeset 466be2d40e28 (bug 1729723) Backed out changeset 7b67981c7531 (bug 1729723) Backed out changeset 378b0f332427 (bug 1729723)

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

TEST_DIRS += ["test"]

XPIDL_SOURCES += [
    "nsIChromeRegistry.idl",
    "nsIToolkitChromeRegistry.idl",
]

XPIDL_MODULE = "chrome"

EXPORTS += [
    "nsChromeProtocolHandler.h",
]

EXPORTS.mozilla.chrome += [
    "RegistryMessageUtils.h",
]

UNIFIED_SOURCES += [
    "nsChromeProtocolHandler.cpp",
    "nsChromeRegistry.cpp",
    "nsChromeRegistryChrome.cpp",
    "nsChromeRegistryContent.cpp",
]

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

FINAL_LIBRARY = "xul"

LOCAL_INCLUDES += [
    "!/xpcom",
    "/dom/base",
    "/netwerk/base",
    "/netwerk/protocol/res",
    "/xpcom/components",
]

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
    CXXFLAGS += CONFIG["TK_CFLAGS"]

with Files("**"):
    BUG_COMPONENT = ("Toolkit", "Startup and Profile System")

REQUIRES_UNIFIED_BUILD = True