layout/inspector/moz.build
author Jean-Yves Avenard <jyavenard@mozilla.com>
Wed, 31 Jan 2018 19:08:51 +0100
changeset 463332 4e8af01f19c29b43c1f0606d1fac0d262c777b40
parent 450491 197ceff072eb520553745016696bfddb1513719a
child 464390 322f27869c71927f4f1bca6454a184f3beaf060e
permissions -rw-r--r--
Bug 1432779 - P4. Remove the concept of preferred layout. r=padenot,r=kamidphish Channel layout is derived by the content being played. The concept of preferred layout is meaningless. Either we have a layout defined, or we don't. There's no in-between. So we remove it. MozReview-Commit-ID: CSCAInNmzMS

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

if CONFIG['ENABLE_TESTS']:
    MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
    MOCHITEST_MANIFESTS += ['tests/mochitest.ini']

XPIDL_SOURCES += [
    'inIDeepTreeWalker.idl',
    'inIDOMView.idl',
]

XPIDL_MODULE = 'inspector'

EXPORTS.mozilla += [
    'ServoStyleRuleMap.h',
]

EXPORTS.mozilla.dom += [
    'InspectorFontFace.h',
    'InspectorUtils.h',
]

UNIFIED_SOURCES += [
    'inDeepTreeWalker.cpp',
    'inLayoutUtils.cpp',
    'InspectorFontFace.cpp',
    'InspectorUtils.cpp',
    'ServoStyleRuleMap.cpp',
]

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

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