envoy: add http_parser special external lib (#7637)

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
This commit is contained in:
Adi (Suissa) Peleg 2022-04-29 11:08:42 -04:00 committed by GitHub
parent ed040f46cb
commit fb44849508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,11 @@ then
rsync -av "${SRC}"/envoy/source "${REMAP_PATH}"
rsync -av "${SRC}"/envoy/test "${REMAP_PATH}"
rsync -av "${SRC}"/envoy/envoy "${REMAP_PATH}"
# Envoy currently uses a modified version of http_parser (see:
# https://github.com/envoyproxy/envoy/issues/19749).
declare -r BAZEL_EXTERNAL_REMAP_PATH="${REMAP_PATH}/external/envoy/bazel/external"
mkdir -p "${BAZEL_EXTERNAL_REMAP_PATH}"
rsync -av "${SRC}"/envoy/bazel/external/http_parser "${BAZEL_EXTERNAL_REMAP_PATH}"
# Remove filesystem loop manually.
rm -rf "${SRC}"/envoy/bazel-envoy/external/envoy
# Clean up symlinks with a missing referrant.