xpfe/appshell/moz.build
author Mason Chang <mchang@mozilla.com>
Tue, 18 Nov 2014 13:28:42 -0800
changeset 242756 8da176df25abd64bfd0224fbd200cbce5b3cfabd
parent 220480 963723a2077d585c2cb00025622ed30bdd3d1148
child 272722 76604a91617d22ff1ac13948b95271bf3cc0df70
permissions -rw-r--r--
Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa

# -*- Mode: python; c-basic-offset: 4; 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/.

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

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

XPIDL_MODULE = 'appshell'

EXPORTS += [
    'nsAppShellCID.h',
]

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

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

FAIL_ON_WARNINGS = True
MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'