1# Copyright 2024 The Pigweed Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); you may not 4# use this file except in compliance with the License. You may obtain a copy of 5# the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12# License for the specific language governing permissions and limitations under 13# the License. 14 15load("@io_bazel_rules_go//proto:def.bzl", "go_grpc_library", "go_proto_library") 16load("@rules_proto//proto:defs.bzl", "proto_library") 17load("//pw_build:compatibility.bzl", "incompatible_with_mcu") 18 19package(default_visibility = ["//visibility:public"]) 20 21proto_library( 22 name = "protos", 23 srcs = ["pw_target_runner_protos/target_runner.proto"], 24) 25 26go_grpc_library( 27 name = "go_protos", 28 importpath = "pigweed/proto/pw_target_runner/target_runner_pb", 29 proto = ":protos", 30 target_compatible_with = incompatible_with_mcu(), 31) 32 33proto_library( 34 name = "exec_server_config_protos", 35 srcs = ["pw_target_runner_server_protos/exec_server_config.proto"], 36) 37 38go_proto_library( 39 name = "go_exec_server_config_protos", 40 importpath = "pigweed/proto/pw_target_runner/exec_server_config_pb", 41 proto = ":exec_server_config_protos", 42 target_compatible_with = incompatible_with_mcu(), 43) 44