This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
/
android.yml
58 lines (54 loc) · 1.9 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
run:
using: toolchain-script
treeherder:
kind: build
platform: toolchains/opt
tier: 1
linux64-android-sdk-linux-repack:
attributes:
artifact_prefix: mobile/android-sdk
description: "Android SDK (Linux) repack toolchain build"
fetches:
fetch:
- android-sdk
run:
script: repack-android-sdk-linux.sh
resources: []
toolchain-artifact: mobile/android-sdk/android-sdk-linux.tar.xz
toolchain-alias: android-sdk-linux
treeherder:
symbol: TL(android-sdk-linux)
worker:
docker-image: {in-tree: base}
max-run-time: 1800
worker-type: b-android
linux64-android-gradle-dependencies:
description: "Android Gradle dependencies toolchain task"
fetches:
toolchain:
# Aliases aren't allowed for toolchains depending on toolchains.
- linux64-android-sdk-linux-repack
run:
script: android-gradle-dependencies.sh
sparse-profile: null
resources:
- taskcluster/scripts/toolchain/android-gradle-dependencies.sh
- taskcluster/scripts/toolchain/android-gradle-dependencies/**
- buildSrc/src/main/java/Dependencies.kt
- buildSrc/src/main/java/AndroidComponents.kt
toolchain-artifact: public/build/android-gradle-dependencies.tar.xz
toolchain-alias: android-gradle-dependencies
treeherder:
symbol: TL(gradle-dependencies)
worker:
docker-image: {in-tree: android-build}
env:
# TODO do no hardcode
ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux
max-run-time: 14400
worker-type: b-android-large