Skip to content

Commit 1d2a210

Browse files
lizanhtuch
authored andcommitted
deps: Copy protobuf internal headers needed for transcoding (#1063)
for #501
1 parent 4b9c259 commit 1d2a210

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/build_container/build_recipes/protobuf.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ rsync -av protobuf-$VERSION/* $THIRDPARTY_SRC/protobuf
1010
cd protobuf-$VERSION
1111
./configure --prefix=$THIRDPARTY_BUILD --enable-shared=no
1212
make V=1 install
13+
14+
# These internal headers are needed by the GRPC-JSON transcoding library.
15+
# https://github.com/grpc-ecosystem/grpc-httpjson-transcoding
16+
# TODO(htuch): Clean up protobuf deps builds with envoy-api
17+
rsync -av src/google/protobuf/util/internal/*.h $THIRDPARTY_BUILD/include/google/protobuf/util/internal
18+
cp src/google/protobuf/stubs/strutil.h $THIRDPARTY_BUILD/include/google/protobuf/stubs/
19+
cp src/google/protobuf/stubs/statusor.h $THIRDPARTY_BUILD/include/google/protobuf/stubs/

0 commit comments

Comments
 (0)