dom/xul/moz.build
author J. Ryan Stinnett <jryans@gmail.com>
Fri, 01 Sep 2017 13:07:48 -0500
changeset 428532 62cebea1d1578461a423a9ca7848706455db9ea5
parent 378884 bd99b295e5fd145afa171be93a9680e34067ce11
child 445669 97e76d278a23581636508b095775c963feb2ef84
permissions -rw-r--r--
Bug 1330412 - Clean up Stylo Treeherder symbols. r=jmaher Clean up and standardize Treeherder symbols for Talos and AWSY tasks: * Stylo disabled groups include `sd` * Stylo sequential groups include `ss` MozReview-Commit-ID: 7cl6e0XvXNO

# -*- 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", "XUL")

MOCHITEST_MANIFESTS += ['test/mochitest.ini']

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

if CONFIG['MOZ_XUL']:
    DIRS += ['templates']

    XPIDL_SOURCES += [
        'nsIXULOverlayProvider.idl',
    ]

    EXPORTS += [
        'nsIXULDocument.h',
    ]

    UNIFIED_SOURCES += [
        'nsXULCommandDispatcher.cpp',
        'nsXULContentSink.cpp',
        'nsXULElement.cpp',
        'nsXULPopupListener.cpp',
        'nsXULPrototypeCache.cpp',
        'nsXULPrototypeDocument.cpp',
        'XULDocument.cpp',
    ]

XPIDL_SOURCES += [
    'nsIController.idl',
    'nsIControllers.idl',
]

XPIDL_MODULE = 'xul'

UNIFIED_SOURCES += [
    'nsXULControllers.cpp',
]

LOCAL_INCLUDES += [
    '/docshell/base',
    '/dom/base',
    '/dom/html',
    '/dom/xbl',
    '/dom/xml',
    '/dom/xul/templates',
    '/layout/base',
    '/layout/generic',
    '/layout/style',
    '/layout/xul',
]

FINAL_LIBRARY = 'xul'

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']