gecko-dev/parser/xml/moz.build
Eric Rahm a220f2c4a4 Bug 1348998 - Build XML with unified sources. r=peterv
It looks like we can build parser/xml with unified sources.

MozReview-Commit-ID: 2NNa75l1FrB
2017-04-11 10:33:25 -07:00

40 lines
933 B
Python

# -*- Mode: python; 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/.
with Files('**'):
BUG_COMPONENT = ('Core', 'XML')
TEST_DIRS += ['test']
XPIDL_SOURCES += [
'nsIMozSAXXMLDeclarationHandler.idl',
'nsISAXAttributes.idl',
'nsISAXContentHandler.idl',
'nsISAXDTDHandler.idl',
'nsISAXErrorHandler.idl',
'nsISAXLexicalHandler.idl',
'nsISAXLocator.idl',
'nsISAXMutableAttributes.idl',
'nsISAXXMLFilter.idl',
'nsISAXXMLReader.idl',
]
XPIDL_MODULE = 'saxparser'
EXPORTS += [
'nsSAXAttributes.h',
'nsSAXLocator.h',
'nsSAXXMLReader.h',
]
UNIFIED_SOURCES += [
'nsSAXAttributes.cpp',
'nsSAXLocator.cpp',
'nsSAXXMLReader.cpp',
]
FINAL_LIBRARY = 'xul'