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

Unified Diff: mojo/runner/child/BUILD.gn

Issue 1419293003: Allow mojo_runner to connect to arbitrary executables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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/runner/BUILD.gn ('k') | mojo/runner/child/child_controller.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child/BUILD.gn
diff --git a/mojo/runner/child/BUILD.gn b/mojo/runner/child/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..224bc4d900aeae0313b8fb783d36b2b59d8eb375
--- /dev/null
+++ b/mojo/runner/child/BUILD.gn
@@ -0,0 +1,97 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/mojo_application.gni")
+import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
+
+group("child") {
+ testonly = true
+ deps = [
+ ":lib",
+ ":apptests",
+ ]
+}
+
+source_set("lib") {
+ sources = [
+ "runner_connection.cc",
+ "runner_connection.h",
+ ]
+
+ deps = [
+ ":interfaces",
+ "//base",
+ "//mojo/application/public/interfaces",
+ "//mojo/message_pump",
+ "//third_party/mojo/src/mojo/edk/system",
+ ]
+}
+
+mojom("interfaces") {
+ sources = [
+ "child_controller.mojom",
+ ]
+
+ deps = [
+ "//mojo/application/public/interfaces",
+ ]
+
+ import_dirs = [ "//mojo/services" ]
+}
+
+mojom("apptest_interfaces") {
+ sources = [
+ "test_native_service.mojom",
+ ]
+
+ deps = [
+ "//mojo/application/public/interfaces",
+ ]
+
+ import_dirs = [ "//mojo/services" ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "mojo_runner_child_apptest"
+ testonly = true
+
+ sources = [
+ "native_apptest.cc",
+ ]
+
+ deps = [
+ ":apptest_interfaces",
+ "//base",
+ "//base/test:test_config",
+ "//mojo/application/public/cpp:sources",
+ "//mojo/application/public/cpp:test_support",
+ "//mojo/common:common_base",
+ "//mojo/converters/network:network",
+ ]
+
+ data_deps = [
+ ":native_target",
+ ]
+}
+
+executable("native_target") {
+ output_name = "mojo_runner_child_apptest_native_target"
+ testonly = true
+
+ sources = [
+ "native_apptest_target.cc",
+ ]
+
+ deps = [
+ ":apptest_interfaces",
+ ":lib",
+ "//base",
+ "//mojo/application/public/cpp",
+ "//mojo/application/public/interfaces",
+ "//mojo/common:common_base",
+ "//mojo/message_pump",
+ "//mojo/runner:init",
+ "//third_party/mojo/src/mojo/edk/embedder:embedder",
+ ]
+}
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/child/child_controller.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698