1 # Copyright 2020 The Pigweed Authors
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
7 # https://www.apache.org/licenses/LICENSE-2.0
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
16 "//pw_build:pigweed.bzl",
20 package(default_visibility = ["//visibility:public"])
22 licenses(["notice"]) # Apache License 2.0
29 "public/pw_hdlc/internal/encoder.h",
30 "pw_hdlc_private/protocol.h",
34 "public/pw_hdlc/decoder.h",
35 "public/pw_hdlc/encoder.h",
37 includes = ["public"],
50 name = "rpc_channel_output",
51 hdrs = ["public/pw_hdlc/rpc_channel.h"],
52 includes = ["public"],
61 srcs = ["rpc_packets.cc"],
62 hdrs = ["public/pw_hdlc/rpc_packets.h"],
63 includes = ["public"],
71 name = "packet_parser",
72 srcs = ["wire_packet_parser.cc"],
73 hdrs = ["public/pw_hdlc/wire_packet_parser.h"],
74 includes = ["public"],
80 "//pw_router:packet_parser",
85 name = "encoder_test",
86 srcs = ["encoder_test.cc"],
95 name = "decoder_test",
96 srcs = ["decoder_test.cc"],
106 name = "wire_packet_parser_test",
107 srcs = ["wire_packet_parser_test.cc"],
115 name = "rpc_channel_test",
116 srcs = ["rpc_channel_test.cc"],