• 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
5load("@rules_proto//proto:defs.bzl", "proto_library")
6load("@io_bazel_rules_go//go:def.bzl", "go_library")
7load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
8
9proto_library(
10    name = "dut_proto",
11    srcs = ["device_stability.proto"],
12    visibility = ["//visibility:public"],
13    deps = ["//chromiumos/test/api:api_proto"],
14)
15
16go_proto_library(
17    name = "dut_go_proto",
18    importpath = "go.chromium.org/chromiumos/config/go/test/dut",
19    proto = ":dut_proto",
20    visibility = ["//visibility:public"],
21    deps = ["//chromiumos/test/api"],
22)
23
24go_library(
25    name = "dut",
26    embed = [":dut_go_proto"],
27    importpath = "go.chromium.org/chromiumos/config/go/test/dut",
28    visibility = ["//visibility:public"],
29)
30