moz.build (1365B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "MathML") 9 10 if CONFIG["ENABLE_TESTS"]: 11 MOCHITEST_CHROME_MANIFESTS += [ 12 "tests/chrome.toml", 13 ] 14 15 UNIFIED_SOURCES += [ 16 "nsMathMLChar.cpp", 17 "nsMathMLContainerFrame.cpp", 18 "nsMathMLFrame.cpp", 19 "nsMathMLmencloseFrame.cpp", 20 "nsMathMLmfracFrame.cpp", 21 "nsMathMLmmultiscriptsFrame.cpp", 22 "nsMathMLmoFrame.cpp", 23 "nsMathMLmpaddedFrame.cpp", 24 "nsMathMLmrootFrame.cpp", 25 "nsMathMLmrowFrame.cpp", 26 "nsMathMLmspaceFrame.cpp", 27 "nsMathMLmtableFrame.cpp", 28 "nsMathMLmunderoverFrame.cpp", 29 "nsMathMLOperators.cpp", 30 "nsMathMLTokenFrame.cpp", 31 ] 32 33 EXPORTS += [ 34 "nsIMathMLFrame.h", 35 "nsMathMLContainerFrame.h", 36 "nsMathMLFrame.h", 37 "nsMathMLOperators.h", 38 ] 39 40 include("/ipc/chromium/chromium-config.mozbuild") 41 42 FINAL_LIBRARY = "xul" 43 LOCAL_INCLUDES += [ 44 "../base", 45 "../generic", 46 "../painting", 47 "../style", 48 "../tables", 49 "../xul", 50 "/dom/base", 51 "/dom/mathml", 52 ] 53 54 JAR_MANIFESTS += ["jar.mn"] 55 56 RESOURCE_FILES.fonts += [ 57 "mathfont.properties", 58 ]