• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7load("@builtin//struct.star", "module")
8load("./platform.star", "platform")
9
10def __filegroups(ctx):
11    return {}
12
13__handlers = {
14}
15
16__input_deps = {
17}
18
19def __step_config(ctx, step_config):
20    step_config["rules"].extend([
21        {
22            "name": "blink/generate_bindings",
23            "command_prefix": platform.python_bin + " ../../third_party/blink/renderer/bindings/scripts/generate_bindings.py",
24            "remote": True,
25            "platform_ref": "large",
26        },
27    ])
28    return step_config
29
30blink_all = module(
31    "blink_all",
32    filegroups = __filegroups,
33    handlers = __handlers,
34    step_config = __step_config,
35)
36