layout/mathml/moz.build
author Mike Shal <mshal@mozilla.com>
Fri, 16 May 2014 14:37:31 -0400
changeset 210584 c0efa7f1e54c2dfbc9dfa77c49bf0411bc8b891d
parent 203065 6f0b312e09aa14f311c8bc13e29e9a27c1a9a75e
child 218514 b6982073587f13f4c2575346aa952a520ea0ebae
permissions -rw-r--r--
Bug 978211 - add an automation/build target for post-build steps; r=glandium

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

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 = 'gklayout'
LOCAL_INCLUDES += [
    '../base',
    '../generic',
    '../style',
    '../tables',
    '../xul',
    '/content/base/src',
    '/content/mathml/content/src',
]

if CONFIG['ENABLE_TESTS']:
    PARALLEL_DIRS += [
        'tests',
    ]

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',
    ]