layout/inspector/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 29 Jul 2014 08:57:59 +0900
changeset 219354 22850cacf0f9527a7408375aa9270ebe835175a4
parent 218514 b6982073587f13f4c2575346aa952a520ea0ebae
child 223583 8427a3f3067f7e12680f451e4554b3f0338a9a86
permissions -rw-r--r--
Bug 1043820 - Remove PARALLEL_DIRS. r=gps

# -*- 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/.

XPIDL_SOURCES += [
    'inICSSValueSearch.idl',
    'inIDeepTreeWalker.idl',
    'inIDOMUtils.idl',
    'inIDOMView.idl',
    'inIFlasher.idl',
    'inISearchObserver.idl',
    'inISearchProcess.idl',
    'nsIDOMFontFace.idl',
    'nsIDOMFontFaceList.idl',
]

XPIDL_MODULE = 'inspector'

EXPORTS += [
    'nsFontFace.h',
    'nsFontFaceList.h',
]

UNIFIED_SOURCES += [
    'inCSSValueSearch.cpp',
    'inDeepTreeWalker.cpp',
    'inDOMUtils.cpp',
    'inFlasher.cpp',
    'inLayoutUtils.cpp',
    'inSearchLoop.cpp',
    'nsFontFace.cpp',
    'nsFontFaceList.cpp',
]

if CONFIG['MOZ_XUL']:
    UNIFIED_SOURCES += [
        'inDOMView.cpp',
    ]

FAIL_ON_WARNINGS = True

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '../style',
    '/content/base/src',
    '/dom/xbl',
]

if CONFIG['ENABLE_TESTS']:
    DIRS += [
        'tests',
        'tests/chrome',
    ]