tor-browser

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

kind.yml (21248B)


      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 loader: taskgraph.loader.transform:loader
      6 
      7 kind-dependencies:
      8    - toolchain
      9    - fetch
     10 
     11 transforms:
     12    - gecko_taskgraph.transforms.build:transforms
     13    - gecko_taskgraph.transforms.build_attrs:transforms
     14    - gecko_taskgraph.transforms.build_schedules:transforms
     15    - gecko_taskgraph.transforms.build_lints:transforms
     16    - gecko_taskgraph.transforms.job:transforms
     17    - gecko_taskgraph.transforms.artifact:transforms
     18    - gecko_taskgraph.transforms.task:transforms
     19 
     20 task-defaults:
     21    run-on-repo-type: [hg]
     22    shipping-phase: build
     23    treeherder:
     24        symbol: Bpgo(instr)
     25        tier: 1
     26    worker:
     27        max-run-time: 7200
     28        env:
     29            PERFHERDER_EXTRA_OPTIONS: instrumented
     30            DISABLE_CLANG_PLUGIN: "1"
     31            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
     32    use-python: default
     33    run:
     34        using: mozharness
     35        actions: [get-secrets, build]
     36        script: mozharness/scripts/fx_desktop_build.py
     37        secrets: true
     38    use-sccache:
     39        by-release-level:
     40            production: false
     41            staging: true
     42    fetches:
     43        toolchain:
     44            - linux64-sccache
     45            - terser
     46 
     47 tasks:
     48    linux64-shippable/opt:
     49        description: "Linux64 Instrumented"
     50        index:
     51            product: firefox
     52            job-name: instrumented-linux64
     53        shipping-product: firefox
     54        treeherder:
     55            platform: linux64-shippable/opt
     56        worker-type: b-linux-docker-amd
     57        run:
     58            config:
     59                - builds/releng_base_firefox.py
     60                - builds/releng_base_linux_64_builds.py
     61            mozconfig-variant: profile-generate
     62            tooltool-downloads: public
     63        run-on-projects: ['release']
     64        fetches:
     65            toolchain:
     66                - linux64-clang
     67                - linux64-rust
     68                - linux64-rust-size
     69                - linux64-cbindgen
     70                - linux64-dump_syms
     71                - linux64-nasm
     72                - linux64-node
     73                - linux64-pkgconf
     74                - sysroot-x86_64-linux-gnu
     75                - sysroot-wasm32-wasi
     76 
     77    linux64-aarch64-shippable/opt:
     78        description: "Linux AArch64 (a.k.a. ARM64) Instrumented"
     79        index:
     80            product: firefox
     81            job-name: instrumented-linux64-aarch64
     82        shipping-product: firefox
     83        treeherder:
     84            platform: linux64-aarch64-shippable/opt
     85        worker-type: b-linux-docker-amd
     86        run:
     87            config:
     88                - builds/releng_base_firefox.py
     89                - builds/releng_base_linux_64_builds.py
     90            mozconfig-variant: profile-generate
     91            extra-config:
     92                extra_mozconfig_content:
     93                    - ac_add_options --target=aarch64
     94            tooltool-downloads: public
     95        run-on-projects: ['mozilla-central']
     96        fetches:
     97            toolchain:
     98                - linux64-clang
     99                - linux64-rust
    100                - linux64-rust-size
    101                - linux64-cbindgen
    102                - linux64-dump_syms
    103                - linux64-nasm
    104                - linux64-node
    105                - linux64-pkgconf
    106                - sysroot-aarch64-linux-gnu
    107                - sysroot-x86_64-linux-gnu
    108                - sysroot-wasm32-wasi
    109 
    110    macosx64-shippable/opt:
    111        description: "MacOS X x64 Cross-compile Instrumented"
    112        shipping-phase: build
    113        shipping-product: firefox
    114        treeherder:
    115            platform: osx-shippable/opt
    116        worker-type: b-linux-docker-amd
    117        worker:
    118            max-run-time: 7200
    119            env:
    120                PERFHERDER_EXTRA_OPTIONS: instrumented
    121            artifacts:
    122                - name: public/build/security/{browser_entitlement}.xml
    123                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/{browser_entitlement}.xml
    124                  type: file
    125                - name: public/build/security/media-plugin-helper.xml
    126                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/media-plugin-helper.xml
    127                  type: file
    128                - name: public/build/security/plugin-container.xml
    129                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/plugin-container.xml
    130                  type: file
    131        run:
    132            using: mozharness
    133            actions: [get-secrets, build]
    134            config:
    135                - builds/releng_base_firefox.py
    136                - builds/releng_base_mac_64_cross_builds.py
    137            script: "mozharness/scripts/fx_desktop_build.py"
    138            secrets: true
    139            mozconfig-variant: profile-generate
    140        run-on-projects: ['release']
    141        fetches:
    142            toolchain:
    143                - linux64-clang
    144                - linux64-hfsplus
    145                - linux64-libdmg
    146                - linux64-rust-macos
    147                - linux64-rust-size
    148                - linux64-cbindgen
    149                - linux64-dump_syms
    150                - linux64-nasm
    151                - linux64-node
    152                - macosx64-sdk
    153                - sysroot-x86_64-linux-gnu
    154                - sysroot-wasm32-wasi
    155 
    156    macosx64-aarch64-shippable/opt:
    157        description: "MacOS X aarch64 Cross-compile Instrumented"
    158        shipping-phase: build
    159        shipping-product: firefox
    160        treeherder:
    161            platform: osx-aarch64-shippable/opt
    162        worker-type: b-linux-docker-amd
    163        worker:
    164            max-run-time: 7200
    165            env:
    166                PERFHERDER_EXTRA_OPTIONS: instrumented
    167            artifacts:
    168                - name: public/build/security/{browser_entitlement}.xml
    169                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/{browser_entitlement}.xml
    170                  type: file
    171                - name: public/build/security/media-plugin-helper.xml
    172                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/media-plugin-helper.xml
    173                  type: file
    174                - name: public/build/security/plugin-container.xml
    175                  path: checkouts/gecko/security/mac/hardenedruntime/{entitlement_directory}/plugin-container.xml
    176                  type: file
    177        run:
    178            using: mozharness
    179            actions: [get-secrets, build]
    180            config:
    181                - builds/releng_base_firefox.py
    182                - builds/releng_base_mac_64_cross_builds.py
    183            script: "mozharness/scripts/fx_desktop_build.py"
    184            secrets: true
    185            mozconfig-variant: profile-generate
    186            extra-config:
    187                mozconfig_platform: macosx64-aarch64
    188        run-on-projects: ['release']
    189        fetches:
    190            toolchain:
    191                - linux64-clang
    192                - linux64-hfsplus
    193                - linux64-libdmg
    194                - linux64-rust-macos
    195                - linux64-rust-size
    196                - linux64-cbindgen
    197                - linux64-dump_syms
    198                - linux64-nasm
    199                - linux64-node
    200                - macosx64-sdk
    201                - sysroot-x86_64-linux-gnu
    202                - sysroot-wasm32-wasi
    203 
    204    android-x86_64-shippable/opt:
    205        description: "Android 5.0 x86_64 PGO instrumented"
    206        index:
    207            product: mobile
    208            job-name: instrumented-android-x86_64
    209        shipping-product: fennec
    210        treeherder:
    211            platform: android-5-0-x86_64-shippable/opt
    212        worker-type: b-linux-docker-xlarge-amd
    213        worker:
    214            docker-image: {in-tree: android-build}
    215            env:
    216                GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
    217                TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    218            artifacts:
    219                - name: public/build
    220                  path: /builds/worker/artifacts/
    221                  type: directory
    222                - name: public/build/geckoview-androidTest.apk
    223                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/debug/geckoview-debug-androidTest.apk
    224                  type: file
    225                - name: public/build/geckoview-test_runner.apk
    226                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/apk/debug/test_runner-debug.apk
    227                  type: file
    228                - name: public/build/geckoview-test_runner.aab
    229                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/bundle/debug/test_runner-debug.aab
    230                  type: file
    231                - name: public/build/geckoview_example.apk
    232                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/apk/debug/geckoview_example-debug.apk
    233                  type: file
    234                - name: public/build/geckoview_example.aab
    235                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/bundle/debug/geckoview_example-debug.aab
    236                  type: file
    237        run:
    238            config:
    239                - builds/releng_base_android_64_builds.py
    240            custom-build-variant-cfg: x86_64-profile-generate
    241            tooltool-downloads: internal
    242        run-on-projects: ['release']
    243        fetches:
    244            toolchain:
    245                - android-gradle-dependencies
    246                - android-ndk-linux
    247                - android-sdk-linux
    248                - linux64-embedded-uniffi-bindgen
    249                - linux64-nimbus-fml
    250                - linux64-jdk
    251                - linux64-clang
    252                - linux64-rust-android
    253                - linux64-rust-size
    254                - linux64-cbindgen
    255                - linux64-dump_syms
    256                - linux64-nasm
    257                - linux64-node
    258                - sysroot-x86_64-linux-gnu
    259                - sysroot-wasm32-wasi
    260 
    261    android-aarch64-shippable/opt:
    262        description: "Android 5.0 AArch64 PGO instrumented"
    263        index:
    264            product: mobile
    265            job-name: instrumented-android-aarch64
    266        shipping-product: fennec
    267        treeherder:
    268            platform: android-5-0-aarch64-shippable/opt
    269        worker-type: b-linux-docker-xlarge-amd
    270        worker:
    271            docker-image: {in-tree: android-build}
    272            env:
    273                GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
    274                TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    275            artifacts:
    276                - name: public/build
    277                  path: /builds/worker/artifacts/
    278                  type: directory
    279                - name: public/build/geckoview-androidTest.apk
    280                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/debug/geckoview-debug-androidTest.apk
    281                  type: file
    282                - name: public/build/geckoview-test_runner.apk
    283                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/apk/debug/test_runner-debug.apk
    284                  type: file
    285                - name: public/build/geckoview-test_runner.aab
    286                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/bundle/debug/test_runner-debug.aab
    287                  type: file
    288                - name: public/build/geckoview_example.apk
    289                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/apk/debug/geckoview_example-debug.apk
    290                  type: file
    291                - name: public/build/geckoview_example.aab
    292                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/bundle/debug/geckoview_example-debug.aab
    293                  type: file
    294        run:
    295            config:
    296                - builds/releng_base_android_64_builds.py
    297            custom-build-variant-cfg: aarch64-profile-generate
    298            tooltool-downloads: internal
    299        run-on-projects: ['release']
    300        fetches:
    301            toolchain:
    302                - android-gradle-dependencies
    303                - android-ndk-linux
    304                - android-sdk-linux
    305                - linux64-embedded-uniffi-bindgen
    306                - linux64-nimbus-fml
    307                - linux64-jdk
    308                - linux64-clang
    309                - linux64-rust-android
    310                - linux64-rust-size
    311                - linux64-cbindgen
    312                - linux64-dump_syms
    313                - linux64-nasm
    314                - linux64-node
    315                - sysroot-x86_64-linux-gnu
    316                - sysroot-wasm32-wasi
    317 
    318    android-arm-shippable/opt:
    319        description: "Android 5.0 ARM PGO instrumented"
    320        index:
    321            product: mobile
    322            job-name: instrumented-android-arm
    323        shipping-product: fennec
    324        treeherder:
    325            platform: android-5-0-armv7-shippable/opt
    326        worker-type: b-linux-docker-xlarge-amd
    327        worker:
    328            docker-image: {in-tree: android-build}
    329            env:
    330                GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
    331                TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    332            artifacts:
    333                - name: public/build
    334                  path: /builds/worker/artifacts/
    335                  type: directory
    336                - name: public/build/geckoview-androidTest.apk
    337                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/debug/geckoview-debug-androidTest.apk
    338                  type: file
    339                - name: public/build/geckoview-test_runner.apk
    340                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/apk/debug/test_runner-debug.apk
    341                  type: file
    342                - name: public/build/geckoview-test_runner.aab
    343                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/bundle/debug/test_runner-debug.aab
    344                  type: file
    345                - name: public/build/geckoview_example.apk
    346                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/apk/debug/geckoview_example-debug.apk
    347                  type: file
    348                - name: public/build/geckoview_example.aab
    349                  path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/bundle/debug/geckoview_example-debug.aab
    350                  type: file
    351        run:
    352            config:
    353                - builds/releng_base_android_64_builds.py
    354            custom-build-variant-cfg: arm-profile-generate
    355            tooltool-downloads: internal
    356        run-on-projects: ['release']
    357        fetches:
    358            toolchain:
    359                - android-gradle-dependencies
    360                - android-ndk-linux
    361                - android-sdk-linux
    362                - linux64-embedded-uniffi-bindgen
    363                - linux64-nimbus-fml
    364                - linux64-jdk
    365                - linux64-clang
    366                - linux64-rust-android
    367                - linux64-rust-size
    368                - linux64-cbindgen
    369                - linux64-dump_syms
    370                - linux64-nasm
    371                - linux64-node
    372                - sysroot-x86_64-linux-gnu
    373                - sysroot-wasm32-wasi
    374 
    375    win32-shippable/opt:
    376        description: "Win32 Shippable PGO Instrumented"
    377        index:
    378            product: firefox
    379            job-name: instrumented-win32
    380        shipping-product: firefox
    381        treeherder:
    382            platform: windows2012-32-shippable/opt
    383        worker-type: b-linux-docker-amd
    384        run:
    385            options: [append-env-variables-from-configs]
    386            mozconfig-variant: profile-generate
    387            config:
    388                - builds/releng_base_firefox.py
    389                - builds/releng_base_linux_64_builds.py
    390            extra-config:
    391                stage_platform: win32
    392                mozconfig_platform: win32
    393        run-on-projects: ['release']
    394        fetches:
    395            toolchain:
    396                - linux64-clang
    397                - linux64-rust-cross
    398                - linux64-rust-size
    399                - linux64-nasm
    400                - linux64-node
    401                - linux64-cbindgen
    402                - linux64-dump_syms
    403                - linux64-wine
    404                - linux64-winchecksec
    405                - nsis
    406                - sysroot-x86_64-linux-gnu
    407                - sysroot-wasm32-wasi
    408                - vs
    409                - winappsdk-x86-pc-windows-msvc
    410            fetch:
    411                - upx-3.95-win
    412                - windows-rs
    413 
    414    win64-nightlyasrelease/opt:
    415        description: "Win64 Shippable PGO Instrumented"
    416        index:
    417            product: firefox
    418            job-name: instrumented-nightlyasrelease-win64
    419        shipping-product: firefox
    420        treeherder:
    421            platform: win64-nightlyasrelease/opt
    422        worker-type: b-linux-docker-amd
    423        run:
    424            options: [append-env-variables-from-configs]
    425            mozconfig-variant: profile-generate
    426            config:
    427                - builds/releng_base_firefox.py
    428                - builds/releng_base_linux_64_builds.py
    429            extra-config:
    430                stage_platform: win64
    431                mozconfig_platform: win64
    432                extra_mozconfig_content:
    433                    - ac_add_options --as-milestone=release
    434        run-on-projects: [trunk-only]
    435        fetches:
    436            toolchain:
    437                - linux64-clang
    438                - linux64-rust-cross
    439                - linux64-rust-size
    440                - linux64-nasm
    441                - linux64-node
    442                - linux64-cbindgen
    443                - linux64-dump_syms
    444                - linux64-wine
    445                - linux64-winchecksec
    446                - nsis
    447                - sysroot-x86_64-linux-gnu
    448                - sysroot-wasm32-wasi
    449                - vs
    450                - dxc-x86_64-pc-windows-msvc
    451                - winappsdk-x86_64-pc-windows-msvc
    452            fetch:
    453                - upx-3.95-win
    454                - windows-rs
    455 
    456    win64-shippable/opt:
    457        description: "Win64 Shippable PGO Instrumented"
    458        index:
    459            product: firefox
    460            job-name: instrumented-win64
    461        shipping-product: firefox
    462        treeherder:
    463            platform: windows2012-64-shippable/opt
    464        worker-type: b-linux-docker-amd
    465        run:
    466            options: [append-env-variables-from-configs]
    467            mozconfig-variant: profile-generate
    468            config:
    469                - builds/releng_base_firefox.py
    470                - builds/releng_base_linux_64_builds.py
    471            extra-config:
    472                stage_platform: win64
    473                mozconfig_platform: win64
    474        run-on-projects: ['release']
    475        fetches:
    476            toolchain:
    477                - linux64-clang
    478                - linux64-rust-cross
    479                - linux64-rust-size
    480                - linux64-nasm
    481                - linux64-node
    482                - linux64-cbindgen
    483                - linux64-dump_syms
    484                - linux64-wine
    485                - linux64-winchecksec
    486                - nsis
    487                - sysroot-x86_64-linux-gnu
    488                - sysroot-wasm32-wasi
    489                - vs
    490                - dxc-x86_64-pc-windows-msvc
    491                - winappsdk-x86_64-pc-windows-msvc
    492            fetch:
    493                - upx-3.95-win
    494                - windows-rs
    495 
    496    win64-aarch64-shippable/opt:
    497        description: "Win64 AArch64 Shippable PGO Instrumented"
    498        index:
    499            product: firefox
    500            job-name: instrumented-win64-aarch64
    501        shipping-product: firefox
    502        treeherder:
    503            platform: windows2012-aarch64-shippable/opt
    504        worker-type: b-linux-docker-amd
    505        run:
    506            options: [append-env-variables-from-configs]
    507            mozconfig-variant: profile-generate
    508            config:
    509                - builds/releng_base_firefox.py
    510                - builds/releng_base_linux_64_builds.py
    511            extra-config:
    512                stage_platform: win64-aarch64
    513                mozconfig_platform: win64-aarch64
    514        run-on-projects: ['release']
    515        fetches:
    516            toolchain:
    517                - linux64-clang
    518                - linux64-rust-cross
    519                - linux64-rust-size
    520                - linux64-nasm
    521                - linux64-node
    522                - linux64-cbindgen
    523                - linux64-dump_syms
    524                - linux64-wine
    525                - linux64-winchecksec
    526                - nsis
    527                - sysroot-x86_64-linux-gnu
    528                - sysroot-wasm32-wasi
    529                - vs
    530                - dxc-aarch64-pc-windows-msvc
    531                - winappsdk-aarch64-pc-windows-msvc
    532            fetch:
    533                - upx-3.95-win
    534                - windows-rs