blob: c0fa09a1032738e03a63d59412a462f55f3aa2d1 [file] [log] [blame]
Wyatt Hepler1e636732021-06-14 18:30:13 -07001# Copyright 2020 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
15include($ENV{PW_ROOT}/pw_build/pigweed.cmake)
Alexei Frolovf93cb262021-07-14 16:05:15 -070016include($ENV{PW_ROOT}/pw_protobuf_compiler/proto.cmake)
Wyatt Hepler1e636732021-06-14 18:30:13 -070017
Wyatt Hepler22530402021-07-30 23:40:40 -070018pw_add_module_library(pw_transfer
Wyatt Hepler1e636732021-06-14 18:30:13 -070019 PUBLIC_DEPS
20 pw_assert
Alexei Frolovf93cb262021-07-14 16:05:15 -070021 pw_bytes
Wyatt Hepler1e636732021-06-14 18:30:13 -070022 pw_containers
Alexei Frolovf93cb262021-07-14 16:05:15 -070023 pw_result
Wyatt Hepler1e636732021-06-14 18:30:13 -070024 pw_status
25 pw_stream
Alexei Frolovf93cb262021-07-14 16:05:15 -070026 pw_transfer.proto.raw_rpc
27 PRIVATE_DEPS
28 pw_log
29 pw_transfer.proto.pwpb
30 TEST_DEPS
31 pw_rpc.test_utils
32)
33
34pw_proto_library(pw_transfer.proto
35 SOURCES
36 transfer.proto
37 PREFIX
38 pw_transfer
Wyatt Hepler1e636732021-06-14 18:30:13 -070039)