aboutsummaryrefslogtreecommitdiff
path: root/cast/sender/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'cast/sender/BUILD.gn')
-rw-r--r--cast/sender/BUILD.gn38
1 files changed, 38 insertions, 0 deletions
diff --git a/cast/sender/BUILD.gn b/cast/sender/BUILD.gn
new file mode 100644
index 00000000..05932260
--- /dev/null
+++ b/cast/sender/BUILD.gn
@@ -0,0 +1,38 @@
+# Copyright 2019 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("channel") {
+ sources = [
+ "channel/cast_auth_util.cc",
+ "channel/cast_auth_util.h",
+ "channel/message_util.cc",
+ "channel/message_util.h",
+ "channel/sender_socket_factory.cc",
+ "channel/sender_socket_factory.h",
+ ]
+
+ deps = [
+ "../common:certificate_proto",
+ "../common:channel_proto",
+ ]
+
+ public_deps = [
+ "../../platform",
+ ]
+}
+
+source_set("unittests") {
+ testonly = true
+ sources = [
+ "channel/cast_auth_util_unittest.cc",
+ ]
+
+ deps = [
+ ":channel",
+ "../../platform",
+ "../../third_party/googletest:gtest",
+ "../common:certificate_proto",
+ "../common:certificate_unittest_proto",
+ ]
+}