xpfe/appshell/moz.build
author Kershaw Chang <kershaw@mozilla.com>
Thu, 15 Aug 2019 12:52:54 +0000
changeset 488256 a8e1c8f886fb76d41d6c0aa06e3ab8c52ba6962a
parent 460048 860bdc8fa78af1c8a20cbbcd41b29341369723c1
child 500407 067a556bb614b3b377581c79367adbc1ae220d24
permissions -rw-r--r--
Bug 1571283 - Add null check for mObserver r=baku Differential Revision: https://phabricator.services.mozilla.com/D42092

# -*- 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',
    'nsWebShellWindow.cpp',
    'nsWindowMediator.cpp',
    'nsXULWindow.cpp',
]

XPCOM_MANIFESTS += [
    'components.conf',
]

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

FINAL_LIBRARY = 'xul'

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