aboutsummaryrefslogtreecommitdiff
path: root/cast/sender
diff options
context:
space:
mode:
authormark a. foltz <mfoltz@chromium.org>2019-05-01 16:34:00 -0700
committerCommit Bot <commit-bot@chromium.org>2019-05-02 20:30:52 +0000
commit513b5595a8c07d9814db163aaf869d9404413cda (patch)
tree472214d936ebb7178ff97bbdb9f07e53e2d0a128 /cast/sender
parentf1e4bb71be2c8b58871cf4788528039d18cbab95 (diff)
downloadopenscreen-513b5595a8c07d9814db163aaf869d9404413cda.tar.gz
[libcast] Adds Cast folder structure.
This adds a basic folder structure for libcast code with README files and DEPS to enforce component layering per the design doc. Change-Id: I42555ae1f6b5f696bbbd4a8859da801740382304 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1592675 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Max Yakimakha <yakimakha@google.com> Reviewed-by: Brandon Tolsch <btolsch@chromium.org>
Diffstat (limited to 'cast/sender')
-rw-r--r--cast/sender/DEPS7
-rw-r--r--cast/sender/public/DEPS12
-rw-r--r--cast/sender/public/README.md5
3 files changed, 24 insertions, 0 deletions
diff --git a/cast/sender/DEPS b/cast/sender/DEPS
new file mode 100644
index 00000000..e386f11a
--- /dev/null
+++ b/cast/sender/DEPS
@@ -0,0 +1,7 @@
+# -*- Mode: Python; -*-
+
+include_rules = [
+ # libcast sender code must not depend on the receiver.
+ '+cast/common/public',
+ '+cast/sender'
+]
diff --git a/cast/sender/public/DEPS b/cast/sender/public/DEPS
new file mode 100644
index 00000000..44de6584
--- /dev/null
+++ b/cast/sender/public/DEPS
@@ -0,0 +1,12 @@
+# -*- Mode: Python; -*-
+
+include_rules = [
+ # By default, openscreen implementation libraries should not be exposed
+ # through public APIs.
+ '-base',
+ '-platform',
+
+ # Dependencies on the implementation are not allowed in public/.
+ '-cast/sender',
+ '+cast/sender/public'
+]
diff --git a/cast/sender/public/README.md b/cast/sender/public/README.md
new file mode 100644
index 00000000..ace86163
--- /dev/null
+++ b/cast/sender/public/README.md
@@ -0,0 +1,5 @@
+# cast/receiver/public
+
+This module contains an implementation of the Cast "sender", i.e. the client
+that discovers Cast devices on the LAN and launches apps on them.
+