xpfe/appshell/moz.build
author Zibi Braniecki <zbraniecki@mozilla.com>
Wed, 23 Jan 2019 21:29:15 +0000
changeset 512314 b6f80451898e0878e3299e5ea949f9c81dfce770
parent 467483 f154057ddc01b537e163386065a768bf514d2c4b
child 516934 625f71135038f79c075f758e316fbb00097c9a18
permissions -rw-r--r--
Bug 1518252 - Block layout on Fluent. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D17334

# -*- 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')