• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2023 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Loads proto descriptors of go.chromium.org/chromiumos/infra/proto protos into
6# lucicfg proto registry, so protos defines there can be imported as
7# load("@proto//...").
8
9"""Proto descriptor import"""
10
11lucicfg.check_version("1.8.6", "Please update depot_tools")
12
13load("@stdlib//internal/descpb.star", "wellknown_descpb")
14
15chromiumos_descpb = proto.new_descriptor_set(
16    name = "chromiumos",
17    blob = io.read_file("descpb.bin"),
18    deps = [wellknown_descpb],
19)
20