tor-browser

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

blink_all.star (1792B)


      1 # -*- bazel-starlark -*-
      2 # Copyright 2023 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 configuration for blink scripts."""
      6 
      7 load("@builtin//runtime.star", "runtime")
      8 load("@builtin//struct.star", "module")
      9 load("./platform.star", "platform")
     10 
     11 def __filegroups(ctx):
     12     return {}
     13 
     14 __handlers = {
     15 }
     16 
     17 def __step_config(ctx, step_config):
     18     step_config["rules"].extend([
     19         {
     20             "name": "blink/generate_bindings",
     21             "command_prefix": platform.python_bin + " ../../third_party/blink/renderer/bindings/scripts/generate_bindings.py",
     22             "remote": True,
     23             "timeout": "2m",
     24             "platform_ref": "large",
     25         },
     26     ])
     27 
     28     # TODO: Enable remote actions for Mac and Windows.
     29     if runtime.os == "linux":
     30         step_config["rules"].extend([
     31             {
     32                 "name": "blink/run_with_pythonpath",
     33                 "command_prefix": platform.python_bin + " ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../third_party/pyjson5/src -I ../../tools ../../third_party/blink/renderer/build/scripts/",
     34                 "remote": True,
     35                 "timeout": "2m",
     36                 # crbug.com/372628498:
     37                 # chrome/test/fuzzing/renderer_fuzzing/ipc_fuzzing/generate_testcase.py
     38                 # needs to read the generated .mojom files. But, the inputs are
     39                 # not specified in the build graph correctly.
     40                 "output_local": True,
     41             },
     42         ])
     43     return step_config
     44 
     45 blink_all = module(
     46     "blink_all",
     47     filegroups = __filegroups,
     48     handlers = __handlers,
     49     step_config = __step_config,
     50 )