layout/mathml/moz.build
author Benoit Jacob <bjacob@mozilla.com>
Sun, 26 Oct 2014 08:01:00 -0400
changeset 225817 6268e33e83518a07699e211114984266519a135d
parent 222311 8427a3f3067f7e12680f451e4554b3f0338a9a86
child 236672 2db29c0ae60b6eb0e196165631127d195fe2ef0b
permissions -rw-r--r--
Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar, a=sledru

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

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

UNIFIED_SOURCES += [
    'nsMathMLChar.cpp',
    'nsMathMLContainerFrame.cpp',
    'nsMathMLFrame.cpp',
    'nsMathMLmactionFrame.cpp',
    'nsMathMLmencloseFrame.cpp',
    'nsMathMLmfencedFrame.cpp',
    'nsMathMLmfracFrame.cpp',
    'nsMathMLmmultiscriptsFrame.cpp',
    'nsMathMLmoFrame.cpp',
    'nsMathMLmpaddedFrame.cpp',
    'nsMathMLmphantomFrame.cpp',
    'nsMathMLmrootFrame.cpp',
    'nsMathMLmrowFrame.cpp',
    'nsMathMLmspaceFrame.cpp',
    'nsMathMLmsqrtFrame.cpp',
    'nsMathMLmtableFrame.cpp',
    'nsMathMLmunderoverFrame.cpp',
    'nsMathMLOperators.cpp',
    'nsMathMLSelectedFrame.cpp',
    'nsMathMLsemanticsFrame.cpp',
    'nsMathMLTokenFrame.cpp',
]

EXPORTS += [
    'nsIMathMLFrame.h',
    'nsMathMLOperators.h'
]

FAIL_ON_WARNINGS = True

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

JAR_MANIFESTS += ['jar.mn']

RESOURCE_FILES.fonts += [
    'mathfont.properties',
    'mathfontMathJax_Main.properties',
    'mathfontStandardSymbolsL.properties',
    'mathfontSTIXGeneral.properties',
    'mathfontUnicode.properties',
]

RESOURCE_FILES.fonts['mathfont.properties'].preprocess = True

if CONFIG['TARGET_MD_ARCH'] == 'win32':
    RESOURCE_FILES.fonts += [
        'mathfontSymbol.properties',
    ]