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
25 name = "pw_hdlc_lite",
29 "pw_hdlc_lite_private/protocol.h",
33 "public/pw_hdlc_lite/decoder.h",
34 "public/pw_hdlc_lite/encoder.h",
35 "public/pw_hdlc_lite/sys_io_stream.h",
37 includes = ["public"],
51 srcs = ["rpc_packets.cc"],
53 "public/pw_hdlc_lite/rpc_channel.h",
54 "public/pw_hdlc_lite/rpc_packets.h",
56 includes = ["public"],
64 name = "encoder_test",
65 srcs = ["encoder_test.cc"],
74 name = "decoder_test",
75 srcs = ["decoder_test.cc"],
85 name = "rpc_channel_test",
86 srcs = ["rpc_channel_test.cc"],