Index: blimp/net/BUILD.gn |
diff --git a/blimp/net/BUILD.gn b/blimp/net/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c948004392d01c6ecdcc6c6acc3ed5cb10eca87 |
--- /dev/null |
+++ b/blimp/net/BUILD.gn |
@@ -0,0 +1,39 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//testing/test.gni") |
+ |
+component("net") { |
+ sources = [ |
+ "blimp_message_dispatcher.cc", |
+ "blimp_message_dispatcher.h", |
+ "blimp_message_receiver.h", |
+ "blimp_net_export.h", |
+ ] |
+ |
+ defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] |
+ |
+ deps = [ |
+ "//base", |
+ "//blimp/common/proto", |
+ "//net", |
+ ] |
+} |
+ |
+test("blimp_net_tests") { |
+ sources = [ |
+ "blimp_message_dispatcher_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base/test:run_all_unittests", |
+ "//base/test:test_support", |
+ "//blimp/common/proto", |
+ "//blimp/net", |
+ "//net:test_support", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ ] |
+} |