mirror of https://github.com/grpc/grpc.git
Merge pull request #15595 from dgquintas/nanopb_build_cleanup
Treat nanopb as a regular external depreviewable/pr15780/r1
commit
1c6d6ba851
27 changed files with 471 additions and 68 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@ |
||||
# Copyright 2018 gRPC authors. |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
set(_gRPC_NANOPB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/nanopb") |
@ -0,0 +1,19 @@ |
||||
cc_library( |
||||
name = "nanopb", |
||||
srcs = [ |
||||
"pb_common.c", |
||||
"pb_decode.c", |
||||
"pb_encode.c", |
||||
], |
||||
hdrs = [ |
||||
"pb.h", |
||||
"pb_common.h", |
||||
"pb_decode.h", |
||||
"pb_encode.h", |
||||
], |
||||
defines = [ |
||||
"PB_FIELD_32BIT=1", |
||||
], |
||||
visibility = ["//visibility:public"], |
||||
) |
||||
|
Loading…
Reference in new issue