| Index: components/cast_channel/BUILD.gn
|
| diff --git a/components/cast_channel/BUILD.gn b/components/cast_channel/BUILD.gn
|
| index ef44a6e87358ea7a760ca231e2da180290d484b9..71f791ed1be20e2950bb92eadca09706922d0888 100644
|
| --- a/components/cast_channel/BUILD.gn
|
| +++ b/components/cast_channel/BUILD.gn
|
| @@ -4,10 +4,77 @@
|
|
|
| static_library("cast_channel") {
|
| sources = [
|
| + "cast_auth_util.cc",
|
| + "cast_auth_util.h",
|
| "cast_channel_enum.cc",
|
| "cast_channel_enum.h",
|
| + "cast_framer.cc",
|
| + "cast_framer.h",
|
| + "cast_message_util.cc",
|
| + "cast_message_util.h",
|
| + "cast_socket.cc",
|
| + "cast_socket.h",
|
| + "cast_socket_service.cc",
|
| + "cast_socket_service.h",
|
| + "cast_socket_service_factory.cc",
|
| + "cast_socket_service_factory.h",
|
| + "cast_transport.cc",
|
| + "cast_transport.h",
|
| + "keep_alive_delegate.cc",
|
| + "keep_alive_delegate.h",
|
| + "logger.cc",
|
| + "logger.h",
|
| ]
|
| deps = [
|
| "//base",
|
| + "//components/cast_certificate",
|
| + "//components/cast_channel/proto:cast_channel_proto",
|
| + "//components/keyed_service/content",
|
| + "//components/keyed_service/core",
|
| + "//content/public/browser",
|
| + "//crypto",
|
| + "//net",
|
| + ]
|
| +}
|
| +
|
| +static_library("test_support") {
|
| + testonly = true
|
| + sources = [
|
| + "cast_test_util.cc",
|
| + "cast_test_util.h",
|
| + ]
|
| + deps = [
|
| + ":cast_channel",
|
| + "//base",
|
| + "//components/cast_channel/proto:cast_channel_proto",
|
| + "//net",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "cast_auth_util_unittest.cc",
|
| + "cast_framer_unittest.cc",
|
| + "cast_socket_service_unittest.cc",
|
| + "cast_socket_unittest.cc",
|
| + "cast_transport_unittest.cc",
|
| + "keep_alive_delegate_unittest.cc",
|
| + "logger_unittest.cc",
|
| + ]
|
| + deps = [
|
| + ":cast_channel",
|
| + ":test_support",
|
| + "//base/test:test_support",
|
| + "//components/cast_certificate",
|
| + "//components/cast_certificate:test_support",
|
| + "//components/cast_certificate/proto:unittest_proto",
|
| + "//components/cast_channel/proto:cast_channel_proto",
|
| + "//content/test:test_support",
|
| + "//net:test_support",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| ]
|
| }
|
|
|