# 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/. --- task-defaults: description: Make sure the content of .buildconfig.yml matches what gradle knows about its projects always-target: true run-on-repo-type: [hg] run: using: run-task cwd: '{checkout}' worker-type: t-linux-docker-amd worker: artifacts: - type: directory name: public path: '/builds/worker/artifacts' docker-image: {in-tree: lint} max-run-time: 1800 env: GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-online" MOZCONFIG: "/builds/worker/checkouts/gecko/mobile/android/config/mozconfigs/android-arm/nightly-android-lints" ANDROID_SDK_ROOT: "/builds/worker/fetches/android-sdk-linux" platform: lint/opt treeherder: kind: other tier: 1 fetches: toolchain: - linux64-jdk-repack - linux64-node - android-gradle-dependencies - android-sdk-linux - linux64-embedded-uniffi-bindgen - linux64-nimbus-fml use-python: system buildconfig-android-components: optimization: skip-unless-changed: - "mobile/android/android-components/**/build.gradle" - "mobile/android/android-components/.buildconfig.yml" run: command: './mach --log-no-times build pre-export export && ./mach android update-buildconfig --check android-components' treeherder: symbol: buildconfig(AC) buildconfig-focus: optimization: skip-unless-changed: - "mobile/android/android-components/**/build.gradle" # A change in A-C may be reflected in focus - "mobile/android/android-components/.buildconfig.yml" - "mobile/android/focus-android/**/build.gradle" - "mobile/android/focus-android/.buildconfig.yml" run: command: './mach --log-no-times build pre-export export && ./mach android update-buildconfig --check focus' treeherder: symbol: buildconfig(focus) buildconfig-fenix: optimization: skip-unless-changed: - "mobile/android/android-components/**/build.gradle" # A change in A-C may be reflected in fenix - "mobile/android/android-components/.buildconfig.yml" - "mobile/android/fenix/**/build.gradle" - "mobile/android/fenix/.buildconfig.yml" run: command: './mach --log-no-times build pre-export export && ./mach android update-buildconfig --check fenix' treeherder: symbol: buildconfig(fenix)