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 = "tnull_proto", 11 srcs = ["tnull.proto"], 12 visibility = ["//visibility:public"], 13 deps = [ 14 "//chromiumos/config/api/test/results/v2:results_proto", 15 "//chromiumos/config/api/test/rtd/v1:rtd_proto", 16 ], 17) 18 19go_proto_library( 20 name = "tnull_go_proto", 21 importpath = "go.chromium.org/chromiumos/config/go/api/test/tnull/v1", 22 proto = ":tnull_proto", 23 visibility = ["//visibility:public"], 24 deps = [ 25 "//chromiumos/config/api/test/results/v2:results", 26 "//chromiumos/config/api/test/rtd/v1:rtd", 27 ], 28) 29 30go_library( 31 name = "tnull", 32 embed = [":tnull_go_proto"], 33 importpath = "go.chromium.org/chromiumos/config/go/api/test/tnull/v1", 34 visibility = ["//visibility:public"], 35) 36