moz.build 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. EXPORTS.mozilla.dom.cache += [
  6. 'Action.h',
  7. 'ActorChild.h',
  8. 'ActorUtils.h',
  9. 'AutoUtils.h',
  10. 'Cache.h',
  11. 'CacheChild.h',
  12. 'CacheOpChild.h',
  13. 'CacheOpParent.h',
  14. 'CacheParent.h',
  15. 'CacheStorage.h',
  16. 'CacheStorageChild.h',
  17. 'CacheStorageParent.h',
  18. 'CacheStreamControlChild.h',
  19. 'CacheStreamControlParent.h',
  20. 'CacheWorkerHolder.h',
  21. 'Connection.h',
  22. 'Context.h',
  23. 'DBAction.h',
  24. 'DBSchema.h',
  25. 'FileUtils.h',
  26. 'IPCUtils.h',
  27. 'Manager.h',
  28. 'ManagerId.h',
  29. 'PrincipalVerifier.h',
  30. 'QuotaClient.h',
  31. 'ReadStream.h',
  32. 'SavedTypes.h',
  33. 'StreamControl.h',
  34. 'StreamList.h',
  35. 'Types.h',
  36. 'TypeUtils.h',
  37. ]
  38. SOURCES += [
  39. 'Action.cpp',
  40. 'ActorChild.cpp',
  41. 'AutoUtils.cpp',
  42. 'Cache.cpp',
  43. 'CacheChild.cpp',
  44. 'CacheOpChild.cpp',
  45. 'CacheOpParent.cpp',
  46. 'CacheParent.cpp',
  47. 'CacheStorage.cpp',
  48. 'CacheStorageChild.cpp',
  49. 'CacheStorageParent.cpp',
  50. 'CacheStreamControlChild.cpp',
  51. 'CacheStreamControlParent.cpp',
  52. 'CacheWorkerHolder.cpp',
  53. 'Connection.cpp',
  54. 'Context.cpp',
  55. 'DBAction.cpp',
  56. 'DBSchema.cpp',
  57. 'FileUtils.cpp',
  58. 'Manager.cpp',
  59. 'ManagerId.cpp',
  60. 'PrincipalVerifier.cpp',
  61. 'QuotaClient.cpp',
  62. 'ReadStream.cpp',
  63. 'StreamControl.cpp',
  64. 'StreamList.cpp',
  65. 'TypeUtils.cpp',
  66. ]
  67. IPDL_SOURCES += [
  68. 'CacheTypes.ipdlh',
  69. 'PCache.ipdl',
  70. 'PCacheOp.ipdl',
  71. 'PCacheStorage.ipdl',
  72. 'PCacheStreamControl.ipdl',
  73. ]
  74. include('/ipc/chromium/chromium-config.mozbuild')
  75. LOCAL_INCLUDES += [
  76. '../workers',
  77. ]
  78. FINAL_LIBRARY = 'xul'
  79. MOCHITEST_MANIFESTS += [
  80. 'test/mochitest/mochitest.ini',
  81. ]
  82. BROWSER_CHROME_MANIFESTS += [
  83. 'test/mochitest/browser.ini',
  84. ]
  85. XPCSHELL_TESTS_MANIFESTS += [
  86. 'test/xpcshell/xpcshell.ini',
  87. ]
  88. if CONFIG['GNU_CXX']:
  89. CXXFLAGS += ['-Wno-error=shadow']