Index: blimp/net/BUILD.gn |
diff --git a/blimp/net/BUILD.gn b/blimp/net/BUILD.gn |
index feb3adeec8c15f2ad5a3e90600b3920102aff439..4010a0ba8a364a14e8ec6bdd10348230e8c95fb4 100644 |
--- a/blimp/net/BUILD.gn |
+++ b/blimp/net/BUILD.gn |
@@ -56,6 +56,23 @@ component("blimp_net") { |
] |
} |
+source_set("test_support") { |
+ testonly = true |
+ |
+ sources = [ |
+ "blimp_net_test_export.h", |
+ "test_common.cc", |
+ "test_common.h", |
+ ] |
+ |
+ deps = [ |
+ ":blimp_net", |
+ "//blimp/common/proto", |
+ "//net:test_support", |
+ "//testing/gmock", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
@@ -69,12 +86,11 @@ source_set("unit_tests") { |
"stream_packet_reader_unittest.cc", |
"stream_packet_writer_unittest.cc", |
"tcp_transport_unittest.cc", |
- "test_common.cc", |
- "test_common.h", |
] |
deps = [ |
":blimp_net", |
+ ":test_support", |
"//base", |
"//base/test:run_all_unittests", |
"//base/test:test_support", |