This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(endpoint): Revise endpoint build targets in favor of Bazel
It's hard to build endpoint library with mixed build system. This commit removed the http-parser and the mbedtls submodules from GNU Make build system and changed them to build from Bazel. The http_parser changed to use the source from entangled. Add `@http_parser` into deps if needed. The mbedtls's version from entangled has not been updated for a long time. So the mbedtls source is still pull from github. But changed the build system from GNU Make to Bazel. In order to avoid conflict with the same library inside entangled. The mbedtls library which pulled from github add a suffix `2_16_6`. Add `@mbedtls_2_16_6` into deps if needed. Close #647
- Loading branch information
Showing
9 changed files
with
19 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule http-parser
deleted from
7af127
Submodule mbedtls
deleted from
5f69cb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cc_library( | ||
name = "mbedtls_2_16_6", | ||
srcs = glob(["library/*.c"]), | ||
hdrs = glob(["include/mbedtls/*.h"]) + glob(["include/psa/*.h"]), | ||
include_prefix = "mbedtls", | ||
strip_include_prefix = "include/mbedtls", | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters