moz.build 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. JAR_MANIFESTS += ['jar.mn']
  6. interfaces = [
  7. 'base',
  8. 'canvas',
  9. 'core',
  10. 'html',
  11. 'events',
  12. 'settings',
  13. 'stylesheets',
  14. 'sidebar',
  15. 'css',
  16. 'traversal',
  17. 'range',
  18. 'xbl',
  19. 'xpath',
  20. 'xul',
  21. 'security',
  22. 'storage',
  23. 'json',
  24. 'offline',
  25. 'geolocation',
  26. 'notification',
  27. 'permission',
  28. 'svg',
  29. 'smil',
  30. 'apps',
  31. 'push',
  32. ]
  33. DIRS += ['interfaces/' + i for i in interfaces]
  34. DIRS += [
  35. 'abort',
  36. 'animation',
  37. 'apps',
  38. 'base',
  39. 'archivereader',
  40. 'bindings',
  41. 'browser-element',
  42. 'cache',
  43. 'canvas',
  44. 'crypto',
  45. 'encoding',
  46. 'events',
  47. 'fetch',
  48. 'filehandle',
  49. 'filesystem',
  50. 'gamepad',
  51. 'geolocation',
  52. 'grid',
  53. 'heapsnapshot',
  54. 'html',
  55. 'json',
  56. 'jsurl',
  57. 'asmjscache',
  58. 'mathml',
  59. 'media',
  60. 'notification',
  61. 'offline',
  62. 'power',
  63. 'push',
  64. 'quota',
  65. 'security',
  66. 'settings',
  67. 'storage',
  68. 'svg',
  69. 'time',
  70. 'locales',
  71. 'network',
  72. 'permission',
  73. 'plugins/base',
  74. 'plugins/ipc',
  75. 'indexedDB',
  76. 'system',
  77. 'ipc',
  78. 'workers',
  79. 'audiochannel',
  80. 'broadcastchannel',
  81. 'messagechannel',
  82. 'promise',
  83. 'smil',
  84. 'url',
  85. 'inputmethod',
  86. 'webidl',
  87. 'xbl',
  88. 'xml',
  89. 'xslt',
  90. 'xul',
  91. 'manifest',
  92. 'u2f',
  93. 'console',
  94. 'performance',
  95. 'xhr',
  96. 'worklet',
  97. 'script',
  98. ]
  99. if CONFIG['OS_ARCH'] == 'WINNT':
  100. DIRS += ['plugins/ipc/hangui']
  101. if CONFIG['MOZ_SECUREELEMENT']:
  102. DIRS += ['secureelement']
  103. TEST_DIRS += [
  104. 'tests',
  105. 'imptests',
  106. ]
  107. if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'windows', 'android'):
  108. TEST_DIRS += ['plugins/test']