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

Unified Diff: blimp/net/BUILD.gn

Issue 1324263003: Blimp: create MessageDispatcher class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp-protos
Patch Set: Resolve naming collision for "net" Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/common/proto/BUILD.gn ('k') | blimp/net/blimp_message_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/BUILD.gn
diff --git a/blimp/net/BUILD.gn b/blimp/net/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..5a1784c676f7c6c769f79d537a561f935de7b493
--- /dev/null
+++ b/blimp/net/BUILD.gn
@@ -0,0 +1,48 @@
+# 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("blimp_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 = [
+ ":blimp_net",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//blimp/common/proto",
+ "//net:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
+
+# TODO(GYP): Delete this after we've converted everything to GN.
+# # The _run targets exist only for compatibility w/ GYP.
+group("blimp_net_tests_run") {
+ testonly = true
+ deps = [
+ ":blimp_net_tests",
+ ]
+}
« no previous file with comments | « blimp/common/proto/BUILD.gn ('k') | blimp/net/blimp_message_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698