moz.build 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. XPIDL_SOURCES += [
  6. 'nsIRDFCompositeDataSource.idl',
  7. 'nsIRDFContainer.idl',
  8. 'nsIRDFContainerUtils.idl',
  9. 'nsIRDFDataSource.idl',
  10. 'nsIRDFDelegateFactory.idl',
  11. 'nsIRDFInferDataSource.idl',
  12. 'nsIRDFInMemoryDataSource.idl',
  13. 'nsIRDFLiteral.idl',
  14. 'nsIRDFNode.idl',
  15. 'nsIRDFObserver.idl',
  16. 'nsIRDFPropagatableDataSource.idl',
  17. 'nsIRDFPurgeableDataSource.idl',
  18. 'nsIRDFRemoteDataSource.idl',
  19. 'nsIRDFResource.idl',
  20. 'nsIRDFService.idl',
  21. 'nsIRDFXMLParser.idl',
  22. 'nsIRDFXMLSerializer.idl',
  23. 'nsIRDFXMLSink.idl',
  24. 'nsIRDFXMLSource.idl',
  25. 'rdfIDataSource.idl',
  26. 'rdfISerializer.idl',
  27. 'rdfITripleVisitor.idl',
  28. ]
  29. XPIDL_MODULE = 'rdf'
  30. EXPORTS += [
  31. 'nsIRDFContentSink.h',
  32. 'rdf.h',
  33. ]
  34. UNIFIED_SOURCES += [
  35. 'nsCompositeDataSource.cpp',
  36. 'nsContainerEnumerator.cpp',
  37. 'nsDefaultResourceFactory.cpp',
  38. 'nsInMemoryDataSource.cpp',
  39. 'nsNameSpaceMap.cpp',
  40. 'nsRDFContainer.cpp',
  41. 'nsRDFContainerUtils.cpp',
  42. 'nsRDFContentSink.cpp',
  43. 'nsRDFService.cpp',
  44. 'nsRDFXMLDataSource.cpp',
  45. 'nsRDFXMLParser.cpp',
  46. 'nsRDFXMLSerializer.cpp',
  47. 'rdfTriplesSerializer.cpp',
  48. 'rdfutil.cpp',
  49. ]
  50. FINAL_LIBRARY = 'xul'
  51. if CONFIG['GNU_CXX']:
  52. CXXFLAGS += ['-Wno-error=shadow']