| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 component("blimp_net") { | 5 component("blimp_net") { |
| 6 sources = [ | 6 sources = [ |
| 7 "blimp_connection.cc", | 7 "blimp_connection.cc", |
| 8 "blimp_connection.h", | 8 "blimp_connection.h", |
| 9 "blimp_message_checkpoint_observer.h", | 9 "blimp_message_checkpoint_observer.h", |
| 10 "blimp_message_demultiplexer.cc", | 10 "blimp_message_demultiplexer.cc", |
| 11 "blimp_message_demultiplexer.h", | 11 "blimp_message_demultiplexer.h", |
| 12 "blimp_message_multiplexer.cc", | 12 "blimp_message_multiplexer.cc", |
| 13 "blimp_message_multiplexer.h", | 13 "blimp_message_multiplexer.h", |
| 14 "blimp_message_output_buffer.cc", | 14 "blimp_message_output_buffer.cc", |
| 15 "blimp_message_output_buffer.h", | 15 "blimp_message_output_buffer.h", |
| 16 "blimp_message_processor.h", | 16 "blimp_message_processor.h", |
| 17 "blimp_message_pump.cc", | 17 "blimp_message_pump.cc", |
| 18 "blimp_message_pump.h", | 18 "blimp_message_pump.h", |
| 19 "blimp_message_receiver.h", | 19 "blimp_message_receiver.h", |
| 20 "blimp_net_export.h", | 20 "blimp_net_export.h", |
| 21 "blimp_transport.h", | 21 "blimp_transport.h", |
| 22 "client_connection_manager.cc", | 22 "client_connection_manager.cc", |
| 23 "client_connection_manager.h", | 23 "client_connection_manager.h", |
| 24 "common.cc", | 24 "common.cc", |
| 25 "common.h", | 25 "common.h", |
| 26 "connection_error_observer.h", | 26 "connection_error_observer.h", |
| 27 "connection_handler.h", | 27 "connection_handler.h", |
| 28 "engine_connection_manager.cc", | 28 "engine_connection_manager.cc", |
| 29 "engine_connection_manager.h", | 29 "engine_connection_manager.h", |
| 30 "input_message_generator.cc", |
| 31 "input_message_generator.h", |
| 32 "input_message_processor.cc", |
| 33 "input_message_processor.h", |
| 30 "stream_packet_reader.cc", | 34 "stream_packet_reader.cc", |
| 31 "stream_packet_reader.h", | 35 "stream_packet_reader.h", |
| 32 "stream_packet_writer.cc", | 36 "stream_packet_writer.cc", |
| 33 "stream_packet_writer.h", | 37 "stream_packet_writer.h", |
| 34 "stream_socket_connection.cc", | 38 "stream_socket_connection.cc", |
| 35 "stream_socket_connection.h", | 39 "stream_socket_connection.h", |
| 36 "tcp_client_transport.cc", | 40 "tcp_client_transport.cc", |
| 37 "tcp_client_transport.h", | 41 "tcp_client_transport.h", |
| 38 "tcp_engine_transport.cc", | 42 "tcp_engine_transport.cc", |
| 39 "tcp_engine_transport.h", | 43 "tcp_engine_transport.h", |
| 40 ] | 44 ] |
| 41 | 45 |
| 42 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] | 46 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] |
| 43 | 47 |
| 44 deps = [ | 48 deps = [ |
| 45 "//base", | 49 "//base", |
| 46 "//blimp/common/proto", | 50 "//blimp/common/proto", |
| 47 "//net", | 51 "//net", |
| 48 ] | 52 ] |
| 49 } | 53 } |
| 50 | 54 |
| 51 source_set("unit_tests") { | 55 source_set("unit_tests") { |
| 52 testonly = true | 56 testonly = true |
| 53 | 57 |
| 54 sources = [ | 58 sources = [ |
| 55 "blimp_message_demultiplexer_unittest.cc", | 59 "blimp_message_demultiplexer_unittest.cc", |
| 56 "blimp_message_multiplexer_unittest.cc", | 60 "blimp_message_multiplexer_unittest.cc", |
| 57 "blimp_message_pump_unittest.cc", | 61 "blimp_message_pump_unittest.cc", |
| 62 "input_message_unittest.cc", |
| 58 "stream_packet_reader_unittest.cc", | 63 "stream_packet_reader_unittest.cc", |
| 59 "stream_packet_writer_unittest.cc", | 64 "stream_packet_writer_unittest.cc", |
| 60 "tcp_transport_unittest.cc", | 65 "tcp_transport_unittest.cc", |
| 61 "test_common.cc", | 66 "test_common.cc", |
| 62 "test_common.h", | 67 "test_common.h", |
| 63 ] | 68 ] |
| 64 | 69 |
| 65 deps = [ | 70 deps = [ |
| 66 ":blimp_net", | 71 ":blimp_net", |
| 67 "//base", | 72 "//base", |
| 68 "//base/test:run_all_unittests", | 73 "//base/test:run_all_unittests", |
| 69 "//base/test:test_support", | 74 "//base/test:test_support", |
| 70 "//blimp/common/proto", | 75 "//blimp/common/proto", |
| 71 "//net:test_support", | 76 "//net:test_support", |
| 72 "//testing/gmock", | 77 "//testing/gmock", |
| 73 "//testing/gtest", | 78 "//testing/gtest", |
| 74 ] | 79 ] |
| 75 } | 80 } |
| OLD | NEW |