xpfe/appshell/moz.build
author James Willcox <snorp@snorp.net>
Fri, 03 Aug 2018 14:48:31 -0500
changeset 487930 6cd69a56e853b2f2f3ef42e1ef406030cfbc9c1f
parent 467483 f154057ddc01b537e163386065a768bf514d2c4b
child 516934 625f71135038f79c075f758e316fbb00097c9a18
permissions -rw-r--r--
Bug 1480095 - Allow loading custom error pages via nsILoadURIDelegate r=esawin,bz,jchen MozReview-Commit-ID: IhVC9nU60fy

# -*- 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 += [
    'nsAppShellFactory.cpp',
    'nsAppShellService.cpp',
    'nsAppShellWindowEnumerator.cpp',
    'nsChromeTreeOwner.cpp',
    'nsContentTreeOwner.cpp',
    'nsWebShellWindow.cpp',
    'nsWindowMediator.cpp',
    'nsXULWindow.cpp',
]

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

FINAL_LIBRARY = 'xul'

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