diff options
author | mark a. foltz <mfoltz@chromium.org> | 2019-11-06 13:40:18 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-06 21:49:37 +0000 |
commit | eeef1daf1d0e6512190d159c38e78c6f111b5e16 (patch) | |
tree | a2a2b29e9482866f5febe83f46cca8ba5217f9d2 /cast/sender | |
parent | b3c27166ab6fb00eefddfaa8796d961414eb0867 (diff) | |
download | openscreen-eeef1daf1d0e6512190d159c38e78c6f111b5e16.tar.gz |
[Open Screen] Consolidate BUILD.gn for cast/
This reduces the overall number of BUILD.gn files for more
maintainability.
It also adds a BUILD.gn for cast/streaming and removes unnecessary
includes.
Bug: openscreen:50
Change-Id: I7f5f083b81a9cee231af1080893d5cbe7a1436d0
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1897010
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'cast/sender')
-rw-r--r-- | cast/sender/BUILD.gn | 38 | ||||
-rw-r--r-- | cast/sender/channel/BUILD.gn | 37 |
2 files changed, 38 insertions, 37 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", + ] +} diff --git a/cast/sender/channel/BUILD.gn b/cast/sender/channel/BUILD.gn deleted file mode 100644 index 5fbed9ce..00000000 --- a/cast/sender/channel/BUILD.gn +++ /dev/null @@ -1,37 +0,0 @@ -# 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 = [ - "cast_auth_util.cc", - "cast_auth_util.h", - "message_util.cc", - "message_util.h", - "sender_socket_factory.cc", - "sender_socket_factory.h", - ] - - deps = [ - "../../common/channel/proto", - ] - - public_deps = [ - "../../../platform", - ] -} - -source_set("unittests") { - testonly = true - sources = [ - "cast_auth_util_unittest.cc", - ] - - deps = [ - ":channel", - "../../../platform", - "../../../third_party/googletest:gtest", - "../../common/certificate/proto:unittest_proto", - "../../common/channel/proto", - ] -} |