tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

buildconfig.yml (3014B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 task-defaults:
      6    description: Make sure the content of .buildconfig.yml matches what gradle knows about its projects
      7    always-target: true
      8    run-on-repo-type: [hg]
      9    run:
     10        using: run-task
     11        cwd: '{checkout}'
     12    worker-type: t-linux-docker-amd
     13    worker:
     14        artifacts:
     15            - type: directory
     16              name: public
     17              path: '/builds/worker/artifacts'
     18        docker-image: {in-tree: lint}
     19        max-run-time: 1800
     20        env:
     21            GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-online"
     22            MOZCONFIG: "/builds/worker/checkouts/gecko/mobile/android/config/mozconfigs/android-arm/nightly-android-lints"
     23            ANDROID_SDK_ROOT: "/builds/worker/fetches/android-sdk-linux"
     24    platform: lint/opt
     25    treeherder:
     26        kind: other
     27        tier: 1
     28    fetches:
     29        toolchain:
     30            - linux64-jdk-repack
     31            - linux64-node
     32            - android-gradle-dependencies
     33            - android-sdk-linux
     34            - linux64-embedded-uniffi-bindgen
     35            - linux64-nimbus-fml
     36    use-python: system
     37 
     38 
     39 buildconfig-android-components:
     40    optimization:
     41        skip-unless-changed:
     42            - "mobile/android/android-components/**/build.gradle"
     43            - "mobile/android/android-components/.buildconfig.yml"
     44    run:
     45        command: './mach --log-no-times build pre-export export && ./mach python --virtualenv buildconfig taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py mobile/android/android-components'
     46    treeherder:
     47        symbol: buildconfig(AC)
     48 
     49 buildconfig-focus:
     50    optimization:
     51        skip-unless-changed:
     52            - "mobile/android/android-components/**/build.gradle"   # A change in A-C may be reflected in focus
     53            - "mobile/android/android-components/.buildconfig.yml"
     54            - "mobile/android/focus-android/**/build.gradle"
     55            - "mobile/android/focus-android/.buildconfig.yml"
     56    run:
     57        command: './mach --log-no-times build pre-export export && ./mach python --virtualenv buildconfig taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py mobile/android/focus-android'
     58    treeherder:
     59        symbol: buildconfig(focus)
     60 
     61 buildconfig-fenix:
     62    optimization:
     63        skip-unless-changed:
     64            - "mobile/android/android-components/**/build.gradle"   # A change in A-C may be reflected in fenix
     65            - "mobile/android/android-components/.buildconfig.yml"
     66            - "mobile/android/fenix/**/build.gradle"
     67            - "mobile/android/fenix/.buildconfig.yml"
     68    run:
     69        command: './mach --log-no-times build pre-export export && ./mach python --virtualenv buildconfig taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py mobile/android/fenix'
     70    treeherder:
     71        symbol: buildconfig(fenix)