Makefile 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. rbm=./rbm/rbm
  2. all: release
  3. release: submodule-update
  4. $(rbm) build release --target release --target torbrowser-all
  5. release-android: submodule-update
  6. $(rbm) build release --target release --target torbrowser-all-android
  7. release-android-armv7: submodule-update
  8. $(rbm) build release --target release --target torbrowser-android-armv7
  9. release-android-x86: submodule-update
  10. $(rbm) build release --target release --target torbrowser-android-x86
  11. release-android-x86_64: submodule-update
  12. $(rbm) build release --target release --target torbrowser-android-x86_64
  13. release-android-aarch64: submodule-update
  14. $(rbm) build release --target release --target torbrowser-android-aarch64
  15. release-desktop: submodule-update
  16. $(rbm) build release --target release --target torbrowser-all-desktop
  17. release-linux-x86_64: submodule-update
  18. $(rbm) build release --target release --target torbrowser-linux-x86_64
  19. release-linux-x86_64-asan: submodule-update
  20. $(rbm) build release --target release --target torbrowser-linux-x86_64-asan
  21. release-linux-i686: submodule-update
  22. $(rbm) build release --target release --target torbrowser-linux-i686
  23. release-linux-arm: submodule-update
  24. $(rbm) build release --target release --target torbrowser-linux-arm
  25. release-linux-ppc64le: submodule-update
  26. $(rbm) build release --target release --target torbrowser-linux-ppc64le
  27. release-windows-i686: submodule-update
  28. $(rbm) build release --target release --target torbrowser-windows-i686
  29. release-windows-x86_64: submodule-update
  30. $(rbm) build release --target release --target torbrowser-windows-x86_64
  31. release-osx-x86_64: submodule-update
  32. $(rbm) build release --target release --target torbrowser-osx-x86_64
  33. release-src: submodule-update
  34. $(rbm) build release --target release --target torbrowser-src
  35. alpha: submodule-update
  36. $(rbm) build release --target alpha --target torbrowser-all
  37. alpha-android: submodule-update
  38. $(rbm) build release --target alpha --target torbrowser-all-android
  39. alpha-android-armv7: submodule-update
  40. $(rbm) build release --target alpha --target torbrowser-android-armv7
  41. alpha-android-x86: submodule-update
  42. $(rbm) build release --target alpha --target torbrowser-android-x86
  43. alpha-android-x86_64: submodule-update
  44. $(rbm) build release --target alpha --target torbrowser-android-x86_64
  45. alpha-android-aarch64: submodule-update
  46. $(rbm) build release --target alpha --target torbrowser-android-aarch64
  47. alpha-desktop: submodule-update
  48. $(rbm) build release --target alpha --target torbrowser-all-desktop
  49. alpha-linux-x86_64: submodule-update
  50. $(rbm) build release --target alpha --target torbrowser-linux-x86_64
  51. alpha-linux-x86_64-asan: submodule-update
  52. $(rbm) build release --target alpha --target torbrowser-linux-x86_64-asan
  53. alpha-linux-i686: submodule-update
  54. $(rbm) build release --target alpha --target torbrowser-linux-i686
  55. alpha-linux-arm: submodule-update
  56. $(rbm) build release --target alpha --target torbrowser-linux-arm
  57. alpha-linux-ppc64le: submodule-update
  58. $(rbm) build release --target alpha --target torbrowser-linux-ppc64le
  59. alpha-windows-i686: submodule-update
  60. $(rbm) build release --target alpha --target torbrowser-windows-i686
  61. alpha-windows-x86_64: submodule-update
  62. $(rbm) build release --target alpha --target torbrowser-windows-x86_64
  63. alpha-osx-x86_64: submodule-update
  64. $(rbm) build release --target alpha --target torbrowser-osx-x86_64
  65. alpha-src: submodule-update
  66. $(rbm) build release --target alpha --target torbrowser-src
  67. nightly: submodule-update
  68. $(rbm) build release --target nightly --target torbrowser-all
  69. nightly-android: submodule-update
  70. $(rbm) build release --target nightly --target torbrowser-all-android
  71. nightly-android-armv7: submodule-update
  72. $(rbm) build release --target nightly --target torbrowser-android-armv7
  73. nightly-android-x86: submodule-update
  74. $(rbm) build release --target nightly --target torbrowser-android-x86
  75. nightly-android-x86_64: submodule-update
  76. $(rbm) build release --target nightly --target torbrowser-android-x86_64
  77. nightly-android-aarch64: submodule-update
  78. $(rbm) build release --target nightly --target torbrowser-android-aarch64
  79. nightly-desktop: submodule-update
  80. $(rbm) build release --target nightly --target torbrowser-all-desktop
  81. nightly-linux-x86_64: submodule-update
  82. $(rbm) build release --target nightly --target torbrowser-linux-x86_64
  83. nightly-linux-x86_64-asan: submodule-update
  84. $(rbm) build release --target nightly --target torbrowser-linux-x86_64-asan
  85. nightly-linux-i686: submodule-update
  86. $(rbm) build release --target nightly --target torbrowser-linux-i686
  87. nightly-linux-arm: submodule-update
  88. $(rbm) build release --target nightly --target torbrowser-linux-arm
  89. nightly-linux-ppc64le: submodule-update
  90. $(rbm) build release --target nightly --target torbrowser-linux-ppc64le
  91. nightly-windows-i686: submodule-update
  92. $(rbm) build release --target nightly --target torbrowser-windows-i686
  93. nightly-windows-x86_64: submodule-update
  94. $(rbm) build release --target nightly --target torbrowser-windows-x86_64
  95. nightly-osx-x86_64: submodule-update
  96. $(rbm) build release --target nightly --target torbrowser-osx-x86_64
  97. nightly-src: submodule-update
  98. $(rbm) build release --target nightly --target torbrowser-src
  99. testbuild: submodule-update
  100. $(rbm) build release --target testbuild --target torbrowser-all
  101. testbuild-android: submodule-update
  102. $(rbm) build release --target testbuild --target torbrowser-all-android
  103. testbuild-android-armv7: submodule-update
  104. $(rbm) build release --target testbuild --target torbrowser-android-armv7
  105. testbuild-android-x86: submodule-update
  106. $(rbm) build release --target testbuild --target torbrowser-android-x86
  107. testbuild-android-x86_64: submodule-update
  108. $(rbm) build release --target testbuild --target torbrowser-android-x86_64
  109. testbuild-android-aarch64: submodule-update
  110. $(rbm) build release --target testbuild --target torbrowser-android-aarch64
  111. testbuild-desktop: submodule-update
  112. $(rbm) build release --target testbuild --target torbrowser-all-desktop
  113. testbuild-linux-x86_64: submodule-update
  114. $(rbm) build release --target testbuild --target torbrowser-linux-x86_64
  115. testbuild-linux-x86_64-asan: submodule-update
  116. $(rbm) build release --target testbuild --target torbrowser-linux-x86_64-asan
  117. testbuild-linux-i686: submodule-update
  118. $(rbm) build release --target testbuild --target torbrowser-linux-i686
  119. testbuild-linux-arm: submodule-update
  120. $(rbm) build release --target testbuild --target torbrowser-linux-arm
  121. testbuild-linux-ppc64le: submodule-update
  122. $(rbm) build release --target testbuild --target torbrowser-linux-ppc64le
  123. testbuild-windows-x86_64: submodule-update
  124. $(rbm) build release --target testbuild --target torbrowser-windows-x86_64
  125. testbuild-windows-i686: submodule-update
  126. $(rbm) build release --target testbuild --target torbrowser-windows-i686
  127. testbuild-osx-x86_64: submodule-update
  128. $(rbm) build release --target testbuild --target torbrowser-osx-x86_64
  129. testbuild-src: submodule-update
  130. $(rbm) build release --target testbuild --target torbrowser-src-testbuild
  131. signtag-release: submodule-update
  132. $(rbm) build release --step signtag --target release
  133. signtag-alpha: submodule-update
  134. $(rbm) build release --step signtag --target alpha
  135. incrementals-release: submodule-update
  136. $(rbm) build release --step update_responses_config --target release --target create_unsigned_incrementals
  137. tools/update-responses/download_missing_versions release
  138. tools/update-responses/gen_incrementals release
  139. $(rbm) build release --step hash_incrementals --target release
  140. incrementals-alpha: submodule-update
  141. $(rbm) build release --step update_responses_config --target alpha --target create_unsigned_incrementals
  142. tools/update-responses/download_missing_versions alpha
  143. tools/update-responses/gen_incrementals alpha
  144. $(rbm) build release --step hash_incrementals --target alpha
  145. incrementals-nightly: submodule-update
  146. $(rbm) build release --step update_responses_config --target nightly
  147. NO_CODESIGNATURE=1 tools/update-responses/gen_incrementals nightly
  148. $(rbm) build release --step hash_incrementals --target nightly
  149. update_responses-release: submodule-update
  150. $(rbm) build release --step update_responses_config --target release --target signed
  151. $(rbm) build release --step create_update_responses_tar --target release --target signed
  152. update_responses-alpha: submodule-update
  153. $(rbm) build release --step update_responses_config --target alpha --target signed
  154. $(rbm) build release --step create_update_responses_tar --target alpha --target signed
  155. dmg2mar-release: submodule-update
  156. $(rbm) build release --step update_responses_config --target release --target signed
  157. $(rbm) build release --step dmg2mar --target release --target signed
  158. tools/update-responses/download_missing_versions release
  159. CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals release
  160. dmg2mar-alpha: submodule-update
  161. $(rbm) build release --step update_responses_config --target alpha --target signed
  162. $(rbm) build release --step dmg2mar --target alpha --target signed
  163. tools/update-responses/download_missing_versions alpha
  164. CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals alpha
  165. list_toolchain_updates-fenix: submodule-update
  166. $(rbm) build fenix --step list_toolchain_updates --target nightly --target torbrowser-android-armv7
  167. list_toolchain_updates-firefox-linux: submodule-update
  168. $(rbm) build firefox --step list_toolchain_updates --target nightly --target torbrowser-linux-x86_64
  169. list_toolchain_updates-firefox-windows: submodule-update
  170. $(rbm) build firefox --step list_toolchain_updates --target nightly --target torbrowser-windows-x86_64
  171. list_toolchain_updates-firefox-macos: submodule-update
  172. $(rbm) build firefox --step list_toolchain_updates --target nightly --target torbrowser-osx-x86_64
  173. list_toolchain_updates-android-components: submodule-update
  174. $(rbm) build android-components --step list_toolchain_updates --target nightly --target torbrowser-android-armv7
  175. list_toolchain_updates-application-services: submodule-update
  176. $(rbm) build application-services --step list_toolchain_updates --target nightly --target torbrowser-android-armv7
  177. list_toolchain_updates-geckoview: submodule-update
  178. $(rbm) build geckoview --step list_toolchain_updates --target nightly --target torbrowser-android-armv7
  179. create_glean_deps_tarball: submodule-update
  180. $(rbm) build glean --step create_glean_deps_tarball --target alpha --target torbrowser-android-armv7
  181. create_glean_deps_tarball-with_torsocks: submodule-update
  182. $(rbm) build glean --step create_glean_deps_tarball --target alpha --target torbrowser-android-armv7 --target with_torsocks
  183. get_gradle_dependencies_list-fenix: submodule-update
  184. $(rbm) build fenix --step get_gradle_dependencies_list --target nightly --target torbrowser-android-armv7
  185. get_gradle_dependencies_list-application-services: submodule-update
  186. $(rbm) build application-services --step get_gradle_dependencies_list --target nightly --target torbrowser-android-armv7
  187. get_gradle_dependencies_list-android-components: submodule-update
  188. $(rbm) build android-components --step get_gradle_dependencies_list --target nightly --target torbrowser-android-armv7
  189. cargo_vendor-application-services: submodule-update
  190. $(rbm) build application-services --step cargo_vendor --target nightly
  191. cargo_vendor-cbindgen-android: submodule-update
  192. $(rbm) build cbindgen --step cargo_vendor --target nightly --target android
  193. cargo_vendor-cbindgen: submodule-update
  194. $(rbm) build cbindgen --step cargo_vendor --target nightly
  195. cargo_vendor-lucetc: submodule-update
  196. $(rbm) build lucetc --step cargo_vendor --target nightly
  197. cargo_vendor-uniffi-rs: submodule-update
  198. $(rbm) build uniffi-rs --step cargo_vendor --target nightly
  199. submodule-update:
  200. git submodule update --init
  201. fetch: submodule-update
  202. $(rbm) fetch
  203. clean: submodule-update
  204. ./tools/clean-old
  205. clean-dry-run: submodule-update
  206. ./tools/clean-old --dry-run