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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/shell/context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 executable("mojo_shell") { 8 executable("mojo_shell") {
9 deps = [ 9 deps = [
10 ":lib", 10 ":lib",
11 "//base", 11 "//base",
12 "//mojo/common", 12 "//mojo/common",
13 "//mojo/environment:chromium", 13 "//mojo/environment:chromium",
14 "//ui/gfx", 14 "//ui/gfx",
15 ] 15 ]
16 16
17 if (is_component_build) { 17 if (is_component_build) {
18 deps += ["//ui/gl"] 18 deps += ["//ui/gl"]
19 } 19 }
20 20
21 sources = [ 21 sources = [
22 "desktop/mojo_main.cc" 22 "desktop/mojo_main.cc"
23 ] 23 ]
24 } 24 }
25 25
26 # GYP version: mojo/mojo.gyp:mojo_shell_lib 26 # GYP version: mojo/mojo.gyp:mojo_shell_lib
27 source_set("lib") { 27 source_set("lib") {
28 deps = [ 28 deps = [
29 ":app_child_process_bindings", 29 ":app_child_process_bindings",
30 ":external_application_registrar_bindings",
30 ":external_service_bindings", 31 ":external_service_bindings",
31 "//base", 32 "//base",
32 "//base/third_party/dynamic_annotations", 33 "//base/third_party/dynamic_annotations",
33 "//base:base_static", 34 "//base:base_static",
34 "//mojo/application", 35 "//mojo/application",
35 "//mojo/application_manager", 36 "//mojo/application_manager",
36 "//mojo/common", 37 "//mojo/common",
37 "//mojo/gles2", 38 "//mojo/gles2",
38 "//mojo/public/interfaces/application", 39 "//mojo/public/interfaces/application",
39 "//mojo/services/public/interfaces/network", 40 "//mojo/services/public/interfaces/network",
(...skipping 10 matching lines...) Expand all
50 "child_process.h", 51 "child_process.h",
51 "child_process_host.cc", 52 "child_process_host.cc",
52 "child_process_host.h", 53 "child_process_host.h",
53 "context.cc", 54 "context.cc",
54 "context.h", 55 "context.h",
55 "dbus_application_loader_linux.cc", 56 "dbus_application_loader_linux.cc",
56 "dbus_application_loader_linux.h", 57 "dbus_application_loader_linux.h",
57 "dynamic_application_loader.cc", 58 "dynamic_application_loader.cc",
58 "dynamic_application_loader.h", 59 "dynamic_application_loader.h",
59 "dynamic_service_runner.h", 60 "dynamic_service_runner.h",
61 "external_application_listener_posix.cc",
62 "external_application_listener_win.cc",
63 "external_application_listener.h",
64 "incoming_connection_listener_posix.cc",
65 "incoming_connection_listener_posix.h",
60 "init.cc", 66 "init.cc",
61 "init.h", 67 "init.h",
62 "in_process_dynamic_service_runner.cc", 68 "in_process_dynamic_service_runner.cc",
63 "in_process_dynamic_service_runner.h", 69 "in_process_dynamic_service_runner.h",
64 "mojo_url_resolver.cc", 70 "mojo_url_resolver.cc",
65 "mojo_url_resolver.h", 71 "mojo_url_resolver.h",
66 "out_of_process_dynamic_service_runner.cc", 72 "out_of_process_dynamic_service_runner.cc",
67 "out_of_process_dynamic_service_runner.h", 73 "out_of_process_dynamic_service_runner.h",
68 "switches.cc", 74 "switches.cc",
69 "switches.h", 75 "switches.h",
(...skipping 24 matching lines...) Expand all
94 "app_child_process.mojom" 100 "app_child_process.mojom"
95 ] 101 ]
96 } 102 }
97 103
98 mojom("external_service_bindings") { 104 mojom("external_service_bindings") {
99 sources = [ 105 sources = [
100 "external_service.mojom" 106 "external_service.mojom"
101 ] 107 ]
102 } 108 }
103 109
110 mojom("external_application_registrar_bindings") {
111 sources = [
112 "external_application_registrar.mojom"
113 ]
114 }
115
116 source_set("external_application_registrar_connection") {
117 sources = [
118 "external_application_registrar_connection.cc",
119 "external_application_registrar_connection.h",
120 ]
121
122 deps = [
123 ":external_application_registrar_bindings",
124 "//net"
125 ]
126 }
127
128 # GYP version: mojo/mojo.gyp:mojo_shell_tests
104 test("mojo_shell_tests") { 129 test("mojo_shell_tests") {
105 deps = [ 130 deps = [
106 ":lib", 131 ":lib",
107 "//base", 132 "//base",
108 "//base:i18n", 133 "//base:i18n",
109 "//base/test:test_support", 134 "//base/test:test_support",
110 "//testing/gtest", 135 "//testing/gtest",
111 "//net:test_support", 136 "//net:test_support",
112 "//url", 137 "//url",
113 "//mojo/application_manager", 138 "//mojo/application_manager",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "shell_test_helper.cc", 171 "shell_test_helper.cc",
147 "shell_test_helper.h", 172 "shell_test_helper.h",
148 ] 173 ]
149 174
150 deps = [ 175 deps = [
151 ":lib", 176 ":lib",
152 "//base:base_static", 177 "//base:base_static",
153 "//mojo/system", 178 "//mojo/system",
154 ] 179 ]
155 } 180 }
181
182 # GYP version: mojo/mojo.gyp:external_application_tests
183 test("mojo_external_application_tests") {
184 deps = [
185 ":lib",
186 ":external_application_registrar_connection",
187 "//base",
188 "//base/test:test_support",
189 "//testing/gtest",
190 "//net:test_support",
191 "//url",
192 "//mojo/application_manager",
193 "//mojo/common",
194 "//mojo/environment:chromium",
195 "//mojo/system",
196 ]
197
198 sources = [
199 "incoming_connection_listener_unittest.cc",
200 "external_application_listener_unittest.cc",
201 "external_application_test_main.cc",
202 ]
203 }
OLDNEW
« 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