| 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",
|
| + ]
|
| +}
|
|
|