tor-browser

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

template.star (1144B)


      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 """Template for Siso backend config.
      6 
      7 Copy this to backend.star and edit property values for your backend.
      8 """
      9 
     10 load("@builtin//struct.star", "module")
     11 
     12 def __platform_properties(ctx):
     13     # You can use ctx to access file by ctx.fs etc.
     14     # See https://chromium.googlesource.com/infra/infra/+/refs/heads/main/go/src/infra/build/siso/docs/starlark_config.md#initialization
     15     return {
     16         "default": {
     17             "OSFamily": "Linux",
     18             "container-image": "<container image used by RBE>",
     19             "label:<label_key>": "<label_value>",
     20         },
     21         # Large workers are usually used for Python actions like generate bindings, mojo generators etc
     22         # They can run on Linux workers.
     23         "large": {
     24             "OSFamily": "Linux",
     25             "container-image": "<container image used by RBE>",
     26             "label:<label_key>": "<label_value>",
     27         },
     28     }
     29 
     30 backend = module(
     31     "backend",
     32     platform_properties = __platform_properties,
     33 )