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("net") { | 5 component("net") { |
6 output_name = "blimp_net" | 6 output_name = "blimp_net" |
7 sources = [ | 7 sources = [ |
8 "blimp_connection.cc", | 8 "blimp_connection.cc", |
9 "blimp_connection.h", | 9 "blimp_connection.h", |
10 "blimp_connection_statistics.cc", | 10 "blimp_connection_statistics.cc", |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 "//ui/base/ime:text_input_types", | 86 "//ui/base/ime:text_input_types", |
87 ] | 87 ] |
88 } | 88 } |
89 | 89 |
90 source_set("test_support") { | 90 source_set("test_support") { |
91 testonly = true | 91 testonly = true |
92 | 92 |
93 sources = [ | 93 sources = [ |
94 "blob_channel/mock_blob_channel_receiver.cc", | 94 "blob_channel/mock_blob_channel_receiver.cc", |
95 "blob_channel/mock_blob_channel_receiver.h", | 95 "blob_channel/mock_blob_channel_receiver.h", |
| 96 "blob_channel/mock_blob_channel_sender.cc", |
| 97 "blob_channel/mock_blob_channel_sender.h", |
96 "test_common.cc", | 98 "test_common.cc", |
97 "test_common.h", | 99 "test_common.h", |
98 ] | 100 ] |
99 | 101 |
100 deps = [ | 102 deps = [ |
101 ":net", | 103 ":net", |
102 "//blimp/common/proto", | |
103 "//net:test_support", | 104 "//net:test_support", |
104 "//testing/gmock", | 105 "//testing/gmock", |
105 ] | 106 ] |
| 107 |
| 108 public_deps = [ |
| 109 "//blimp/common/proto", |
| 110 ] |
106 } | 111 } |
107 | 112 |
108 source_set("unit_tests") { | 113 source_set("unit_tests") { |
109 testonly = true | 114 testonly = true |
110 | 115 |
111 sources = [ | 116 sources = [ |
112 "blimp_connection_statistics_unittest.cc", | 117 "blimp_connection_statistics_unittest.cc", |
113 "blimp_connection_unittest.cc", | 118 "blimp_connection_unittest.cc", |
114 "blimp_message_checkpointer_unittest.cc", | 119 "blimp_message_checkpointer_unittest.cc", |
115 "blimp_message_demultiplexer_unittest.cc", | 120 "blimp_message_demultiplexer_unittest.cc", |
(...skipping 15 matching lines...) Expand all Loading... |
131 "stream_packet_reader_unittest.cc", | 136 "stream_packet_reader_unittest.cc", |
132 "stream_packet_writer_unittest.cc", | 137 "stream_packet_writer_unittest.cc", |
133 "tcp_transport_unittest.cc", | 138 "tcp_transport_unittest.cc", |
134 "thread_pipe_manager_unittest.cc", | 139 "thread_pipe_manager_unittest.cc", |
135 ] | 140 ] |
136 | 141 |
137 deps = [ | 142 deps = [ |
138 ":net", | 143 ":net", |
139 ":test_support", | 144 ":test_support", |
140 "//base", | 145 "//base", |
141 "//base/test:run_all_unittests", | |
142 "//base/test:test_support", | 146 "//base/test:test_support", |
143 "//blimp/common", | 147 "//blimp/common", |
144 "//blimp/common:test_support", | 148 "//blimp/common:test_support", |
145 "//blimp/common/proto", | 149 "//blimp/common/proto", |
146 "//net:test_support", | 150 "//net:test_support", |
147 "//testing/gmock", | 151 "//testing/gmock", |
148 "//testing/gtest", | 152 "//testing/gtest", |
149 "//third_party/WebKit/public:blink_headers", | 153 "//third_party/WebKit/public:blink_headers", |
150 ] | 154 ] |
151 } | 155 } |
OLD | NEW |