Makefile 11 KB

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