config 3.6 KB

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