1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Joseph Beshay
cc9ccc8f99 Remove ThreadLocalBatchWriter
Summary: Remove ThreadLocalBatchWriter since it's not being used.

Reviewed By: mjoras

Differential Revision: D50809221

fbshipit-source-id: 3754e64320518165654217b1e368429c69a944c5
2023-11-07 14:51:15 -08:00
Konstantin Tsoy
305301384d Add separate targets for mvfst mobile
Summary:
We've been using `--config mvfst.use_libev=true` to link in mvfst mobile instead of full mvfst into CLI tools etc. It allowed for fast initial development, but is a pain when integrating into actual apps (e.g. ig4a).

This change adds a separate set of "mobile" targets that can be used instead of the buck config option.

The main (new) target that will be used is `quic/client:client_mobile` - this is a high level one that will be included by MNS.

Here is a list of all of the new targets:
```
* quic/client:client_mobile
* quic/client:state_and_handshake_mobile
* quic/fizz/client:fizz_client_handshake_mobile
* quic/happyeyeballs:happyeyeballs_mobile
* quic/api:transport_mobile
* quic/api:quic_batch_writer_mobile
* quic/common:events_mobile
* quic/common:timers_mobile
* quic/common:looper_mobile
* quic/common:quic_async_udp_socket_wrapper_mobile
* quic/common:quic_async_udp_socket_impl_mobile
* quic/common:socket_util_mobile
```

Most of the new "*_mobile" targets share a lot of deps with existing non-mobile targets, and I'll collapse those in a separate diff.

Reviewed By: jbeshay, lhuang04

Differential Revision: D49779629

fbshipit-source-id: ec33d9f82244148f57d580d03894823ba6bb4947
2023-10-04 12:24:59 -07:00
Konstantin Tsoy
a7a9555147 Add separate impl for QuicBatchWriterFactory for mobile/non-mobile
Summary:
QuicBatchWriterFactoryMobile.cpp will be compiled for mvfst mobile,
QuicBatchWriterFactory.cpp will be used for normal mvfst.

Reviewed By: jbeshay, mjoras

Differential Revision: D47113897

fbshipit-source-id: eeda30f6205a9eec380f0304fc442464e10b8653
2023-07-13 18:39:45 -07:00