layout/mathml/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 29 Jul 2014 08:57:59 +0900
changeset 219354 22850cacf0f9527a7408375aa9270ebe835175a4
parent 219102 bf3d1eb30dcfd4bcfb3243a94f9f2ab284c9c22d
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/.

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

if CONFIG['ENABLE_TESTS']:
    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',
    ]