1# Copyright 2019 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5source_set("channel") { 6 sources = [ 7 "channel/cast_auth_util.cc", 8 "channel/cast_auth_util.h", 9 "channel/message_util.cc", 10 "channel/message_util.h", 11 "channel/sender_socket_factory.cc", 12 "public/sender_socket_factory.h", 13 ] 14 15 deps = [ 16 "../../third_party/abseil", 17 "../common:channel", 18 "../common/certificate/proto:certificate_proto", 19 "../common/channel/proto:channel_proto", 20 ] 21 22 public_deps = [ 23 "../../platform", 24 "../../third_party/boringssl", 25 "../../util", 26 "../common:certificate", 27 "../common:channel", 28 ] 29} 30 31source_set("sender") { 32 sources = [ 33 "cast_app_availability_tracker.cc", 34 "cast_app_availability_tracker.h", 35 "cast_app_discovery_service_impl.cc", 36 "cast_app_discovery_service_impl.h", 37 "cast_platform_client.cc", 38 "cast_platform_client.h", 39 "public/cast_app_discovery_service.cc", 40 "public/cast_app_discovery_service.h", 41 "public/cast_media_source.cc", 42 "public/cast_media_source.h", 43 ] 44 45 public_deps = [ 46 ":channel", 47 "../../platform", 48 "../../third_party/abseil", 49 "../../util", 50 "../common:channel", 51 "../common:public", 52 ] 53} 54 55source_set("test_helpers") { 56 testonly = true 57 sources = [ 58 "testing/test_helpers.cc", 59 "testing/test_helpers.h", 60 ] 61 62 deps = [ 63 "../../third_party/googletest:gtest", 64 "../../util", 65 "../common:channel", 66 "../receiver:channel", 67 ] 68 69 public_deps = [ ":channel" ] 70} 71 72source_set("unittests") { 73 testonly = true 74 sources = [ 75 "cast_app_availability_tracker_unittest.cc", 76 "cast_app_discovery_service_impl_unittest.cc", 77 "cast_platform_client_unittest.cc", 78 "channel/cast_auth_util_unittest.cc", 79 ] 80 81 deps = [ 82 ":channel", 83 ":sender", 84 ":test_helpers", 85 "../../platform", 86 "../../platform:test", 87 "../../testing/util", 88 "../../third_party/googletest:gmock", 89 "../../third_party/googletest:gtest", 90 "../../util", 91 "../common:test_helpers", 92 "../common/certificate/proto:certificate_proto", 93 "../common/certificate/proto:certificate_unittest_proto", 94 ] 95} 96