xpfe/appshell/moz.build
author Brendan Dahl <bdahl@mozilla.com>
Mon, 04 Nov 2019 16:52:24 +0000
changeset 500407 067a556bb614b3b377581c79367adbc1ae220d24
parent 460048 860bdc8fa78af1c8a20cbbcd41b29341369723c1
child 500408 5967bf6335748dbdeca580449b34c20a45d8a64a
permissions -rw-r--r--
Bug 1470510 - Merge nsWebShellWindow into nsXULWindow r=smaug nsWebShellWindow is the only class that extends nsXULWindow and only nsWebShellWindows are ever instantiated. Differential Revision: https://phabricator.services.mozilla.com/D51155

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

with Files("**"):
    BUG_COMPONENT = ("Core", "Window Management")

MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']

XPIDL_SOURCES += [
    'nsIAppShellService.idl',
    'nsIWindowlessBrowser.idl',
    'nsIWindowMediator.idl',
    'nsIWindowMediatorListener.idl',
    'nsIXULBrowserWindow.idl',
    'nsIXULWindow.idl',
]

XPIDL_MODULE = 'appshell'

EXPORTS += [
    'LiveResizeListener.h',
    'nsAppShellCID.h',
]

UNIFIED_SOURCES += [
    'nsAppShellService.cpp',
    'nsAppShellWindowEnumerator.cpp',
    'nsChromeTreeOwner.cpp',
    'nsContentTreeOwner.cpp',
    'nsWindowMediator.cpp',
    'nsXULWindow.cpp',
]

XPCOM_MANIFESTS += [
    'components.conf',
]

LOCAL_INCLUDES += [
    '/dom/base',
    '/dom/xul',
]

FINAL_LIBRARY = 'xul'

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