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

Unified Diff: components/mus/common/BUILD.gn

Issue 1695783002: IPC::ParamTraits for ui::Event (towards ui::Events over mojo IPC) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove erroneous ui/events dep on ipc; add missing components/mus/common dep on ipc and ui/events Created 4 years, 10 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: components/mus/common/BUILD.gn
diff --git a/components/mus/common/BUILD.gn b/components/mus/common/BUILD.gn
index d0cc5d7152c9284f9d0b169e5c9a37aa093e101a..97567bb5f113cd9f5b7dde4640c1e89adfb6cca5 100644
--- a/components/mus/common/BUILD.gn
+++ b/components/mus/common/BUILD.gn
@@ -2,10 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/test.gni")
+
source_set("common") {
sources = [
"args.cc",
"args.h",
+ "event_param_traits.cc",
+ "event_param_traits.h",
+ "event_param_traits_macros.h",
+ "mus_ipc_export.h",
"transient_window_utils.h",
"types.h",
"util.h",
@@ -13,5 +19,25 @@ source_set("common") {
]
deps = [
"//components/mus/public/interfaces",
+ "//ipc:ipc",
+ "//ui/events:events",
+ ]
+}
+
+test("mus_common_unittests") {
+ sources = [
+ "event_param_traits_unittest.cc",
+ ]
+ deps = [
+ ":common",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_config",
+ "//ipc:ipc",
+ "//mojo/edk/test:test_support",
+ "//testing/gtest",
+ "//ui/events:events",
+ "//ui/gfx:test_support",
+ "//ui/gfx/ipc",
]
}

Powered by Google App Engine
This is Rietveld 408576698