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

Unified Diff: blimp/common/BUILD.gn

Issue 1324263003: Blimp: create MessageDispatcher class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp-protos
Patch Set: Fix tryserver entries. Created 5 years, 3 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
Index: blimp/common/BUILD.gn
diff --git a/blimp/common/BUILD.gn b/blimp/common/BUILD.gn
index a9dfd35bf8faac1759d30e01711cce54f7a45c17..cb90f9d93d90ac35d51c0914189ad0086d44f83d 100644
--- a/blimp/common/BUILD.gn
+++ b/blimp/common/BUILD.gn
@@ -2,6 +2,8 @@
# 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_common") {
sources = [
# TODO(dtrainor): Remove this once the LayerTreeHost settings for Blimp
@@ -11,6 +13,8 @@ component("blimp_common") {
"blimp_common_export.h",
"compositor/blimp_layer_tree_settings.cc",
"compositor/blimp_layer_tree_settings.h",
+ "net/message_dispatcher.cc",
+ "net/message_dispatcher.h",
]
defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ]
@@ -25,3 +29,17 @@ component("blimp_common") {
"//ui/native_theme",
]
}
+
+test("blimp_common_unit_tests") {
+ deps = [
+ ":blimp_common",
+ "//base",
+ "//base/test:test_support",
+ "//base/test:run_all_unittests",
+ "//blimp/common/proto",
+ "//testing/gmock",
+ ]
+ sources = [
+ "net/message_dispatcher_unittest.cc",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698