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

Unified Diff: ipc/BUILD.gn

Issue 2033243003: Use Mojo pipes to signal sync IPC events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp Created 4 years, 6 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 | « gpu/ipc/service/BUILD.gn ('k') | ipc/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/BUILD.gn
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn
index 4d515d7e7a229d1dba95d7b1036a05f3230eb850..c608f0fb4d2d6daf41b7b9dae255e31d6ef6e179 100644
--- a/ipc/BUILD.gn
+++ b/ipc/BUILD.gn
@@ -94,6 +94,8 @@ component("ipc") {
"message_filter_router.h",
"message_router.cc",
"message_router.h",
+ "mojo_event.cc",
+ "mojo_event.h",
"param_traits_log_macros.h",
"param_traits_macros.h",
"param_traits_read_macros.h",
@@ -127,12 +129,14 @@ component("ipc") {
public_deps = [
":param_traits",
+ "//mojo/public/cpp/system",
]
deps = [
"//base",
# TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
"//base/third_party/dynamic_annotations",
+ "//mojo/public/cpp/bindings",
]
if (is_win || is_mac) {
@@ -155,6 +159,20 @@ source_set("param_traits") {
}
if (!is_ios) {
+ source_set("run_all_unittests") {
+ testonly = true
+
+ sources = [
+ "run_all_unittests.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//mojo/edk/system",
+ ]
+ }
+
test("ipc_tests") {
sources = [
"attachment_broker_mac_unittest.cc",
@@ -173,7 +191,6 @@ if (!is_ios) {
"ipc_test_message_generator.cc",
"ipc_test_message_generator.h",
"ipc_test_messages.h",
- "run_all_unittests.cc",
"sync_socket_unittest.cc",
]
@@ -196,6 +213,7 @@ if (!is_ios) {
deps = [
":ipc",
+ ":run_all_unittests",
":test_support",
"//base",
"//base:i18n",
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | ipc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698