Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
|
mark a. foltz
2017/06/01 21:26:35
2017
zhaobin
2017/06/01 22:00:37
Done.
| |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 static_library("cast_channel") { | 5 static_library("cast_channel") { |
| 6 sources = [ | 6 sources = [ |
| 7 "cast_auth_util.cc", | |
| 8 "cast_auth_util.h", | |
| 7 "cast_channel_enum.cc", | 9 "cast_channel_enum.cc", |
| 8 "cast_channel_enum.h", | 10 "cast_channel_enum.h", |
| 11 "cast_framer.cc", | |
| 12 "cast_framer.h", | |
| 13 "cast_message_util.cc", | |
| 14 "cast_message_util.h", | |
| 15 "cast_socket.cc", | |
| 16 "cast_socket.h", | |
| 17 "cast_socket_service.cc", | |
| 18 "cast_socket_service.h", | |
| 19 "cast_socket_service_factory.cc", | |
| 20 "cast_socket_service_factory.h", | |
| 21 "cast_transport.cc", | |
| 22 "cast_transport.h", | |
| 23 "keep_alive_delegate.cc", | |
| 24 "keep_alive_delegate.h", | |
| 25 "logger.cc", | |
| 26 "logger.h", | |
| 9 ] | 27 ] |
| 10 deps = [ | 28 deps = [ |
| 11 "//base", | 29 "//base", |
| 30 "//components/cast_certificate", | |
| 31 "//components/cast_channel/proto:cast_channel_proto", | |
| 32 "//content/public/browser", | |
| 33 "//crypto", | |
| 34 "//net", | |
| 12 ] | 35 ] |
| 13 } | 36 } |
| 37 | |
| 38 static_library("test_support") { | |
| 39 testonly = true | |
| 40 sources = [ | |
| 41 "cast_test_util.cc", | |
| 42 "cast_test_util.h", | |
| 43 ] | |
| 44 deps = [ | |
| 45 ":cast_channel", | |
| 46 "//base", | |
| 47 "//components/cast_channel/proto:cast_channel_proto", | |
| 48 "//net", | |
| 49 "//testing/gmock", | |
| 50 "//testing/gtest", | |
| 51 ] | |
| 52 } | |
| 53 | |
| 54 source_set("unit_tests") { | |
| 55 testonly = true | |
| 56 sources = [ | |
| 57 "cast_auth_util_unittest.cc", | |
| 58 "cast_framer_unittest.cc", | |
| 59 "cast_socket_service_unittest.cc", | |
| 60 "cast_socket_unittest.cc", | |
| 61 "cast_transport_unittest.cc", | |
| 62 "keep_alive_delegate_unittest.cc", | |
| 63 "logger_unittest.cc", | |
| 64 ] | |
| 65 deps = [ | |
| 66 ":cast_channel", | |
| 67 ":test_support", | |
| 68 "//base", | |
| 69 "//components/cast_channel/proto:cast_channel_proto", | |
| 70 "//net", | |
| 71 "//testing/gmock", | |
| 72 "//testing/gtest", | |
| 73 ] | |
| 74 } | |
| OLD | NEW |