Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: blimp/net/BUILD.gn

Issue 1429193002: Add interfaces for most major Blimp net components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Import multiplexer changes from 1434533005 Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_dispatcher.cc", 9 "blimp_message_ack_observer.h",
10 "blimp_message_dispatcher.h", 10 "blimp_message_demultiplexer.cc",
11 "blimp_message_demultiplexer.h",
12 "blimp_message_multiplexer.cc",
13 "blimp_message_multiplexer.h",
14 "blimp_message_output_buffer.cc",
15 "blimp_message_output_buffer.h",
16 "blimp_message_processor.h",
11 "blimp_message_receiver.h", 17 "blimp_message_receiver.h",
12 "blimp_net_export.h", 18 "blimp_net_export.h",
13 "blimp_transport.h", 19 "blimp_transport.h",
14 "common.cc", 20 "common.cc",
15 "common.h", 21 "common.h",
22 "connection_handler.h",
16 "packet_reader.cc", 23 "packet_reader.cc",
17 "packet_reader.h", 24 "packet_reader.h",
18 "packet_writer.cc", 25 "packet_writer.cc",
19 "packet_writer.h", 26 "packet_writer.h",
20 "tcp_client_transport.cc", 27 "tcp_client_transport.cc",
21 "tcp_client_transport.h", 28 "tcp_client_transport.h",
22 ] 29 ]
23 30
24 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] 31 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ]
25 32
26 deps = [ 33 deps = [
27 "//base", 34 "//base",
28 "//blimp/common/proto", 35 "//blimp/common/proto",
29 "//net", 36 "//net",
30 ] 37 ]
31 } 38 }
32 39
33 source_set("unit_tests") { 40 source_set("unit_tests") {
34 testonly = true 41 testonly = true
35 42
36 sources = [ 43 sources = [
37 "blimp_message_dispatcher_unittest.cc", 44 "blimp_message_demultiplexer_unittest.cc",
38 "packet_reader_unittest.cc", 45 "packet_reader_unittest.cc",
39 "packet_writer_unittest.cc", 46 "packet_writer_unittest.cc",
40 "test_common.cc", 47 "test_common.cc",
41 "test_common.h", 48 "test_common.h",
42 ] 49 ]
43 50
44 deps = [ 51 deps = [
45 ":blimp_net", 52 ":blimp_net",
46 "//base", 53 "//base",
47 "//base/test:run_all_unittests", 54 "//base/test:run_all_unittests",
48 "//base/test:test_support", 55 "//base/test:test_support",
49 "//blimp/common/proto", 56 "//blimp/common/proto",
50 "//net:test_support", 57 "//net:test_support",
51 "//testing/gmock", 58 "//testing/gmock",
52 "//testing/gtest", 59 "//testing/gtest",
53 ] 60 ]
54 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698