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
7XPIDL_SOURCES += [
8    'nsIRDFCompositeDataSource.idl',
9    'nsIRDFContainer.idl',
10    'nsIRDFContainerUtils.idl',
11    'nsIRDFDataSource.idl',
12    'nsIRDFDelegateFactory.idl',
13    'nsIRDFInferDataSource.idl',
14    'nsIRDFInMemoryDataSource.idl',
15    'nsIRDFLiteral.idl',
16    'nsIRDFNode.idl',
17    'nsIRDFObserver.idl',
18    'nsIRDFPropagatableDataSource.idl',
19    'nsIRDFPurgeableDataSource.idl',
20    'nsIRDFRemoteDataSource.idl',
21    'nsIRDFResource.idl',
22    'nsIRDFService.idl',
23    'nsIRDFXMLParser.idl',
24    'nsIRDFXMLSerializer.idl',
25    'nsIRDFXMLSink.idl',
26    'nsIRDFXMLSource.idl',
27    'rdfIDataSource.idl',
28    'rdfITripleVisitor.idl',
29]
30
31XPIDL_MODULE = 'rdf'
32
33EXPORTS += [
34    'nsIRDFContentSink.h',
35    'nsRDFResource.h',
36    'rdf.h',
37]
38
39UNIFIED_SOURCES += [
40    'nsCompositeDataSource.cpp',
41    'nsContainerEnumerator.cpp',
42    'nsDefaultResourceFactory.cpp',
43    'nsInMemoryDataSource.cpp',
44    'nsNameSpaceMap.cpp',
45    'nsRDFContainer.cpp',
46    'nsRDFContainerUtils.cpp',
47    'nsRDFContentSink.cpp',
48    'nsRDFResource.cpp',
49    'nsRDFService.cpp',
50    'nsRDFXMLDataSource.cpp',
51    'nsRDFXMLParser.cpp',
52    'nsRDFXMLSerializer.cpp',
53    'rdfutil.cpp',
54]
55
56FINAL_LIBRARY = 'xul'
57
58if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
59    CXXFLAGS += ['-Wno-error=shadow']
60