| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 | |
| 5 component("net") { | |
| 6 output_name = "blimp_net" | |
| 7 sources = [ | |
| 8 "blimp_connection.cc", | |
| 9 "blimp_connection.h", | |
| 10 "blimp_engine_transport.h", | |
| 11 "blimp_message_checkpoint_observer.h", | |
| 12 "blimp_message_checkpointer.cc", | |
| 13 "blimp_message_checkpointer.h", | |
| 14 "blimp_message_demultiplexer.cc", | |
| 15 "blimp_message_demultiplexer.h", | |
| 16 "blimp_message_multiplexer.cc", | |
| 17 "blimp_message_multiplexer.h", | |
| 18 "blimp_message_output_buffer.cc", | |
| 19 "blimp_message_output_buffer.h", | |
| 20 "blimp_message_processor.h", | |
| 21 "blimp_message_pump.cc", | |
| 22 "blimp_message_pump.h", | |
| 23 "blimp_message_thread_pipe.cc", | |
| 24 "blimp_message_thread_pipe.h", | |
| 25 "blimp_stats.cc", | |
| 26 "blimp_stats.h", | |
| 27 "blimp_transport.h", | |
| 28 "blob_channel/blob_channel_receiver.cc", | |
| 29 "blob_channel/blob_channel_receiver.h", | |
| 30 "blob_channel/blob_channel_sender.h", | |
| 31 "blob_channel/blob_channel_sender_impl.cc", | |
| 32 "blob_channel/blob_channel_sender_impl.h", | |
| 33 "blob_channel/helium_blob_receiver_delegate.cc", | |
| 34 "blob_channel/helium_blob_receiver_delegate.h", | |
| 35 "blob_channel/helium_blob_sender_delegate.cc", | |
| 36 "blob_channel/helium_blob_sender_delegate.h", | |
| 37 "browser_connection_handler.cc", | |
| 38 "browser_connection_handler.h", | |
| 39 "client_connection_manager.cc", | |
| 40 "client_connection_manager.h", | |
| 41 "common.cc", | |
| 42 "common.h", | |
| 43 "compressed_packet_reader.cc", | |
| 44 "compressed_packet_reader.h", | |
| 45 "compressed_packet_writer.cc", | |
| 46 "compressed_packet_writer.h", | |
| 47 "connection_error_observer.h", | |
| 48 "connection_handler.h", | |
| 49 "delta_encoding.h", | |
| 50 "engine_authentication_handler.cc", | |
| 51 "engine_authentication_handler.h", | |
| 52 "engine_connection_manager.cc", | |
| 53 "engine_connection_manager.h", | |
| 54 "exact_match_cert_verifier.cc", | |
| 55 "exact_match_cert_verifier.h", | |
| 56 "fake_blimp_message_processor.cc", | |
| 57 "fake_blimp_message_processor.h", | |
| 58 "fake_pipe_manager.cc", | |
| 59 "fake_pipe_manager.h", | |
| 60 "input_message_converter.cc", | |
| 61 "input_message_converter.h", | |
| 62 "input_message_generator.cc", | |
| 63 "input_message_generator.h", | |
| 64 "message_port.cc", | |
| 65 "message_port.h", | |
| 66 "null_blimp_message_processor.cc", | |
| 67 "null_blimp_message_processor.h", | |
| 68 "pipe_manager.h", | |
| 69 "ssl_client_transport.cc", | |
| 70 "ssl_client_transport.h", | |
| 71 "stream_packet_reader.cc", | |
| 72 "stream_packet_reader.h", | |
| 73 "stream_packet_writer.cc", | |
| 74 "stream_packet_writer.h", | |
| 75 "tcp_client_transport.cc", | |
| 76 "tcp_client_transport.h", | |
| 77 "tcp_connection.cc", | |
| 78 "tcp_connection.h", | |
| 79 "tcp_engine_transport.cc", | |
| 80 "tcp_engine_transport.h", | |
| 81 "thread_pipe_manager.cc", | |
| 82 "thread_pipe_manager.h", | |
| 83 ] | |
| 84 | |
| 85 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] | |
| 86 | |
| 87 deps = [ | |
| 88 ":net_export", | |
| 89 "//base", | |
| 90 "//blimp/common", | |
| 91 "//content/public/browser", | |
| 92 "//net", | |
| 93 "//third_party/WebKit/public:blink_headers", | |
| 94 "//third_party/grpc:grpc++_unsecure", | |
| 95 "//third_party/zlib", | |
| 96 "//ui/base/ime:text_input_types", | |
| 97 ] | |
| 98 | |
| 99 public_deps = [ | |
| 100 "//blimp/common/proto", | |
| 101 ] | |
| 102 } | |
| 103 | |
| 104 source_set("net_export") { | |
| 105 sources = [ | |
| 106 "blimp_net_export.h", | |
| 107 ] | |
| 108 } | |
| 109 | |
| 110 source_set("test_support") { | |
| 111 testonly = true | |
| 112 | |
| 113 sources = [ | |
| 114 "blob_channel/mock_blob_channel_receiver.cc", | |
| 115 "blob_channel/mock_blob_channel_receiver.h", | |
| 116 "blob_channel/mock_blob_channel_sender.cc", | |
| 117 "blob_channel/mock_blob_channel_sender.h", | |
| 118 "test_common.cc", | |
| 119 "test_common.h", | |
| 120 ] | |
| 121 | |
| 122 deps = [ | |
| 123 ":net", | |
| 124 "//net:test_support", | |
| 125 "//testing/gmock", | |
| 126 ] | |
| 127 | |
| 128 public_deps = [ | |
| 129 "//blimp/common/proto", | |
| 130 ] | |
| 131 } | |
| 132 | |
| 133 source_set("unit_tests") { | |
| 134 testonly = true | |
| 135 | |
| 136 sources = [ | |
| 137 "blimp_message_checkpointer_unittest.cc", | |
| 138 "blimp_message_demultiplexer_unittest.cc", | |
| 139 "blimp_message_multiplexer_unittest.cc", | |
| 140 "blimp_message_output_buffer_unittest.cc", | |
| 141 "blimp_message_pump_unittest.cc", | |
| 142 "blimp_message_thread_pipe_unittest.cc", | |
| 143 "blimp_stats_unittest.cc", | |
| 144 "blob_channel/blob_channel_integration_test.cc", | |
| 145 "blob_channel/blob_channel_receiver_unittest.cc", | |
| 146 "blob_channel/blob_channel_sender_unittest.cc", | |
| 147 "blob_channel/helium_blob_channel_unittest.cc", | |
| 148 "browser_connection_handler_unittest.cc", | |
| 149 "client_connection_manager_unittest.cc", | |
| 150 "compressed_packet_unittest.cc", | |
| 151 "delta_encoding_unittest.cc", | |
| 152 "engine_authentication_handler_unittest.cc", | |
| 153 "engine_connection_manager_unittest.cc", | |
| 154 "input_message_unittest.cc", | |
| 155 "ssl_client_transport_unittest.cc", | |
| 156 "stream_packet_reader_unittest.cc", | |
| 157 "stream_packet_writer_unittest.cc", | |
| 158 "tcp_connection_unittest.cc", | |
| 159 "tcp_transport_unittest.cc", | |
| 160 "thread_pipe_manager_unittest.cc", | |
| 161 ] | |
| 162 | |
| 163 deps = [ | |
| 164 ":net", | |
| 165 ":test_support", | |
| 166 "//base", | |
| 167 "//base/test:test_support", | |
| 168 "//blimp/common", | |
| 169 "//blimp/common:test_support", | |
| 170 "//blimp/common/proto", | |
| 171 "//net:test_support", | |
| 172 "//testing/gmock", | |
| 173 "//testing/gtest", | |
| 174 "//third_party/WebKit/public:blink_headers", | |
| 175 "//third_party/grpc:grpc++_unsecure", | |
| 176 ] | |
| 177 } | |
| OLD | NEW |