Commit 9ffa84de authored by Sophie Wenzel-Teuber's avatar Sophie Wenzel-Teuber
Browse files

Squashed 'external/fizz/' changes from 8a6c441589..37f1079eb3

37f1079eb3 Updating submodules
57b1dfd23e Updating submodules
507fd9d89f Updating submodules
b8a8b68847 Updating submodules
78a6d4b9f6 Updating submodules
1c7ef64f63 Updating submodules
94ade7b624 Updating submodules
c4b3669b6b Updating submodules
bfb5e86920 Updating submodules
860285e168 Updating submodules
1df586eaca Updating submodules
d7a581af95 Updating submodules
ac6a283a3f Updating submodules
ec73337245 Updating submodules
45fe94cc92 bump fmt in fbcode-builder to fmt-7.0.3
8219b4560e Updating submodules
7ed5b4549e disable test_mount_state_during_unmount_with_in_progress_checkout on eden-asic-build-and-test
63b1d97389 Updating submodules
ab966511c6 Updating submodules
b7d2f27925 Update openr manifest to use main
558f9f544a Updating submodules
785a2c750a Add range-v3 as dependency for openr
afb1135351 Updating submodules
159fbffac2 Updating submodules
c4f66cfdbb Updating submodules
025e7877ff Updating submodules
d62594cf4b Updating submodules
cf555ff39e Updating submodules
f3ff21150a Updating submodules
6dbe0906c7 cmake: build edenfsctl Rust
bca6910084 Updating submodules
9e8546e2b6 Updating submodules
923178aeca Updating submodules
ea27e63833 upgrade to VC++ 2019
29dd3d3730 Updating submodules
51a2176a9d Updating submodules
89ceee4579 Have OSS build pick 'fizz' from 'main' (instead of 'master')
bfd03ff268 Updating submodules
735b4a941c Updating submodules
ea6e81e369 Updating submodules
9570ae990f Updating submodules
fd6e64125c Updating submodules
3c0cb003df Updating submodules
d0b932eaa6 Renaming master to main
74291cc576 Updating submodules
b716a5a945 Updating submodules
a781516fce Updating submodules
086fe8e8b6 Updating submodules
7bcb040cfd Updating submodules
479f49a45b Updating submodules
7aba7a3dc4 Updating submodules
949a695819 Updating submodules
c07fd438c9 Updating submodules
199ea90f5e Updating submodules
6072bd98e8 Updating submodules
c95af5545e Updating submodules
763c76bdfa Updating submodules
0f4627160d Fix undeclared function warnings
35e40d16af Updating submodules
3c1c77607a Updating submodules
e3784b830f Updating submodules
d94265379d Updating submodules
3b43d7e17d Updating submodules
728f473961 Updating submodules
fd4379db4a Updating submodules
39a687c4d8 Updating submodules
4e7e992064 Updating submodules
55d5c939e9 Updating submodules
8221f3dd41 Updating submodules
f1f5686d8a Have OSS getdeps.py pull code from 'main' (instead of 'master') until all repos are migrated
00f14700b4 Updating submodules
a4c87a8615 Updating submodules
f2344dffc5 Updating submodules
8e7f5a4e1c reflect the wangle github branch rename from master to main
a29eb03bac Updating submodules
639375f4ca Updating submodules
84b2aa0d96 Updating submodules
a47d5b45ea Updating submodules
32cbc15cb7 Updating submodules
a7fad26f8a Updating submodules
9c7b6d369e Updating submodules
7aa7b8a59a update the branch name for the fb303-source manifest
21934ccbdd Updating submodules
fe15a81967 Updating submodules
b01e1db5d6 Updating submodules
9e482cfe62 Updating submodules
d356eae94f Updating submodules
b8e610b348 add support to custom main branch name
635c9630cd Updating submodules
b186939c63 Changes for building in Debian (#943)
da9763374f Updating submodules
e975d99768 Updating submodules
0846b809ad Updating submodules
2a309149de Updating submodules
7925b2eaaf differentiate fizz ALPN exception messages.
0beab3029d Updating submodules
b1d6e772c0 Upgrade QUIC to V1 and HTTP/3 to h3
7a71f0c1ef Updating submodules
7d54044186 Updating submodules
388a079a5f Updating submodules
fabc807781 Updating submodules
400d994918 Updating submodules
9bb08e017a Updating submodules
325d83e0e6 Updating submodules
f2d3c44f46 Updating CLI11 symlinks to include CLI11-2.0.0
fa2cd1e08f Enable BLACK by default
9bef9f3327 Updating submodules
be61799c10 Updating submodules
7a6b47d9a5 Setting up basic build for delos_core
c204075f0f Updating submodules
e86e4d421a move to common shared directory
a533b2f9cd ECH Substitute Outer Extensions Implementation and Unit Test
553734beb5 Support p384 and p521 curves in default configuration.
35c0fdeace Updating submodules
3e5e4d454f Updating submodules
8cc5a1e3f7 Updating submodules
64ec8c4012 switch to tp2 CLI11
e7a230ad0d Add CLI11 manifest
e25ae7bfa6 Updating submodules
26d075332e Updating submodules
35c58f76c9 adding copyright header
d3a721b744 Updating submodules
781ecb2d38 Updating submodules
78d3fa067e Updating submodules
274f95c008 avoid generating internal dependencies for public CI
f9fe62656c Updating submodules
36786507b7 include rust-shed in edenscm builds
1d8f80b5c2 Updating submodules
084fb64af9 Updating submodules
2d5b353cd6 Rename alpn mode in fizz
6bc260a89f Updating submodules
69d6784e8d Updating submodules
db8a044c20 Updating submodules
8ddd2750d8 Updating submodules
d471bbb28e Updating submodules
9f826c7db9 Updating submodules
f7480b0c75 Updating submodules
3a4d18e080 Updating submodules
6235f56fec Updating submodules
f9dcae0581 Updating submodules
5d31f27c16 Updating submodules
1637c46bba Updating submodules
b22a1bd7fb Updating submodules
cab7956eb1 Updating submodules
ed5d16ccd5 Updating submodules
83c39e100d Updating submodules
90701d582a Updating submodules
c82b65e85c Updating submodules
0bacbf2d1a Updating submodules
3967c751d0 Updating submodules
58f93028a6 Updating submodules
dc23e28ab7 Updating submodules
04e22ccad1 Updating submodules
751dffb266 Updating submodules
b20134e5fc Updating submodules
1bb06c154b Updating submodules
318ce3fa9e Updating submodules
821daf761e Updating submodules
bf68983f16 Updating submodules
f662983571 Updating submodules
f61526113e Updating submodules
15cb9b3f1a Updating submodules
380dc4abe1 AsyncFizzBase readv support
34ac4721e7 Updating submodules
04855aa8ac Updating submodules
5d0e886bd6 Updating submodules
284e09bf98 Updating submodules
f366e77513 Updating submodules
3a1e847580 Updating submodules
4e8ac84b3d Updating submodules
b2c6537398 Updating submodules
a30a01f248 Updating submodules
62a2dc854d Updating submodules
198ac93ef3 Updating submodules
a05d262576 Daily `arc lint --take BLACK`
4c822a44a7 Updating submodules
38cefa8c5b Find zstd during CMake build
5fbcad3937 Move FindZstd.cmake into fbcode_builder
81ced2d7ba Updating submodules
32ad80d0ce Mark zstd as a dependency of fizz
cfa5a7f807 Updating submodules
91d093ced5 Opt in opensource/fbcode_builder to pyfmt
7b6908ed44 Updating submodules
2f07494f36 Updating submodules
4cc0f5ce04 Updating submodules
0690e5931d Updating submodules
9be8e8638c Updating submodules
f213874880 Updating submodules
f35e62b511 Make `travis_docker_build.sh` macos-compatible
6dc60b70e0 Updating submodules
9312aca65d Updating submodules
513942d2a3 Updating submodules
8768ca4651 Updating submodules
eef3da61ad Enable fb dynamicconfig loading inside eden backingstore
2a26624c6f Updating submodules
f732a04697 Updating submodules
10fddf459a win: add --return-nonzero-on-failures to sc_testpilot
4e99f9a446 Updating submodules
4896b8ebbe Updating submodules
762110534f Regen github actions (#1614)
564285ea43 Updating submodules
c58600b7e7 Enforce ALPN match when both client and server support ALPN - log
08241d2498 Updating submodules
12c62b40b7 Updating submodules
48f85f9c2c Updating submodules
91da8f835d Enforce ALPN match when both client and server support ALPN - fizz
96b3aa198d Updating submodules
90b4b108b6 Updating submodules
3e17f198d3 Updating submodules
b0a809444a testpilot: testpilot is broken on Sandcastle
229d3580e5 Updating submodules
6237d840bd Updating submodules
259b0f7bf9 Add binaries to installed output
b786cc1f07 Updating submodules
80d9f5bddc move watchman includes into their own directory
ed1316f28d Fix buffered bytes getters with fizz
e4a9c916d6 Add opt outs to shipit
df9896ba04 add option not to prefer /usr/bin python on mac
b9bcf5a6d9 Connector tests on Windows
f041e50413 fix tpx command line when filtering is enabled
2245fb9566 Add support for forcing in-place encryption
26bd4cef50 Allow opting into in-place decryption
63692e7099 Fix dependencies (#61)
27d09f79cf Updating getX509() callsite to OpenSSLTransportCertificate
20ff479c58 FindSodium: Do not create target unconditionally (#430)
ebbc0d7c80 Missing cmake cache variables (#1090)
b744723926 feat: add support for compiling open/r on 64-bit arm linux (#95)
aaa85642ee Build FBOSS with new OpenNSA 6.5.22
3f1ea5525e Update OpenNSA manifest to latest 6.5.22
3bfd44d69d fbcode_builder: getdeps: libyaml: add manifest
6c39bb2a45 Updating submodules
cd6df76914 Updating submodules
41008f1515 Updating submodules
94d079fe1a Updating submodules
5cdb09e881 Fix openr.thrift Python Module Build
03d9339cbc Updating submodules
dc43a3d5b5 Updating submodules
26c2c6e154 Updating submodules
e5620f1126 Updating submodules
f8e4a1d377 Updating submodules
8aa16c8742 Updating submodules
dfee70e3cd Add fizz client tool support for specifying sig schemes.
12f3d3525a Updating submodules
6bd067f86c Updating submodules
457cc1d603 Updating submodules
1a1f445ea5 Updating submodules
6fe78603d1 Updating submodules
be7cfc0e63 Updating submodules
f4a9b0a717 Updating submodules
14518e691b Updating submodules
5dc0e15c88 Updating submodules
6f38cfcf1a Updating submodules
dfeed4121a Updating submodules
131f2d298f Updating submodules
879e72dfe0 Updating submodules
33ef290d40 Updating submodules
4d2d5ecc18 Updating submodules
542f45691d Updating submodules
0ae03e2422 Updating submodules
744e8c9b09 Updating submodules
322a7a67fc Updating submodules
af3ff85a9d Updating submodules
6f978c9f80 Updating submodules
8097b51b4b Updating submodules
74e8902106 Updating submodules
facf4e00b6 Updating submodules
b568a55016 Updating submodules
33b359d307 Updating submodules
41567cc168 Updating submodules
7d6f8f8e67 Updating submodules
b091e36591 Updating submodules
009ccae883 Updating submodules
c4839c91c1 Updating submodules
033e40d76e Updating submodules
a435c43b9c Updating submodules
3461dab4da Updating submodules
581f776223 Updating submodules
3adb30d439 Updating submodules
b97400224a Add re2 as a dependency on getpdeps
79352a230a Add support for indicating AEAD options from higher levels
e984ced90e Updating submodules
2c6ece8a78 Updating submodules
bb190cec6b apply upgraded black 21.4b2 formatting to fbsource
9c2d222947 Add syntax highlighting to shell commands in readme (#60)
1e773ac265 Updating submodules
741d688acd Updating submodules
dd6b9cdd7e Updating submodules
87c7bf81f0 Updating submodules
73554793a9 Updating submodules
12de0e00cd Updating submodules
954965ef37 Updating submodules
ab57e94ed7 Updating submodules
39467a5b78 Updating submodules
a2e75cdcf6 Updating submodules
5e7044ae10 Updating submodules
4d5d3bfafe Updating submodules
6bd926ede0 Updating submodules
999819c383 Updating submodules
b76c964432 Updating submodules
a1a6da0071 Updating submodules
b286a2648d Updating submodules
b551670fa7 Updating submodules
8d2eddb9c5 Updating submodules
1db393a91f Updating submodules
bcafb639aa Updating submodules
c1e5547ad9 Updating submodules
fda2a5a420 Updating submodules
1688870298 Updating submodules
c0a62a4448 Updating submodules
8b6bd59416 Updating submodules
c665409cca Updating submodules
d09316b4b8 Updating submodules
25b1290ba0 Updating submodules
4322f8d225 Updating submodules
ed4e5b34ee Updating submodules
8403ae24f1 Updating submodules
5ea42c7fc1 Updating submodules
7c5970c573 Updating submodules
6b0c6e043a Updating submodules
a50df91720 Updating submodules
62aba0f1e9 Updating submodules
06c41f6751 Updating submodules
fad5d9b8b6 Updating submodules
caacf8c6d1 forward env vars through tpx
09eebde52f Updating submodules
f279d4bf34 Updating submodules
fd57017a3d Updating submodules
2783fae397 Back out "Add support for indicating AEAD options from higher levels"
28947c74f0 Add cert compression to HQ client.
c0e17429c2 Updating submodules
2a5248c71a Updating submodules
a7f4484278 Updating submodules
67eb156ad4 Handle change of readCallback_ mid-read properly.
c9b68cdaa1 Add support for indicating AEAD options from higher levels
c5ae4fce62 Add APIs for buffer modification/allocation policy to AEAD
e592e0c69f Updating submodules
f33c619fbd cmake: set CMAKE_CXX_FLAGS in FBCompilerSettingsUnix.cmake
dfc5635a37 Updating submodules
fcb32493e4 Updating submodules
70353c4594 Updating submodules
303249168a Updating submodules
7c04027ff1 Add support for AsyncSocket connect bind to device
f9b43a2994 Updating submodules
5ad84a136d Updating submodules
fe6be75b79 Updating submodules
0a5a997fa2 Updating submodules
22d663645f Updating submodules
b6f2d52ede Updating submodules
d89983e9d9 Updating submodules
c2dfd3dda5 Updating submodules
d54b9702b5 Access TrafficKeys and sequence number from record layer
3d0c04a427 Updating submodules
fe7ca11f9d Updating submodules
5d577e9000 Updating submodules
d772d7b602 Updating submodules
5fea72206e Updating submodules
6b9da5dfae Updating submodules
2e4a08c351 Updating submodules
a480c9737e Updating submodules
736c1d4bb5 get rid of hack to support label attribute for 1.7.0
3f277c809f Updating submodules
93d314c332 Updating submodules
11d4cfc7e1 Updating submodules
18be496a3d Updating submodules
872f039207 Updating submodules
3e5705a2be Updating submodules
555011569d Updating submodules
483059661a Updating submodules
4cc5a4d2db Updating submodules
9d75cdf3a6 Updating submodules
f773598050 Updating submodules
97239e3bc7 Updating submodules
1895941cad Updating submodules
3dfab05f3d Updating submodules
b6ac4180aa Updating submodules
b59cbcf6fb OSS jobs to tpx
cd54979684 Updating submodules
b0e6c8f758 Updating submodules
af03c3778d Update OpenNSA manifest to latest 6.5.21
1956b929a6 Updating submodules
61bf0d297d Updating submodules
a6d53f9f61 Updating submodules
c36fd56997 Enable getdeps build on macOS
e84ab7bd41 Updating submodules
c2099ae9db Updating submodules
8db514e7b2 Add libicu manifest
9b642fcd2e Updating submodules
06c00a342f Updating submodules
3dc5f854e6 Updating submodules
f9100ba6a0 Updating submodules
a2df3ebef4 getdeps: add a test target to eden_scm getdeps manifest
1d5cb6c386 Updating submodules
f4fb81db4c Updating submodules
ab24b2d2a1 Updating submodules
9b72b5e526 Updating submodules
71a95bdffe Updating submodules
0c0bbfbea7 update URL for the libmnl to the official site
99df960d09 Updating submodules
f36271b307 Updating submodules
759ba0a095 Updating submodules
8b33579182 Updating submodules
582f9eb826 Updating submodules
aa4a8752ab Updating submodules
94e0d47059 Updating submodules
48a0c667a9 Updating submodules
f2d2315db0 Updating submodules
d08f702782 Updating submodules
8a58c049eb Updating submodules
9767d4aefb Updating submodules
f34ab2fc3c Updating submodules
dfca5acfee Updating submodules
aab7c6479b Updating submodules
eeafd4036a Updating submodules
a45567ffe9 Updating submodules
52e069bb24 Updating submodules
1e344e5659 Updating submodules
60a081ee51 Updating submodules
5b2774a9e0 Updating submodules
e2a49e7507 Updating submodules
e11e7bf1aa Add additional read record layer constructors
f0170adf01 Updating submodules
bd6da581ef Updating submodules
8f933b5915 disable --allow-system-packages for generate-github-actions
61ff8ea16c Allow no ca file in fizz client loadgen.
0cd6e063b7 upgrade katran's libbpf dependency to 0.3
a5437e7d8e Updating submodules
6c352523b1 Updating submodules
31f96f9af6 Updating submodules
548d919df1 Updating submodules
987c672a53 Updating submodules
412cd6f09e changing AsyncServerSocket::acceptError to receive exception_wrapper
c6dc345eb9 Updating submodules
908a4fd57a Updating submodules
79ac32dcae Updating submodules
ca19d6686d Updating submodules
ad7c0da314 getdeps show-build-dir
9ebf19c22b Updating submodules
0405490239 Pause the state machine when detaching event base.
9fb8ff2882 Clang-format fizz.
d253394663 Updating submodules
160bb5ba19 Updating submodules
e7a3fa0652 Updating submodules
2311b14618 Updating submodules
49f0fa05e2 Updating submodules
abae82dba8 Add historical number of uses to cached psk for logging
7d90fa0485 Updating submodules
ace6b88007 Updating submodules
ad6bf2707c Updating submodules
bf2480f969 Updating submodules
e4be3e5672 Updating submodules
0b593b1d46 Updating submodules
f3ef501577 ninja: upgrade and build from source on macOS
29457b8f8f Updating submodules
74e597fdb2 Updating submodules
8571dc4191 openssl: update to 1.1.1i
5716b43290 Updating submodules
7e3360e2f9 Updating submodules
d61cfe5b4a Updating submodules
10551a6017 Updating submodules
58e79191b6 Updating submodules
0492aa7718 Updating submodules
b4cbe041a5 Updating submodules
d7b6d494d4 upgrade oss sai to 1.7.0
d13fba361b Updating submodules
868e919017 Updating submodules
a7020e896b Updating submodules
1ebcb6288f Updating submodules
3091904821 Updating submodules
991390c999 Updating submodules
344d0df623 Add getdeps.py manifest
96f1559887 substitute surrogates in log file (#8076)
55b0911de6 Stop trying to build on Darwin, Windows
2c5b661523 Updating submodules
33c87bb7b6 Updating submodules
d43298f2cb always write log files as UTF-8 to avoid cp1252 encoding errors
411ac4f130 fix broken link on Fizz README
2e7ab3ef27 Updating submodules
97e1256314 Updating submodules
124ecc8bfd Updating submodules
e420569497 Updating submodules
c15911e017 Updating submodules
62f1cdb2a4 Retry bistro tests up to 5 times
a2e9dd2f3f Updating submodules
e49e32b6cc Updating submodules
78520ea345 update to libbpf-0.3 in getdeps
d6a723ed94 Updating submodules
db679c3b26 Updating submodules
1254ff17b2 Add protobuf manifest
7522c33b9b Add lzo manifest
330eb78ac7 Updating submodules
1fdf778966 Updating submodules
98b4e2d9c7 Updating submodules
b84466f833 Updating submodules
e9701779a3 Migrate bistro to getdeps
2c54faaeeb Updating submodules
2ff82a6726 Updating submodules
d4ec8ae5af Add support for `extra_cmake_defines`
53faba12a2 Updating submodules
15bf39b712 Updating submodules
76c5932e2d Fix use of dangling reference in Fizz client tool
34736f8ea4 Updating submodules
6e82a16334 Updating submodules
92a86f93de Updating submodules
6579519fe8 Updating submodules
fd3db786b0 Updating submodules
64897721dd Add support for io_uring
bfd48dc60b Updating submodules
e19755143e Updating submodules
3f523b39d7 Updating submodules
c33857a1fe Updating submodules
d37cb242a5 Updating submodules
72a1d86a7c Updating submodules
d127013859 Updating submodules
cc09a71fc2 Updating submodules
a0751504e4 Updating submodules
e4ee5b26e8 Updating submodules
ea0a17b674 Updating submodules
0393460de6 Updating submodules
9c5a346469 Updating submodules
092904a589 Updating submodules
c31430a114 Updating submodules
41e2614097 Updating submodules
79eb573ed3 Updating submodules
9abbdabaf7 Updating submodules
afb27e4fab Updating submodules
0b7fd9f920 Updating submodules
dec2ad5185 Updating submodules
78a9049483 Forced watchman daemon to always operate in non elevated mode on Windows (#878)
4542861223 Updating submodules
fe4a9e3f4d Updating submodules
9cc45ef416 Validate maxRecord and minDesiredRecord values
a4167a6f12 Updating submodules
d036c42626 Updating submodules
b3b979b93b Updating submodules
5adba085bb Invoke SecretAvailable with KeyUpdate update_not_requested in Fizz
cf9aab0e91 Updating submodules
4488c1ca63 Fizz CLI tool changes for V8
9d0b732707 Updating submodules
baf2c1a7ed Updating submodules
9dbc250105 Add decryption
5d28a8cca4 Updating submodules
4709344d24 Add changes to allow for ECH V8 decryption
461901a990 Make tryToDecryptECH version agnostic
41186bf69b Fix record digest to use ECHConfig
f72648c39b Updating submodules
3d73d6da77 Handle ECH V8 on the client side
cd301353ca Updating submodules
7eec669206 Updating submodules
8573768d00 Fix UAF in fizz server tool
4406ac585f Add V8 encryption functions
154c0c183d Updating submodules
91a702d134 Add length field to fizz tool parsing
e6e12f2c22 Set length field to fix undefined behaviour in tests
4aa9e85466 Change encode ECHConfig function to be able to take const ref
54c69a3d59 Updating submodules
ee71783232 Updating submodules
1febb404f2 Fix undefined behaviour
0650425e1d Updating submodules
6c043b0da1 Updating submodules
c748032a25 Updating submodules
9fb6575fea Updating submodules
a9fa337276 Updating submodules
3d5114da47 Add clone method for client hello and extension struct
df6241c3e8 Updating submodules
2053c9723a Updating submodules
80b5ee3e26 Updating submodules
5eda5bf229 Minor test fixes
277f0c6883 Updating submodules
285d503634 Updating submodules
833b71666c GitHub Action: fix Windows build
45b729c448 regenerate all GitHub Actions
a93ff5343c Updating submodules
123a0bd1ff Updating submodules
65bb830922 Remove client_ech extension type
0736523950 Updating submodules
af96a4294d Add construct config id function
5cb79e6596 Updating submodules
2a967fdd90 Updating submodules
3f8b1d6164 Consolidate ECHConfigContentDraftV7 and ECHConfigContentDraftV8
450a6f6086 Fix compilation warning
b8a9275af5 Updating submodules
0a5bff6039 Updating submodules
2c4ef03640 Print Certificate Chain in Fizz Tool Client Command
5a2a133177 Updating submodules
b3cc745358 Updating submodules
4947fa4953 Updating submodules
a4fbe01921 Updating submodules
27e9bff1e0 Fizz server command ECH changes
7a794f1fc5 Add serialization for V8 structs
ba50c5bf32 Fizz client command ECH changes
7c5cfe6b17 Add default ECH configs function
a09a0917c0 Write function to parse ECH configs from file
84d0770a63 Add V8 structs
716c57b966 Updating submodules
f32c60081b Updating submodules
70b0a5a31c Rename HpkeCipherSuite to ECHCipherSuite
0158303bb2 Updating submodules
0564aa95d7 Updating submodules
5671046506 Use half of available CPUs
aae08c1da9 Updating submodules
a6758cd1aa Rename fields
bd4c7754f3 Fizz client config changes for ECH config
367f209cee Updating submodules
73ef49fcca Adding yaml-cpp fboss code for oss
ab2f6d796f Adding yaml-cpp in fboss oss build
eafeb3bf22 Updating submodules
05e2775fd5 Updating submodules
933c27169e Add copy constructor for ECHConfig
b50b3b6e89 Updating submodules
e552ae42fa Refactor some client protocol functions
ce3f952034 Add server side decryption
98e23fb5ed Updating submodules
42526e8c50 convert a path to valid glob syntax when prefetching
32106cae93 Remove dead includes in fizz
ff384dfb2f Add decrypter for decrypting ECH
d0e807dd1d Modify encryption function parameters
3dbfdd8341 TypesTest: fix Write24BitsBufferOverflow test for 32-bit archs
62f23d96d1 Updating submodules
6a95dd92f7 Create clone() method for key exchanges
a0794313e6 Updating submodules
438191e195 Updating submodules
cabc72fbe4 Fix inline variables error
47ee698c6f Modify function selectECHConfig to take in a const vector of ech configs
3f07673354 Updating submodules
441fd72296 Mark internal functions as static
5ed67543e5 Add ECH decryption function.
2dbc0e56f3 Add getECH function
c46ffd4579 Modify TestValidEncryptClientHello test case to be more robust
f2ccf14420 Updating submodules
13623b3cb7 Updating submodules
6e8b559744 Add ECH on the client side
a7100cd934 Updating submodules
6d309d0271 Updating submodules
2fb3b7b6a1 Switch to Github Actions badges
1790748fc5 Updating submodules
98e0149906 add shared library support to add_fbthrift_cpp_library
038868681f add zlib as an explicit dependency for getdeps build
1fee4a1d70 Move ECH from extensions to protocol
ecfbc51dee Updating submodules
3c47bd49f5 apply pyfmt with usort to opted-in sources
4145bfd224 Updating submodules
b82cba367e Use write buffering in AsyncFizzBase when the underlying transport is
051053b945 proxygen: fix shared libs build
716a7578c3 Updating submodules
2c9a17b29b Refactor relevant ECH encryption functions
48749a2f80 Updating submodules
8e5377e735 Use Factory->makePeerCert() inside TicketCodec
dc2333610b Updating submodules
2cbef65587 Refactor PSK binding so it's useable for ECH
140a507c00 Updating submodules
74273b9da1 Updating submodules
cca5f28ee3 Updating submodules
9b55acf114 Updating submodules
6e042852c1 Updating submodules
a282b6abb4 Add an option to specify lfs path
53a0cacca2 Updating submodules
0fd462bb14 Updating submodules
347ce56cad rust-shed/futures_01_ext: rename futures_ext to futures_01_ext
82b35a9e1b Updating submodules
84383ebaac getdeps: don't depend on git fetch depth any longer
87422065a3 Updating submodules
7e2bf4e27e Updating submodules
daaaaf2171 Fix OSS build
99983646c7 Fix discovery of `libsodium`
91d833a38c Updating submodules
026e35c7f5 Updating submodules
57e0360cf2 Updating submodules
62c2a7e656 Updating submodules
73b9e3dddd Updating submodules
301a2e9430 Updating submodules
26562502e6 Back out "Use Factory->makePeerCert() inside TicketCodec"
42f7077c7e Add client connect details
20d5429dcb Updating submodules
8166a20d3d Updating submodules
d540e0b41c Use Factory->makePeerCert() inside TicketCodec
764c39e5a4 Updating submodules
4db28737d2 Updating submodules
f3ddff5217 Updating submodules
81625d3728 Change to use ECHConfig and add version type
fd4964a5f1 Updating submodules
c007e59002 Add EndOfTLS Callback
c9b290f4c1 Implement TLS shutdown
ea9278d15b Updating submodules
0544dbe9e8 Updating submodules
505cbc78dd allow overriding version
22b5d4635f Fix destination for fizz_test_support
66de2b986f fix GCC -Wmaybe-uninitialized false positives
85db1ac113 Add configuration for ECH, Hpke files
d5632699cb Updating submodules
9d16f21ddd Updating submodules
996547fa66 Updating submodules
ffe112bb1c Updating submodules
3eac854ba1 Updating submodules
779ed09eb1 FindGlog: Add support for 'glogd' Debug library (#1479)
df1b6cd2ca Updating submodules
e9d7ff5d73 Updating submodules
f8aa1bd98c Remove dead includes in fizz
9196063c74 Updating submodules
8345649615 Updating submodules
815c54eb82 Updating submodules
c31f8eb1bd Updating submodules
9361ca27ad Add range template argument
406dc4e074 Modify select ECH config function
040779c3b4 Updating submodules
86aa646de1 rust/shed/hostname: rename hostname dependency to unbreak doctests (#15)
4cddc472bc Updating submodules
1c40fde31b Updating submodules
8b46ce7e56 Updating submodules
1a3040aa54 Updating submodules
05f94de511 mononoke/integration: create a Makefile to run tests as part of getdeps.py build (#67)
e886f49099 Updating submodules
64dd11d672 Add client hello encryption
49f46ea33e Updating submodules
e4f453c61c Updating submodules
9b71e2d1bb Refactor hpke files
4d23afce0e Updating submodules
66b29c065c Updating submodules
c5b0c39599 Make KeyScheduler clonable
ccbe5ac571 Updating submodules
5769548fc6 apply black 20.8b1 formatting update
f59953e265 Updating submodules
6d3d8aece9 Updating submodules
a1b6eddc4c Add hpke helper functions
088c7dac38 Updating submodules
14bf40704e mononoke/integration tests: prepare dependencies for running tests by getdeps
3703aa8c6d Add validation of ech config content before encryption
04fd85b842 Updating submodules
82d99b06e6 Updating submodules
ac3ad5a240 Updating submodules
4e3ea55e06 Updating submodules
591aa9df29 Use a beta version of libbpf to unblock perf_buffer__buffer API
7935be36e5 Remove nsecret
e44aa9e533 Add setup functions
58d48e08e0 Return DN if CN not present
1db1cda8ee Updating submodules
71069c3a64 Add key schedule function
2dd9a350fa Change ech extension to use hpke types
c08e3b3788 Add kem id
e1cfe1f03c Use latest libbpf
b563a01407 Rename files
3183cdf173 Updating submodules
a757211159 Add export secret function
4b33f1b09a Updating submodules
5f6182956b Remove --skip-project-specific flag
82f53a4930 Disable tests on windows
4a30b33f28 fix use before assignment case
096f5ddf21 Updating submodules
918bbe935f Updating submodules
aa77780963 Add context functions
a29417992e build zstd in static to avoid DLL dependency on Windows
a1ab642038 mononoke/integration: build EdenSCM with non system OpenSSL (#12)
05031b73be Add DH-Based KEM encryption functions
deb5dd5c50 Updating submodules
0d05a85ae3 Updating submodules
d89831869b Back out "Update folly's source of truth to xplat"
3ff5b28098 Updating submodules
8d66d850b4 Updating submodules
22e74978f8 Fizz multi buffer benchmark
ca39ffb800 Updating submodules
9a52aed734 Updating submodules
a65d179e5a Updating submodules
d45371b981 Remove fizz::server::State argument from AsyncSelfCert
ea6aae9ecd Add serialization/deserialization of ECH structs
0854abf043 Updating submodules
92e319803d Fixing the license headers for a few delgated credentials files
ccd82cb4ff Updating submodules
a4ca704e56 Updating submodules
d74c59588a Updating submodules
935dfe93e3 Updating submodules
06107930ce Fix sliding bloom replay cache test
605ff6edde header guard on server/test/Utils.h
3a9cae470e Updating submodules
8513a99561 eden/edenapi and mononoke integration tests: add edenapi/tools to getdeps and use them in tests (#51)
9cb6ce495b Updating submodules
c2c96af540 Updating submodules
8f0c0c3bfd getdeps: update zstd to 1.4.5
0254f7dda7 Update replay cache
8d99740b7b Updating submodules
b96f0ba30a Updating submodules
d4f0fd257b Updating submodules
3bf335d4c6 better build badges
86c0e0cbd5 only install googletest 1.8 when building tests
b3b5e3d5c3 update github action workflows
4f5c49ca63 Updating submodules
5419274a99 fix bad merge from D23700095
ae038cda0c googletest 1.8.0
32ca7c945a Updating submodules
b252589967 enable tests in getdeps
9ca08b1744 enable tests in getdeps
ebaf7735cf enable tests in getdeps
d314e72d50 fizz, mvfst, wangle, proxygen: add gmock as fbcode_build dependency
d88b89acc1 Updating submodules
05c6c0a084 Updating submodules
98b23a143f add gtest version 1.8
3071547c10 Updating submodules
6c13933d30 Updating submodules
765c0742a8 Updating submodules
60053cbcd4 Updating submodules
21753a22db Updating submodules
5be6845c54 Updating submodules
8b7287a1bc update fbcode_builder README to document getdeps.py
b846df9b34 Updating submodules
07cd92bf57 Updating submodules
8343c51659 update FindGflags.cmake to work on CentOS 8.x (#1409)
07e4872bf6 Updating submodules
8823a93f10 Updating submodules
c7034d3dd0 Updating submodules
18d14b742e Updating submodules
c20dfc9ffb Updating submodules
7b127afd9c add re2 as cmake dependency
02124a0bd2 Updating submodules
c154f44d9e Updating submodules
24c0dc3826 Updating submodules
2e04992111 Updating submodules
740352755b Updating submodules
c2976ee4a8 Updating submodules
32c4ccb81e Updating submodules
dd0145feae return returncode correctly
d0b0d9d3bb Updating submodules
4d116de925 Updating submodules
8abee6322e Updating submodules
f00d5462f3 Updating submodules
b6d6e1a332 Integrate Batcher into Fizz benchmark tools
fc7869497a Add Batcher for batching per-thread messages
2efc220d86 Updating submodules
9af2fee53b Updating submodules
9a1fb1d292 Update OSS CMakeLists.txt to use CMAKE_CXX_STANDARD
dbfca77ea6 Add Batcher to manage the Merkle Tree for batch signature signing
6daf36d89f Updating submodules
c0712041a7 Remove dead includes in fizz
732d4bad4c Updating submodules
456749f735 Updating submodules
2439661a1b Updating submodules
c497407b8c Updating submodules
5d56fd62bb Updating submodules
93df74630b fizz/cmake: enable RPM generation via CPack
3241748bbb Updating submodules
26b00acf42 Updating submodules
344311bc7b Updating submodules
f11093a035 SAI API 1.6.3
498c8dff60 Supress fizz false positive TSAN report
74db414168 Updating submodules
c8224606a8 Add github action to auto-release TagIt tags
b6bae911e5 Updating submodules
0b8b6ae581 Add option to run tests without Testpilot even when it's available
1b28a00bb5 Updating submodules
9daffaea48 only use symbolizer if libunwind is found
efa937ea18 Updating submodules
c68a800622 Update folly's source of truth to xplat
a86ed6808a Updating submodules
e8aec63ca1 Updating submodules
37c450a75b Updating submodules
cfc752cc01 Updating submodules
70d9cbe57f Updating submodules
0088daa38e Updating submodules
ef8e8c4bfc flush stdout before starting a command while interactive
3355e73a38 Updating submodules
907906cfa9 Updating submodules
5aa5440133 Updating submodules
a3e3ee91de Updating submodules
dec69b7f23 Updating submodules
8ec43895c8 Updating submodules
465ae25f4d Move batch signature related source/header files into fizz/experimental
0befeff122 Integrate per-connection batch signature into Fizz Server and Client
0c43cf21be Updating submodules
df0cd25a73 Updating submodules
735ae41fd1 Add PeerCert for batch signature
524f024dd1 Updating submodules
425a1a346c Add Async SelfCert for batch signature
3c60ee2d98 fizz/CMake: Remove missing dir from header list
42ef433700 Updating submodules
babdba9be7 Updating submodules
2fc1c114d6 Update zstd dev debian package
e7019f479d Updating submodules
447113a0d2 runcmd: do not pipe stdout on a tty
aa4cf88def Updating submodules
cfa06f26df Updating submodules
c1a4520e9a Updating submodules
82d4cceb37 Add data structure used in batch siganture
fe16f7b863 Updating submodules
3768478d8f Updating submodules
4be5e7fc7d Add new types for Batch Signature
1e06b62203 Updating submodules
168790e569 Updating submodules
270087e37f SAI API 1.5.2
622090ebbe Updating submodules
38d0434cad Updating submodules
123b3a94f8 Updating submodules
5bba7f923e Updating submodules
6f88cfad3e Updating submodules
6eb9dbb52f Updating submodules
a7d28a513d Remove dead includes in fizz
0d8b387306 Updating submodules
2c320684a5 Updating submodules
69b97235b4 Allow a project to have Actions run on all branches
2ec75a23b1 Updating submodules
c567308042 Remove configparser deprecated method readfp
fc6e066e44 Updating submodules
01a6d981eb Updating submodules
d91fafeff1 Add new --disallow-system-packages flag to `generate-github-actions`
4488e07755 Updating submodules
cf087626a6 Updating submodules
df5bc3d789 set SDKROOT when it is not already set
33a5004887 attempt to specify boost to build with clang - take 2
25da8703d8 Updating submodules
33a2167f20 Updating submodules
2c1970c91f Update libzmq manifest to use libzmq3-dev
bf7abb7599 Updating submodules
0497dced61 Updating submodules
676a0bc42e Updating submodules
bfdb87b8f9 Updating submodules
3e619ba10d Implement Merkle Tree for Batch Signature in TLS
ac1216a42c Updating submodules
5ed76f5c0a Updating submodules
180f59de04 Updating submodules
4646b26918 Updating submodules
e540b3ac42 Updating submodules
6149bfcea7 Updating submodules
85c730284a remediation of S205607
8a5848e446 remediation of S205607
63d2568275 Updating submodules
3c5e062497 Updating submodules
e162c8e7aa Updating submodules
1ac3bd97f1 add Mononoke integration tests CI (#26)
bbed2750fe Fix static_assert to provide message in fizz TP lib
8467548c0e Updating submodules
a054bd825c Back out "fix boost macOS build with new Xcode" (#27)
b72f773975 Updating submodules
570755568f Updating submodules
8b18350bb5 Updating submodules
60ef8405a4 Add fizz client LoadGen tool and fizz server benchmark tool
1adf0d7e8b fix boost macOS build with new Xcode
9176fae2e8 teach getdeps to look for clang on macOS with xcrun in boost build
a077acaba7 Updating submodules
b6fe87a2cb Updating submodules
aba87b1c5d Avoid sodium.h in public header
9b53374177 Updating submodules
b1a84d04ad Use the Rust toolchain via the DotSlash Windows shim
ef4b554f81 Updating submodules
c9b3497aa2 Remove undefined bahaviour (#54)
000c0acc9b Updating submodules
a939840c07 replace the use of boost::variant with a simple union
8798f7067f Updating submodules
988105ac21 Updating submodules
84792fe13d Updating submodules
23d509edc8 edenscm/hg: add GitHub Actions with CI for HG plus add fixes for getdeps (#25)
7630ad0bd1 Updating submodules
906314fc70 Updating submodules
8a3d3d9ac1 Updating submodules
d6b3877d19 Updating submodules
f954f2f3bd clang-format fizz
5513737b3e Reorganize OpenSSLKeyExchange.
c3e7c2cd8f Updating submodules
742749f31a Updating submodules
c25225aaaa Updating submodules
79bb7c0889 update GitHub actions
af97e01536 Updating submodules
d70b4a231a Updating submodules
e6b21906c9 add retry flag to getdeps test
da9bd013ee avoid using relative path in fb_py_win_main
be3949c59e Updating submodules
8c9203d0f5 Updating submodules
fa815f5f51 eden/scm: provide getdeps.py way of building eden/scm on GitHub
0cc8a37bdd Updating submodules
65dca50bf7 Updating submodules
f5af3450b3 make fb_py_win_main to dynamically find Python3.dll
27ae754f43 Updating submodules
80e50fc257 Remove rsocket-cpp dependency from OSS projects depending on fbthrift
2645f0c034 Updating submodules
8b9b1684a9 Updating submodules
d9641c34e2 Expose a public API for EC key generation
60d4406266 Updating submodules
3865c5f82d Bug fix in Fizz Client and Server argument usage
0ebf759b2f Updating submodules
04d6018618 Updating submodules
9d39251bc7 Fix OpenNSA 6.5.19 hash as Brcm modified the tarball
0c8d2bef70 Updating submodules
5c0727bf3b Updating submodules
5003bc4428 Updating submodules
20231251d7 Support NSS Key Log File
7f5d660a58 Updating submodules
be29934154 Updating submodules
d733ca6bfe fbcode_builder: getdeps: Update OpenNSA to 6.5.19
83ef985464 Updating submodules
ed4fe5c108 mononoke/configerator structs: change the OSS folder where configerator structs are saved
0583cbce6a Updating submodules
c53a004804 Updating submodules
f63ea92e5d Updating submodules
14742aec75 Update fixtures in PeerDelegatedCredentialTest to make it extensible
58156db1cd fbcode_builder: getdeps: OpenNSA update source URL
e5958eed3c fix encoding bug
d1a3b3c7ad Updating submodules
6a5fdd1085 Updating submodules
ba45108be6 GitHub Actions: fix running out of space on Ubuntu build workflow (#23)
4cebf72258 Updating submodules
7769d874cc Updating submodules
0fe5cc8d4e Updating submodules
a1fa759033 Updating submodules
4b205c19cc Add getClientRandom() to AsyncFizzBase
b4549b9f6c Updating submodules
346f7a7c78 Updating submodules
5e0b5a0c50 cargo_from_buck: add the patch section to Cargo workspace and allow workspace appending to existing manifest
30a846bd99 Updating submodules
b488ad5cdd Updating submodules
32a1dd2b11 Add Fizz client option to require ALPN
3c5e57f392 Updating submodules
0e92511dc6 Updating submodules
fef00d2f48 Clear attempted PSK from client state after handshake.
47e14ef6d4 Add test for the construction of Ed25519 self-delegated credentials
e05bc2e40b Add support for Ed25519 signers & certs
142da5d4fe Updating submodules
ae09edbef5 re-enable lz4 compression for rocksdb on macOS and Linux
f931825c78 Avoid extra loop iterations during handshake.
f59af13de2 Allow early data retry when transitioning to RFC version.
74e9c52148 Add Fizz option to require ALPN

git-subtree-dir: external/fizz
git-subtree-split: 37f1079eb3050e7209cb78921244c61817373d52
parent e81dde1f
on:
push:
tags:
# Only match TagIt tags, which always start with this prefix
- 'v20*'
name: TagIt
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Archive project
id: archive_project
run: |
FILE_NAME=${GITHUB_REPOSITORY#*/}-${GITHUB_REF##*/}
git archive ${{ github.ref }} -o ${FILE_NAME}.zip
git archive ${{ github.ref }} -o ${FILE_NAME}.tar.gz
echo "::set-output name=file_name::${FILE_NAME}"
- name: Compute digests
id: compute_digests
run: |
echo "::set-output name=tgz_256::$(openssl dgst -sha256 ${{ steps.archive_project.outputs.file_name }}.tar.gz)"
echo "::set-output name=tgz_512::$(openssl dgst -sha512 ${{ steps.archive_project.outputs.file_name }}.tar.gz)"
echo "::set-output name=zip_256::$(openssl dgst -sha256 ${{ steps.archive_project.outputs.file_name }}.zip)"
echo "::set-output name=zip_512::$(openssl dgst -sha512 ${{ steps.archive_project.outputs.file_name }}.zip)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
Automated release from TagIt
<details>
<summary>File Hashes</summary>
<ul>
<li>${{ steps.compute_digests.outputs.zip_256 }}</li>
<li>${{ steps.compute_digests.outputs.zip_512 }}</li>
<li>${{ steps.compute_digests.outputs.tgz_256 }}</li>
<li>${{ steps.compute_digests.outputs.tgz_512 }}</li>
</ul>
</details>
draft: false
prerelease: false
- name: Upload zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ steps.archive_project.outputs.file_name }}.zip
asset_name: ${{ steps.archive_project.outputs.file_name }}.zip
asset_content_type: application/zip
- name: Upload tar.gz
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ steps.archive_project.outputs.file_name }}.tar.gz
asset_name: ${{ steps.archive_project.outputs.file_name }}.tar.gz
asset_content_type: application/gzip
......@@ -15,79 +15,81 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install system deps
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive fizz
- name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch ninja
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch fmt
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
- name: Fetch gflags
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
- name: Fetch glog
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
- name: Fetch googletest
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
- name: Fetch libevent
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch lz4
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4
- name: Fetch snappy
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch autoconf
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
- name: Fetch automake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build ninja
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build fmt
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
- name: Build gflags
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
- name: Build glog
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
- name: Build googletest
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
- name: Build libevent
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build lz4
run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4
- name: Build snappy
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build autoconf
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests autoconf
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
- name: Build automake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests automake
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. fizz --project-install-prefix fizz:/usr/local
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. fizz --project-install-prefix fizz:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --strip --src-dir=. fizz _artifacts/linux --project-install-prefix fizz:/usr/local --final-install-prefix /usr/local
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. fizz _artifacts/linux --project-install-prefix fizz:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@master
with:
name: fizz
path: _artifacts
- name: Test fizz
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. fizz --project-install-prefix fizz:/usr/local
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. fizz --project-install-prefix fizz:/usr/local
......@@ -15,83 +15,85 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install system deps
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive fizz
- name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch openssl
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl
- name: Fetch ninja
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch fmt
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
- name: Fetch gflags
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
- name: Fetch glog
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
- name: Fetch googletest
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
- name: Fetch libevent
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch lz4
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4
- name: Fetch snappy
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch autoconf
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
- name: Fetch automake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build openssl
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests openssl
run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl
- name: Build ninja
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build fmt
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
- name: Build gflags
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
- name: Build glog
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
- name: Build googletest
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
- name: Build libevent
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build lz4
run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4
- name: Build snappy
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build autoconf
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests autoconf
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
- name: Build automake
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests automake
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. fizz --project-install-prefix fizz:/usr/local
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. fizz --project-install-prefix fizz:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --src-dir=. fizz _artifacts/mac --project-install-prefix fizz:/usr/local --final-install-prefix /usr/local
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. fizz _artifacts/mac --project-install-prefix fizz:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@master
with:
name: fizz
path: _artifacts
- name: Test fizz
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. fizz --project-install-prefix fizz:/usr/local
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. fizz --project-install-prefix fizz:/usr/local
......@@ -16,81 +16,85 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Export boost environment
run: "echo ::set-env name=BOOST_ROOT::%BOOST_ROOT_1_69_0%"
run: "echo BOOST_ROOT=%BOOST_ROOT_1_69_0% >> %GITHUB_ENV%"
shell: cmd
- name: Fix Git config
run: git config --system core.longpaths true
- name: Fetch libsodium
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
run: python build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch boost
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
run: python build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch ninja
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
run: python build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
run: python build/fbcode_builder/getdeps.py fetch --no-tests cmake
- name: Fetch zstd
run: python build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
run: python build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch fmt
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
run: python build/fbcode_builder/getdeps.py fetch --no-tests fmt
- name: Fetch gflags
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
run: python build/fbcode_builder/getdeps.py fetch --no-tests gflags
- name: Fetch glog
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
run: python build/fbcode_builder/getdeps.py fetch --no-tests glog
- name: Fetch googletest
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
run: python build/fbcode_builder/getdeps.py fetch --no-tests googletest
- name: Fetch lz4
run: python build/fbcode_builder/getdeps.py fetch --no-tests lz4
- name: Fetch perl
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests perl
run: python build/fbcode_builder/getdeps.py fetch --no-tests perl
- name: Fetch openssl
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl
run: python build/fbcode_builder/getdeps.py fetch --no-tests openssl
- name: Fetch snappy
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
run: python build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch zlib
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib
- name: Fetch zstd
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
run: python build/fbcode_builder/getdeps.py fetch --no-tests zlib
- name: Fetch libevent
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
run: python build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch folly
run: python build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly
run: python build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Build libsodium
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium
run: python build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build boost
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost
run: python build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build ninja
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja
run: python build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake
run: python build/fbcode_builder/getdeps.py build --no-tests cmake
- name: Build zstd
run: python build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion
run: python build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build fmt
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt
run: python build/fbcode_builder/getdeps.py build --no-tests fmt
- name: Build gflags
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags
run: python build/fbcode_builder/getdeps.py build --no-tests gflags
- name: Build glog
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog
run: python build/fbcode_builder/getdeps.py build --no-tests glog
- name: Build googletest
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest
run: python build/fbcode_builder/getdeps.py build --no-tests googletest
- name: Build lz4
run: python build/fbcode_builder/getdeps.py build --no-tests lz4
- name: Build perl
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests perl
run: python build/fbcode_builder/getdeps.py build --no-tests perl
- name: Build openssl
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests openssl
run: python build/fbcode_builder/getdeps.py build --no-tests openssl
- name: Build snappy
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy
run: python build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build zlib
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zlib
- name: Build zstd
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd
run: python build/fbcode_builder/getdeps.py build --no-tests zlib
- name: Build libevent
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent
run: python build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build folly
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly
run: python build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build fizz
run: python build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. fizz
run: python build/fbcode_builder/getdeps.py build --src-dir=. fizz
- name: Copy artifacts
run: python build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --src-dir=. fizz _artifacts/windows --final-install-prefix /usr/local
run: python build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. fizz _artifacts/windows --final-install-prefix /usr/local
- uses: actions/upload-artifact@master
with:
name: fizz
path: _artifacts
- name: Test fizz
run: python build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. fizz
run: python build/fbcode_builder/getdeps.py test --src-dir=. fizz
# 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.
# Facebook projects that use `fbcode_builder` for continuous integration
# share this Travis configuration to run builds via Docker.
......
......@@ -8,7 +8,7 @@ The code of conduct is described in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).
## Pull Requests
We actively welcome your pull requests.
1. Fork the repo and create your branch from `master`.
1. Fork the repo and create your branch from 'main`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
......
......@@ -2,8 +2,9 @@
<img width="500" height="216" alt="Fizz" src="logo2x.png">
</p>
[![Travis Build Status](https://api.travis-ci.org/facebookincubator/fizz.svg?branch=master)](https://travis-ci.org/facebookincubator/fizz)
[![CI Status](https://github.com/facebookincubator/fizz/workflows/CI/badge.svg?branch=master)](https://github.com/facebookincubator/fizz/actions?workflow=CI)
![linux](https://github.com/facebookincubator/fizz/workflows/linux/badge.svg?branch=main)
![mac](https://github.com/facebookincubator/fizz/workflows/mac/badge.svg?branch=main)
![windows](https://github.com/facebookincubator/fizz/workflows/windows/badge.svg?branch=main)
Fizz is a TLS 1.3 implementation.
......@@ -12,7 +13,7 @@ final specification), and 23. All major handshake modes are supported, including
PSK resumption, early data, client authentication, and HelloRetryRequest.
More background and details are available on the
[Facebook Code Blog](https://code.fb.com/networking-traffic/deploying-tls-1-3-at-scale-with-fizz-a-performant-open-source-tls-library/).
[Facebook Code Blog](https://engineering.fb.com/2018/08/06/security/fizz/).
## Dependencies
......@@ -82,13 +83,13 @@ supported by Fizz. The binary is called `fizz` and it has similar usage to the
`openssl` or `bssl` commands.
For example, to start a TLS server on port 443 with a specified cert:
```
```sh
fizz server -accept 443 -cert foo.pem -key foo.key
```
Then, on the same host, you can connect with:
```
```sh
fizz client -connect localhost:443
```
......@@ -105,7 +106,7 @@ To begin, you should install the dependencies we need for build. This largely
consists of [folly](https://github.com/facebook/folly)'s dependencies, as well as
[libsodium](https://github.com/jedisct1/libsodium).
```
```sh
sudo apt-get install \
g++ \
cmake \
......@@ -129,7 +130,7 @@ sudo apt-get install \
Then, build and install folly:
```
```sh
git clone https://github.com/facebook/folly
mkdir folly/build_ && cd folly/build_
cmake ..
......@@ -139,7 +140,7 @@ sudo make install
And lastly, build and install fizz.
```
```sh
cd ../..
git clone https://github.com/facebookincubator/fizz
mkdir fizz/build_ && cd fizz/build_
......@@ -161,7 +162,7 @@ the homebrew [website](https://brew.sh/).
It will install and link the required dependencies and also build folly.
This may take several minutes the first time.
```
```sh
cd fizz
./mac-build.sh
```
......@@ -173,7 +174,7 @@ Running it again will be faster and only rebuild `fizz`.
You can also install both `fizz` as well as `folly` to a custom directory
using the build script, by supplying an `INSTALL_PREFIX` env var.
```
```sh
INSTALL_PREFIX=/usr/local ./mac-build.sh
```
......@@ -197,5 +198,3 @@ https://www.facebook.com/whitehat
Facebook's security team will triage your report and determine whether or not is
it eligible for a bounty under our program.
Subproject commit 2c9b2aadbc0801ee3309934f9e37c8a01ed51d20
Subproject commit c47d0c778950043cbbc6af7fde616e9aeaf054ca
......@@ -6,6 +6,4 @@
# to these shared compiler settings in order to avoid accidentally
# breaking a build in another project!
set(CMAKE_CXX_FLAGS_COMMON "-g -Wall -Wextra -Wno-deprecated -Wno-deprecated-declarations")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${CMAKE_CXX_FLAGS_COMMON}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${CMAKE_CXX_FLAGS_COMMON} -O3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -Wno-deprecated -Wno-deprecated-declarations")
......@@ -127,8 +127,14 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE)
)
# Now emit the library rule to compile the sources
if (BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
else ()
set(LIB_TYPE STATIC)
endif ()
add_library(
"${LIB_NAME}" STATIC
"${LIB_NAME}" ${LIB_TYPE}
${generated_sources}
)
......