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

Side by Side 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, 1 month 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 unified diff | Download patch
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/child/child_controller.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//mojo/public/mojo_application.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7
8 group("child") {
9 testonly = true
10 deps = [
11 ":lib",
12 ":apptests",
13 ]
14 }
15
16 source_set("lib") {
17 sources = [
18 "runner_connection.cc",
19 "runner_connection.h",
20 ]
21
22 deps = [
23 ":interfaces",
24 "//base",
25 "//mojo/application/public/interfaces",
26 "//mojo/message_pump",
27 "//third_party/mojo/src/mojo/edk/system",
28 ]
29 }
30
31 mojom("interfaces") {
32 sources = [
33 "child_controller.mojom",
34 ]
35
36 deps = [
37 "//mojo/application/public/interfaces",
38 ]
39
40 import_dirs = [ "//mojo/services" ]
41 }
42
43 mojom("apptest_interfaces") {
44 sources = [
45 "test_native_service.mojom",
46 ]
47
48 deps = [
49 "//mojo/application/public/interfaces",
50 ]
51
52 import_dirs = [ "//mojo/services" ]
53 }
54
55 mojo_native_application("apptests") {
56 output_name = "mojo_runner_child_apptest"
57 testonly = true
58
59 sources = [
60 "native_apptest.cc",
61 ]
62
63 deps = [
64 ":apptest_interfaces",
65 "//base",
66 "//base/test:test_config",
67 "//mojo/application/public/cpp:sources",
68 "//mojo/application/public/cpp:test_support",
69 "//mojo/common:common_base",
70 "//mojo/converters/network:network",
71 ]
72
73 data_deps = [
74 ":native_target",
75 ]
76 }
77
78 executable("native_target") {
79 output_name = "mojo_runner_child_apptest_native_target"
80 testonly = true
81
82 sources = [
83 "native_apptest_target.cc",
84 ]
85
86 deps = [
87 ":apptest_interfaces",
88 ":lib",
89 "//base",
90 "//mojo/application/public/cpp",
91 "//mojo/application/public/interfaces",
92 "//mojo/common:common_base",
93 "//mojo/message_pump",
94 "//mojo/runner:init",
95 "//third_party/mojo/src/mojo/edk/embedder:embedder",
96 ]
97 }
OLDNEW
« 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