tor-browser

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

google.star (1317B)


      1 # -*- bazel-starlark -*-
      2 # Copyright 2024 The Chromium Authors
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 """Siso backend config for Google."""
      6 
      7 load("@builtin//struct.star", "module")
      8 
      9 def __platform_properties(ctx):
     10     container_image = "docker://gcr.io/chops-public-images-prod/rbe/siso-chromium/linux@sha256:ef35d347f4a4a2d32b76fd908e66e96f59bf8ba7379fd5626548244c45343b2b"
     11     return {
     12         "default": {
     13             "OSFamily": "Linux",
     14             "container-image": container_image,
     15             "label:action_default": "1",
     16         },
     17         # Large workers are usually used for Python actions like generate bindings, mojo generators etc
     18         # They can run on Linux workers.
     19         "large": {
     20             "OSFamily": "Linux",
     21             "container-image": container_image,
     22             # As of Jul 2023, the action_large pool uses n2-highmem-8 with 200GB of pd-ssd.
     23             # The pool is intended for the following actions.
     24             #  - slow actions that can benefit from multi-cores and/or faster disk I/O. e.g. link, mojo, generate bindings etc.
     25             #  - actions that fail for OOM.
     26             "label:action_large": "1",
     27         },
     28     }
     29 
     30 backend = module(
     31     "backend",
     32     platform_properties = __platform_properties,
     33 )