diff options
author | mark a. foltz <mfoltz@chromium.org> | 2021-07-20 17:00:33 -0700 |
---|---|---|
committer | Openscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-07-21 01:08:04 +0000 |
commit | f9715c5369c7dca34da0cb7b416efe65ed52a474 (patch) | |
tree | d7c301f5976aaf2492c12471af206c94af787804 /discovery/mdns | |
parent | 0d8bd6b2f8ffde7cfc93a414e38bcc8e93f82699 (diff) | |
download | openscreen-f9715c5369c7dca34da0cb7b416efe65ed52a474.tar.gz |
[Open Screen] Create a //discovery:public target
This creates a :public GN target for other Open Screen modules (or
embedders) to depend on.
It also:
- Consolidates the DNS-SD public APIs.
- Adds DEPS rules to enforce use of public headers.
- Adds DEPS rules to enforce layering inside of //discovery (with some
exceptions).
- Adjusts deps for the //discovery targets.
Bug: b/179705382
Change-Id: Ice48b8d8937d3c68351d693b348a2928f14dfb4b
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3032947
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Ryan Keane <rwkeane@google.com>
Diffstat (limited to 'discovery/mdns')
-rw-r--r-- | discovery/mdns/DEPS | 2 | ||||
-rw-r--r-- | discovery/mdns/public/DEPS | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/discovery/mdns/DEPS b/discovery/mdns/DEPS index 309d03f4..c0348a87 100644 --- a/discovery/mdns/DEPS +++ b/discovery/mdns/DEPS @@ -2,4 +2,6 @@ include_rules = [ '+discovery/mdns/public', + # DNS-SD is layered on top of mDNS. + '-discovery/dnssd', ] diff --git a/discovery/mdns/public/DEPS b/discovery/mdns/public/DEPS new file mode 100644 index 00000000..5b65c0e4 --- /dev/null +++ b/discovery/mdns/public/DEPS @@ -0,0 +1,8 @@ +# -*- Mode: Python; -*- +include_rules = [ + # Layering rule. + '-discovery/mdns', + # Except ourselves. + '+discovery/mdns/public', +] + |