blob: 283580624aa9aa5cd592eab23d969ac34eba682d [file] [log] [blame] [view]
Fabrice de Gans-Riberie17abf54b2020-01-28 00:29:541This directory contains an implementation of the
2[Open Screen](../../third_party/openscreen) platform API along with utility
3functions, using the `//base` and `//net` directories in Chromium.
David Dorwin95a7a722022-08-22 20:46:344
5Any Chromium target that (indirectly) depends on
6`//third_party/openscreen/src/platform:api` must also (indirectly) depend on one
7of two components provided by this component. In nearly all cases, the dependency
8should be in the same `deps` as `//third_party/openscreen/src/platform:api`.
9Most external targets should depend on `//components/openscreen_platform`.
10Targets that cannot use the Network Service should instead depend on
11`//components/openscreen_platform:openscreen_platform_using_net_sockets`, which
12uses a `//net`-based implementation of `UdpSocket`. These two targets are
13incompatible with each other.
14
15A very small set of intermediary targets that are used by both types of targets
16above depend directly on
17`//components/openscreen_platform:openscreen_platform_without_sockets` and
18push the requirement to depend on one of the two public targets up to the
19dependency chain.