| 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_receiver.h", | 17 "blimp_message_receiver.h", |
| 18 "blimp_net_export.h", | 18 "blimp_net_export.h", |
| 19 "blimp_transport.h", | 19 "blimp_transport.h", |
| 20 "client_connection_manager.cc", | 20 "client_connection_manager.cc", |
| 21 "client_connection_manager.h", | 21 "client_connection_manager.h", |
| 22 "common.cc", | 22 "common.cc", |
| 23 "common.h", | 23 "common.h", |
| 24 "connection_handler.h", | 24 "connection_handler.h", |
| 25 "engine_connection_manager.cc", | 25 "engine_connection_manager.cc", |
| 26 "engine_connection_manager.h", | 26 "engine_connection_manager.h", |
| 27 "input_message_generator.cc", |
| 28 "input_message_generator.h", |
| 29 "input_message_processor.cc", |
| 30 "input_message_processor.h", |
| 27 "stream_packet_reader.cc", | 31 "stream_packet_reader.cc", |
| 28 "stream_packet_reader.h", | 32 "stream_packet_reader.h", |
| 29 "stream_packet_writer.cc", | 33 "stream_packet_writer.cc", |
| 30 "stream_packet_writer.h", | 34 "stream_packet_writer.h", |
| 31 "stream_socket_connection.cc", | 35 "stream_socket_connection.cc", |
| 32 "stream_socket_connection.h", | 36 "stream_socket_connection.h", |
| 33 "tcp_client_transport.cc", | 37 "tcp_client_transport.cc", |
| 34 "tcp_client_transport.h", | 38 "tcp_client_transport.h", |
| 35 "tcp_engine_transport.cc", | 39 "tcp_engine_transport.cc", |
| 36 "tcp_engine_transport.h", | 40 "tcp_engine_transport.h", |
| 37 ] | 41 ] |
| 38 | 42 |
| 39 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] | 43 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] |
| 40 | 44 |
| 41 deps = [ | 45 deps = [ |
| 42 "//base", | 46 "//base", |
| 43 "//blimp/common/proto", | 47 "//blimp/common/proto", |
| 44 "//net", | 48 "//net", |
| 45 ] | 49 ] |
| 46 } | 50 } |
| 47 | 51 |
| 48 source_set("unit_tests") { | 52 source_set("unit_tests") { |
| 49 testonly = true | 53 testonly = true |
| 50 | 54 |
| 51 sources = [ | 55 sources = [ |
| 52 "blimp_message_demultiplexer_unittest.cc", | 56 "blimp_message_demultiplexer_unittest.cc", |
| 53 "blimp_message_multiplexer_unittest.cc", | 57 "blimp_message_multiplexer_unittest.cc", |
| 58 "input_message_unittest.cc", |
| 54 "stream_packet_reader_unittest.cc", | 59 "stream_packet_reader_unittest.cc", |
| 55 "stream_packet_writer_unittest.cc", | 60 "stream_packet_writer_unittest.cc", |
| 56 "tcp_transport_unittest.cc", | 61 "tcp_transport_unittest.cc", |
| 57 "test_common.cc", | 62 "test_common.cc", |
| 58 "test_common.h", | 63 "test_common.h", |
| 59 ] | 64 ] |
| 60 | 65 |
| 61 deps = [ | 66 deps = [ |
| 62 ":blimp_net", | 67 ":blimp_net", |
| 63 "//base", | 68 "//base", |
| 64 "//base/test:run_all_unittests", | 69 "//base/test:run_all_unittests", |
| 65 "//base/test:test_support", | 70 "//base/test:test_support", |
| 66 "//blimp/common/proto", | 71 "//blimp/common/proto", |
| 67 "//net:test_support", | 72 "//net:test_support", |
| 68 "//testing/gmock", | 73 "//testing/gmock", |
| 69 "//testing/gtest", | 74 "//testing/gtest", |
| 70 ] | 75 ] |
| 71 } | 76 } |
| OLD | NEW |