moz.build 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. 'nsICache.idl',
  7. 'nsICacheEntryDescriptor.idl',
  8. 'nsICacheListener.idl',
  9. 'nsICacheService.idl',
  10. 'nsICacheSession.idl',
  11. 'nsICacheVisitor.idl',
  12. ]
  13. XPIDL_MODULE = 'necko_cache'
  14. EXPORTS += [
  15. 'nsApplicationCacheService.h',
  16. 'nsCacheService.h',
  17. 'nsDeleteDir.h'
  18. ]
  19. SOURCES += [
  20. 'nsApplicationCacheService.cpp',
  21. 'nsCache.cpp',
  22. 'nsCacheEntry.cpp',
  23. 'nsCacheEntryDescriptor.cpp',
  24. 'nsCacheMetaData.cpp',
  25. 'nsCacheService.cpp',
  26. 'nsCacheSession.cpp',
  27. 'nsCacheUtils.cpp',
  28. 'nsDeleteDir.cpp',
  29. 'nsDiskCacheBinding.cpp',
  30. 'nsDiskCacheBlockFile.cpp',
  31. 'nsDiskCacheDevice.cpp',
  32. 'nsDiskCacheDeviceSQL.cpp',
  33. 'nsDiskCacheEntry.cpp',
  34. 'nsDiskCacheMap.cpp',
  35. 'nsDiskCacheStreams.cpp',
  36. 'nsMemoryCacheDevice.cpp',
  37. ]
  38. FINAL_LIBRARY = 'xul'
  39. LOCAL_INCLUDES += [
  40. '/netwerk/base',
  41. ]
  42. if CONFIG['GNU_CXX']:
  43. CXXFLAGS += ['-Wno-error=shadow']