layout/mathml/moz.build
author Nicholas Nethercote <nnethercote@mozilla.com>
Thu, 29 May 2014 22:40:33 -0700
changeset 206102 038794b1a5bc9886976d9eac1d626f7b31e027b3
parent 203065 6f0b312e09aa14f311c8bc13e29e9a27c1a9a75e
child 218514 b6982073587f13f4c2575346aa952a520ea0ebae
permissions -rw-r--r--
Bug 1014377 - Convert the first quarter of MFBT to Gecko style. r=froydnj.

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