config 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  3. version: 85.4.0
  4. git_hash: b9601a76c7d47aa54c60b81c783571630d4962bf
  5. git_url: https://github.com/mozilla/application-services
  6. git_submodule: 1
  7. var:
  8. container:
  9. use_container: 1
  10. # This should be updated when the list of gradle dependencies is changed.
  11. gradle_dependencies_version: 7
  12. gradle_version: 6.7.1
  13. glean_parser: 3.4.0
  14. arch_deps:
  15. - python3-venv
  16. input_files:
  17. - project: container-image
  18. pkg_type: build
  19. - project: '[% c("var/compiler") %]'
  20. name: '[% c("var/compiler") %]'
  21. pkg_type: build
  22. - project: gradle
  23. name: gradle
  24. pkg_type: build
  25. - project: rust
  26. name: rust
  27. pkg_type: build
  28. - project: uniffi-rs
  29. name: uniffi-rs
  30. pkg_type: build
  31. - project: nss
  32. name: nss-armv7
  33. pkg_type: build
  34. target_prepend:
  35. - android-armv7
  36. - project: nss
  37. name: nss-aarch64
  38. pkg_type: build
  39. target_prepend:
  40. - android-aarch64
  41. - project: nss
  42. name: nss-x86
  43. pkg_type: build
  44. target_prepend:
  45. - android-x86
  46. - project: nss
  47. name: nss-x86_64
  48. pkg_type: build
  49. target_prepend:
  50. - android-x86_64
  51. - project: nss
  52. name: nss-linux-x86_64
  53. pkg_type: build
  54. target_prepend:
  55. - nss-linux-x86_64
  56. - project: sqlcipher
  57. name: sqlcipher-armv7
  58. pkg_type: build
  59. target_prepend:
  60. - android-armv7
  61. - project: sqlcipher
  62. name: sqlcipher-aarch64
  63. pkg_type: build
  64. target_prepend:
  65. - android-aarch64
  66. - project: sqlcipher
  67. name: sqlcipher-x86
  68. pkg_type: build
  69. target_prepend:
  70. - android-x86
  71. - project: sqlcipher
  72. name: sqlcipher-x86_64
  73. pkg_type: build
  74. target_prepend:
  75. - android-x86_64
  76. - project: sqlcipher
  77. name: sqlcipher-linux-x86_64
  78. pkg_type: build
  79. target_prepend:
  80. - sqlcipher-linux-x86_64
  81. - nss-linux-x86_64
  82. - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
  83. name: gradle-dependencies
  84. exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  85. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  86. - URL: '[% pc("glean", "var/glean_wheels_url/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  87. name: glean-wheels
  88. sha256sum: '[% pc("glean", "var/glean_wheels_sha256sum/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  89. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  90. # Use `make cargo_vendor-application-services` to re-generate the vendor tarball
  91. - URL: https://people.torproject.org/~boklm/mirrors/sources/application-services-vendor-[% c('version') %].tar.bz2
  92. sha256sum: 54f9c8185789ab45cd46e9845a71181c5e7938e26b1b33b3f2f891f0b5cf73b6
  93. - filename: no-git.patch
  94. - filename: mavenLocal.patch
  95. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  96. - filename: gen_gradle_deps_file.sh
  97. enable: '[% c("var/fetch_gradle_dependencies") %]'
  98. steps:
  99. list_toolchain_updates:
  100. git_hash: 'v85.4.0'
  101. input_files: []
  102. var:
  103. container:
  104. use_container: 0
  105. get_android_components_version: |
  106. #!/bin/bash
  107. read -d '' p << 'EOF' || true
  108. if (m/^\\s*android_components_version\\s=\\s'([^']*)'/) {
  109. print $1;
  110. exit;
  111. }
  112. EOF
  113. perl -ne "$p" < build.gradle
  114. android_components_version: '[% exec(c("var/get_android_components_version")) %]'
  115. glean_version: '[% pc("android-components", "var/glean_version", { git_hash => "v" _ c("var/android_components_version") }) %]'
  116. input_files:
  117. - name: glean
  118. project: glean
  119. pkg_type: src
  120. get_gradle_dependencies_list:
  121. filename: 'gradle-dependencies-list-[% c("version") %].txt'
  122. get_gradle_dependencies_list: '[% INCLUDE build %]'
  123. var:
  124. fetch_gradle_dependencies: 1
  125. cargo_vendor:
  126. filename: '[% project %]-vendor-[% c("version") %].tar.bz2'
  127. input_files:
  128. - project: container-image
  129. pkg_type: build