aboutsummaryrefslogtreecommitdiff
path: root/cast
diff options
context:
space:
mode:
authormark a. foltz <mfoltz@chromium.org>2021-07-20 17:00:33 -0700
committerOpenscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-07-21 01:08:04 +0000
commitf9715c5369c7dca34da0cb7b416efe65ed52a474 (patch)
treed7c301f5976aaf2492c12471af206c94af787804 /cast
parent0d8bd6b2f8ffde7cfc93a414e38bcc8e93f82699 (diff)
downloadopenscreen-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 'cast')
-rw-r--r--cast/common/BUILD.gn7
-rw-r--r--cast/standalone_receiver/BUILD.gn2
2 files changed, 3 insertions, 6 deletions
diff --git a/cast/common/BUILD.gn b/cast/common/BUILD.gn
index 750d72ea..154d436e 100644
--- a/cast/common/BUILD.gn
+++ b/cast/common/BUILD.gn
@@ -88,11 +88,10 @@ source_set("public") {
]
deps = [
- "../../discovery:dnssd",
- "../../discovery:mdns",
"../../discovery:public",
"../../platform",
"../../third_party/abseil",
+ "../../util",
]
}
@@ -107,7 +106,6 @@ if (!build_with_chromium) {
deps = [
":public",
"../../discovery:dnssd",
- "../../discovery:mdns",
"../../discovery:public",
"../../platform:standalone_impl",
"../../testing/util",
@@ -132,8 +130,7 @@ source_set("test_helpers") {
":certificate",
":channel",
":public",
- "../../discovery:dnssd",
- "../../discovery:mdns",
+ "../../discovery:public",
"../../platform:test",
"../../testing/util",
"../../third_party/abseil",
diff --git a/cast/standalone_receiver/BUILD.gn b/cast/standalone_receiver/BUILD.gn
index 956a1a71..23d394ac 100644
--- a/cast/standalone_receiver/BUILD.gn
+++ b/cast/standalone_receiver/BUILD.gn
@@ -23,7 +23,7 @@ if (!build_with_chromium) {
]
shared_deps = [
- "../../discovery:common",
+ "../../discovery:dnssd",
"../../discovery:public",
"../../platform:standalone_impl",
"../common:public",