123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- # vim: filetype=yaml sw=2
- filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
- # Remember to update the Cargo vendor archive, when updating
- version: 93.1.0
- git_hash: ae2bb5ae89f9818230bbc003819fc7b9775aae26
- git_url: https://github.com/mozilla/application-services
- git_submodule: 1
- container:
- use_container: 1
- var:
- # This should be updated when the list of gradle dependencies is changed.
- gradle_dependencies_version: 9
- gradle_version: 6.7.1
- glean_parser: 4.0.0
- input_files:
- - project: container-image
- pkg_type: build
- - project: '[% c("var/compiler") %]'
- name: '[% c("var/compiler") %]'
- pkg_type: build
- - project: gradle
- name: gradle
- pkg_type: build
- - project: rust
- name: rust
- pkg_type: build
- - project: uniffi-rs
- name: uniffi-rs
- pkg_type: build
- - project: nss
- name: nss-armv7
- pkg_type: build
- target_prepend:
- - android-armv7
- - project: nss
- name: nss-aarch64
- pkg_type: build
- target_prepend:
- - android-aarch64
- - project: nss
- name: nss-x86
- pkg_type: build
- target_prepend:
- - android-x86
- - project: nss
- name: nss-x86_64
- pkg_type: build
- target_prepend:
- - android-x86_64
- - project: nss
- name: nss-linux-x86_64
- pkg_type: build
- target_prepend:
- - nss-linux-x86_64
- - project: sqlcipher
- name: sqlcipher-armv7
- pkg_type: build
- target_prepend:
- - android-armv7
- - project: sqlcipher
- name: sqlcipher-aarch64
- pkg_type: build
- target_prepend:
- - android-aarch64
- - project: sqlcipher
- name: sqlcipher-x86
- pkg_type: build
- target_prepend:
- - android-x86
- - project: sqlcipher
- name: sqlcipher-x86_64
- pkg_type: build
- target_prepend:
- - android-x86_64
- - project: sqlcipher
- name: sqlcipher-linux-x86_64
- pkg_type: build
- target_prepend:
- - sqlcipher-linux-x86_64
- - nss-linux-x86_64
- - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
- name: gradle-dependencies
- exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
- enable: '[% !c("var/fetch_gradle_dependencies") %]'
- - URL: '[% pc("glean", "var/glean_wheels_url/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
- name: glean-wheels
- sha256sum: '[% pc("glean", "var/glean_wheels_sha256sum/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
- enable: '[% !c("var/fetch_gradle_dependencies") %]'
- # Use `make cargo_vendor-application-services` to re-generate the vendor tarball
- - name: cargo_vendor
- URL: https://people.torproject.org/~pierov/mirrors/sources/application-services-vendor-[% c('version') %].tar.xz
- sha256sum: cc426afe8cc3602f223213a93d3c1dffc156793b68b9c8a89f41715068d533fb
- - filename: no-git.patch
- - filename: mavenLocal.patch
- enable: '[% !c("var/fetch_gradle_dependencies") %]'
- - filename: gen_gradle_deps_file.sh
- enable: '[% c("var/fetch_gradle_dependencies") %]'
- # Delete when this patch is included upstream
- - filename: bug40485.patch
- steps:
- list_toolchain_updates:
- git_hash: 'v[% c("version") %]'
- input_files: []
- container:
- use_container: 0
- var:
- get_android_components_version: |
- #!/bin/bash
- read -d '' p << 'EOF' || true
- if (m/^\\s*android_components_version\\s=\\s'([^']*)'/) {
- print $1;
- exit;
- }
- EOF
- perl -ne "$p" < build.gradle
- android_components_version: '[% exec(c("var/get_android_components_version")) %]'
- glean_version: '[% pc("android-components", "var/glean_version", { git_hash => "v" _ c("var/android_components_version") }) %]'
- input_files:
- - name: glean
- project: glean
- pkg_type: src
- get_gradle_dependencies_list:
- filename: 'gradle-dependencies-list-[% c("version") %].txt'
- get_gradle_dependencies_list: '[% INCLUDE build %]'
- var:
- fetch_gradle_dependencies: 1
- cargo_vendor:
- filename: '[% project %]-vendor-[% c("version") %].tar.xz'
- input_files:
- - project: container-image
- pkg_type: build
- - project: rust
- name: rust
- pkg_type: build
|