2020-04-01 16:29:35 +00:00
|
|
|
# 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)
|
2020-05-13 16:36:48 +00:00
|
|
|
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:
|
2021-07-30 09:29:30 +00:00
|
|
|
- build.gradle
|
2020-05-13 16:36:48 +00:00
|
|
|
- taskcluster/scripts/toolchain/android-gradle-dependencies.sh
|
|
|
|
- taskcluster/scripts/toolchain/android-gradle-dependencies/**
|
|
|
|
- buildSrc/src/main/java/Dependencies.kt
|
2020-05-25 14:43:01 +00:00
|
|
|
- buildSrc/src/main/java/AndroidComponents.kt
|
2020-05-13 16:36:48 +00:00
|
|
|
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
|
2020-11-28 19:02:41 +00:00
|
|
|
artifacts:
|
|
|
|
- type: directory
|
|
|
|
name: public/logs/nexus
|
|
|
|
path: /opt/sonatype/nexus/logs
|
2021-10-22 14:41:46 +00:00
|
|
|
worker-type: b-android-xlarge
|