config 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("var/torbrowser_version") %]'
  3. filename: '[% c("var/project-name") %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  4. container:
  5. use_container: 1
  6. var:
  7. ddmg: '[% INCLUDE ddmg.sh %]'
  8. deps:
  9. - python
  10. - libparallel-forkmanager-perl
  11. - libfile-slurp-perl
  12. - zip
  13. - unzip
  14. - bzip2
  15. - xz-utils
  16. - patch
  17. targets:
  18. linux:
  19. var:
  20. arch_deps:
  21. # Install libc6-i386 to be able to run 32bit mar tools in linux-i686
  22. # builds (bug 29812). We don't need it in x86_64 builds, but we
  23. # share the container to reduce space used.
  24. - libc6-i386
  25. linux-i686:
  26. var:
  27. mar_osname: linux32
  28. linux-x86_64:
  29. var:
  30. mar_osname: linux64
  31. linux-arm64:
  32. var:
  33. arch_deps:
  34. - build-essential
  35. mar_osname: linux-arm64
  36. linux-armhf:
  37. var:
  38. arch_deps:
  39. - build-essential
  40. mar_osname: linux-armhf
  41. macos:
  42. var:
  43. arch_deps:
  44. - genisoimage
  45. - faketime
  46. - python3-dev
  47. - python3-pip
  48. - python3-distutils-extra
  49. - python3-psutil
  50. macos-universal:
  51. var:
  52. mar_osname: macos
  53. macos-aarch64:
  54. var:
  55. mar_osname: macos-aarch64
  56. macos-x86_64:
  57. var:
  58. mar_osname: macos-x86_64
  59. windows:
  60. var:
  61. arch_deps:
  62. - python3-pefile
  63. windows-i686:
  64. var:
  65. mar_osname: win32
  66. windows-x86_64:
  67. var:
  68. mar_osname: win64
  69. android:
  70. build: '[% INCLUDE build.android %]'
  71. var:
  72. verify_allowed_addons: 1
  73. torbrowser:
  74. var:
  75. prefs_file: 000-tor-browser.js
  76. basebrowser:
  77. var:
  78. prefs_file: 001-base-profile.js
  79. input_files:
  80. - project: container-image
  81. - filename: run_scripts
  82. enable: '[% ! c("var/android") %]'
  83. - project: firefox
  84. name: firefox
  85. enable: '[% ! c("var/android") %]'
  86. - project: firefox
  87. name: firefox-aarch64
  88. enable: '[% c("var/macos_universal") %]'
  89. target_prepend:
  90. - macos-aarch64
  91. - project: firefox
  92. name: src-firefox
  93. pkg_type: src-tarballs
  94. enable: '[% c("var/macos") %]'
  95. - project: fenix
  96. name: fenix
  97. enable: '[% c("var/android") %]'
  98. - project: tor-expert-bundle
  99. name: tor-expert-bundle
  100. enable: '[% c("var/tor-browser") %]'
  101. - project: tor-expert-bundle
  102. name: tor-expert-bundle-aarch64
  103. enable: '[% c("var/macos_universal") && c("var/tor-browser") %]'
  104. target_prepend:
  105. - macos-aarch64
  106. - project: fonts
  107. name: fonts
  108. enable: '[% ! c("var/android") %]'
  109. - filename: Bundle-Data
  110. enable: '[% ! c("var/android") %]'
  111. - URL: https://addons.mozilla.org/firefox/downloads/file/4033638/noscript-11.4.13.xpi
  112. name: noscript
  113. sha256sum: 078026ae894fe516ce9e61a1084d1b6dc883cd72c51027de342132141ca7f00d
  114. - filename: 'gtk3-settings.ini'
  115. enable: '[% c("var/linux") %]'
  116. - project: libdmg-hfsplus
  117. name: libdmg
  118. enable: '[% c("var/macos") %]'
  119. - project: nsis
  120. name: nsis
  121. enable: '[% c("var/windows") %]'
  122. - filename: windows-installer
  123. enable: '[% c("var/windows") %]'
  124. - filename: pe_checksum_fix.py
  125. enable: '[% c("var/windows") %]'
  126. # To generate a new keystore, see how-to-generate-keystore.txt
  127. - filename: android-qa.keystore
  128. enable: '[% c("var/android") %]'
  129. - name: '[% c("var/compiler") %]'
  130. project: '[% c("var/compiler") %]'
  131. enable: '[% c("var/android") || c("var/macos") %]'
  132. - name: electrum-nmc
  133. project: electrum-nmc
  134. enable: '[% c("var/namecoin") %]'
  135. - name: ncprop279
  136. project: ncprop279
  137. enable: '[% c("var/namecoin") %]'
  138. - name: stemns
  139. project: stemns
  140. enable: '[% c("var/namecoin") %]'
  141. - filename: namecoin.patch
  142. enable: '[% c("var/namecoin") %]'
  143. - filename: allowed_addons.json
  144. enable: '[% c("var/android") %]'
  145. - filename: verify_allowed_addons.py
  146. enable: '[% c("var/android") && c("var/verify_allowed_addons") %]'
  147. - project: manual
  148. name: manual
  149. enable: '[% ! c("var/android") && c("var/tor-browser") %]'