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

Unified Diff: mojo/shell/BUILD.gn

Issue 522443003: Accept inbound connections on unix domain socket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug407782
Patch Set: Deleted extra curly brace, which was closing a namespace too early Created 6 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
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/shell/context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/BUILD.gn
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
index 320f4eba5478211ea1824633cd8f94b8701ba3ef..b06a30c980ce94da3c3bb5cc797fb6173638b5df 100644
--- a/mojo/shell/BUILD.gn
+++ b/mojo/shell/BUILD.gn
@@ -27,6 +27,7 @@ executable("mojo_shell") {
source_set("lib") {
deps = [
":app_child_process_bindings",
+ ":external_application_registrar_bindings",
":external_service_bindings",
"//base",
"//base/third_party/dynamic_annotations",
@@ -57,6 +58,11 @@ source_set("lib") {
"dynamic_application_loader.cc",
"dynamic_application_loader.h",
"dynamic_service_runner.h",
+ "external_application_listener_posix.cc",
+ "external_application_listener_win.cc",
+ "external_application_listener.h",
+ "incoming_connection_listener_posix.cc",
+ "incoming_connection_listener_posix.h",
"init.cc",
"init.h",
"in_process_dynamic_service_runner.cc",
@@ -101,6 +107,25 @@ mojom("external_service_bindings") {
]
}
+mojom("external_application_registrar_bindings") {
+ sources = [
+ "external_application_registrar.mojom"
+ ]
+}
+
+source_set("external_application_registrar_connection") {
+ sources = [
+ "external_application_registrar_connection.cc",
+ "external_application_registrar_connection.h",
+ ]
+
+ deps = [
+ ":external_application_registrar_bindings",
+ "//net"
+ ]
+}
+
+# GYP version: mojo/mojo.gyp:mojo_shell_tests
test("mojo_shell_tests") {
deps = [
":lib",
@@ -153,3 +178,26 @@ source_set("test_support") {
"//mojo/system",
]
}
+
+# GYP version: mojo/mojo.gyp:external_application_tests
+test("mojo_external_application_tests") {
+ deps = [
+ ":lib",
+ ":external_application_registrar_connection",
+ "//base",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//net:test_support",
+ "//url",
+ "//mojo/application_manager",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/system",
+ ]
+
+ sources = [
+ "incoming_connection_listener_unittest.cc",
+ "external_application_listener_unittest.cc",
+ "external_application_test_main.cc",
+ ]
+}
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/shell/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698