toolkit.mozbuild 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. # -*- Mode: python; c-basic-offset: 4; 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. if CONFIG['MOZ_MAILNEWS']:
  6. DIRS += [
  7. '/ldap',
  8. '/db/mork',
  9. '/mailnews',
  10. ]
  11. DIRS += [
  12. # Depends on NSS and NSPR
  13. '/security/certverifier',
  14. # Depends on certverifier
  15. '/security/apps',
  16. ]
  17. # the signing related bits of libmar depend on nss
  18. if CONFIG['MOZ_UPDATER']:
  19. DIRS += ['/modules/libmar']
  20. DIRS += [
  21. '/config/external/freetype2',
  22. '/xpcom',
  23. '/modules/libpref',
  24. '/intl',
  25. '/netwerk',
  26. ]
  27. if CONFIG['MOZ_AUTH_EXTENSION']:
  28. DIRS += ['/extensions/auth']
  29. if CONFIG['MOZ_UPDATER']:
  30. DIRS += ['/other-licenses/bsdiff']
  31. # Gecko/Core components.
  32. DIRS += [
  33. '/ipc',
  34. '/js/ipc',
  35. '/hal',
  36. '/js/xpconnect',
  37. '/intl/chardet',
  38. '/media/libyuv',
  39. '/modules/libjar',
  40. '/storage',
  41. ]
  42. if CONFIG['MOZ_PERMISSIONS']:
  43. DIRS += [
  44. '/extensions/cookie',
  45. '/extensions/permissions',
  46. ]
  47. DIRS += [
  48. '/rdf',
  49. ]
  50. if CONFIG['MOZ_WEBRTC']:
  51. DIRS += [
  52. '/media/webrtc',
  53. '/media/mtransport',
  54. ]
  55. if CONFIG['ENABLE_TESTS']:
  56. DIRS += ['/testing/specialpowers']
  57. DIRS += [
  58. '/testing/gtest',
  59. '/uriloader',
  60. '/caps',
  61. '/parser',
  62. '/gfx',
  63. '/image',
  64. '/dom',
  65. '/view',
  66. '/widget',
  67. '/editor',
  68. '/layout',
  69. '/docshell',
  70. '/embedding',
  71. '/xpfe/appshell'
  72. ]
  73. if CONFIG['MOZ_UNIVERSALCHARDET']:
  74. DIRS += ['/extensions/universalchardet']
  75. if CONFIG['ACCESSIBILITY']:
  76. DIRS += ['/accessible']
  77. else:
  78. DIRS += ['/accessible/ipc']
  79. # toolkit
  80. DIRS += [
  81. '/tools/power',
  82. '/tools/profiler',
  83. '/tools/memory-profiler',
  84. '/xpfe/components',
  85. ]
  86. if CONFIG['MOZ_ENABLE_XREMOTE']:
  87. DIRS += ['/widget/xremoteclient']
  88. if CONFIG['MOZ_SPELLCHECK']:
  89. DIRS += ['/extensions/spellcheck']
  90. DIRS += [
  91. '/security/manager',
  92. '/toolkit',
  93. ]
  94. if CONFIG['MOZ_PREF_EXTENSIONS']:
  95. DIRS += ['/extensions/pref']
  96. if CONFIG['MOZ_DEVTOOLS_SERVER']:
  97. DIRS += ['/devtools']
  98. DIRS += [
  99. '/services',
  100. '/startupcache',
  101. '/js/ductwork',
  102. '/other-licenses/snappy',
  103. ]
  104. if CONFIG['MOZ_GIO_COMPONENT']:
  105. DIRS += ['/extensions/gio']
  106. DIRS += [
  107. '/toolkit/library/StaticXULComponentsEnd',
  108. '/toolkit/library',
  109. ]
  110. if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  111. DIRS += ['/toolkit/system/gnome']
  112. if CONFIG['ENABLE_MARIONETTE'] or True:
  113. DIRS += [
  114. '/testing/firefox-ui',
  115. '/testing/marionette',
  116. ]
  117. DIRS += [
  118. '/tools/quitter',
  119. ]
  120. if CONFIG['MOZ_EME']:
  121. DIRS += [
  122. '/media/gmp-clearkey/0.1',
  123. ]
  124. if CONFIG['ENABLE_TESTS']:
  125. DIRS += [
  126. '/testing/mochitest',
  127. '/testing/xpcshell',
  128. '/testing/tools/minidumpwriter',
  129. '/testing/tools/screenshot',
  130. '/testing/profiles',
  131. '/testing/mozbase',
  132. '/testing/modules',
  133. '/testing/runtimes',
  134. '/testing/web-platform',
  135. ]
  136. if CONFIG['MOZ_MEMORY']:
  137. DIRS += ['/memory/gtest']
  138. if CONFIG['MOZ_WEBRTC'] and not CONFIG['MOZ_TASK_TRACER']:
  139. DIRS += [
  140. '/media/webrtc/signaling/test',
  141. '/media/mtransport/test',
  142. ]
  143. if CONFIG['FUZZING']:
  144. DIRS += ['/tools/fuzzing']