2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08:00
|
|
|
# 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/.
|
|
|
|
|
2014-08-20 10:27:18 -07:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
|
2013-11-14 18:45:38 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'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',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsMathMLOperators.cpp',
|
|
|
|
'nsMathMLSelectedFrame.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsMathMLsemanticsFrame.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsMathMLTokenFrame.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2014-01-15 06:49:00 -08:00
|
|
|
EXPORTS += [
|
|
|
|
'nsIMathMLFrame.h',
|
|
|
|
'nsMathMLOperators.h'
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 06:23:10 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../generic',
|
|
|
|
'../style',
|
|
|
|
'../tables',
|
2013-12-03 17:06:16 -08:00
|
|
|
'../xul',
|
2013-11-28 06:23:10 -08:00
|
|
|
'/content/base/src',
|
2014-07-25 14:15:35 -07:00
|
|
|
'/dom/mathml',
|
2013-11-28 06:23:10 -08:00
|
|
|
]
|
|
|
|
|
2013-11-05 10:37:54 -08:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
|
|
|
|
|
|
|
RESOURCE_FILES.fonts += [
|
|
|
|
'mathfont.properties',
|
|
|
|
'mathfontMathJax_Main.properties',
|
|
|
|
'mathfontStandardSymbolsL.properties',
|
2014-05-06 21:22:00 -07:00
|
|
|
'mathfontSTIXGeneral.properties',
|
2013-11-05 10:37:54 -08:00
|
|
|
'mathfontUnicode.properties',
|
|
|
|
]
|
|
|
|
|
|
|
|
RESOURCE_FILES.fonts['mathfont.properties'].preprocess = True
|
|
|
|
|
|
|
|
if CONFIG['TARGET_MD_ARCH'] == 'win32':
|
|
|
|
RESOURCE_FILES.fonts += [
|
|
|
|
'mathfontSymbol.properties',
|
|
|
|
]
|