OLD | NEW |
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("//build/config/ui.gni") |
| 6 import("//mojo/public/mojo.gni") |
5 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//build/config/ui.gni") | |
7 | 8 |
| 9 if (!use_prebuilt_mojo_shell) { |
| 10 |
| 11 # GYP version: mojo/mojo.gyp:mojo_shell |
8 executable("mojo_shell") { | 12 executable("mojo_shell") { |
9 deps = [ | 13 deps = [ |
10 ":lib", | 14 ":lib", |
11 "//base", | 15 "//base", |
12 "//mojo/common", | 16 "//mojo/common", |
13 "//mojo/environment:chromium", | 17 "//mojo/environment:chromium", |
14 ] | 18 ] |
15 | 19 |
16 if (is_component_build) { | 20 if (is_component_build) { |
17 deps += ["//ui/gl"] | 21 deps += ["//ui/gl"] |
18 } | 22 } |
19 | 23 |
20 sources = [ | 24 sources = [ |
21 "desktop/mojo_main.cc" | 25 "desktop/mojo_main.cc" |
22 ] | 26 ] |
23 } | 27 } |
24 | 28 |
| 29 } # !use_prebuilt_mojo_shell |
| 30 |
25 # GYP version: mojo/mojo.gyp:mojo_shell_lib | 31 # GYP version: mojo/mojo.gyp:mojo_shell_lib |
26 source_set("lib") { | 32 source_set("lib") { |
27 deps = [ | 33 deps = [ |
28 ":app_child_process_bindings", | 34 ":app_child_process_bindings", |
29 ":external_application_registrar_bindings", | 35 ":external_application_registrar_bindings", |
30 ":external_service_bindings", | 36 ":external_service_bindings", |
31 "//base", | 37 "//base", |
32 "//base/third_party/dynamic_annotations", | 38 "//base/third_party/dynamic_annotations", |
33 "//base:base_static", | 39 "//base:base_static", |
34 "//mojo/application", | 40 "//mojo/application", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "//net:test_support", | 141 "//net:test_support", |
136 "//url", | 142 "//url", |
137 "//mojo/application_manager", | 143 "//mojo/application_manager", |
138 "//mojo/common", | 144 "//mojo/common", |
139 "//mojo/edk/system", | 145 "//mojo/edk/system", |
140 "//mojo/environment:chromium", | 146 "//mojo/environment:chromium", |
141 "//mojo/services/test_service:bindings", | 147 "//mojo/services/test_service:bindings", |
142 ] | 148 ] |
143 | 149 |
144 datadeps = [ | 150 datadeps = [ |
145 "//mojo/services/test_service:test_app", | 151 "//mojo/services/test_service:mojo_test_app", |
146 "//mojo/services/test_service:test_request_tracker_app", | 152 "//mojo/services/test_service:mojo_test_request_tracker_app", |
147 ] | 153 ] |
148 | 154 |
149 sources = [ | 155 sources = [ |
150 "child_process_host_unittest.cc", | 156 "child_process_host_unittest.cc", |
151 "dynamic_application_loader_unittest.cc", | 157 "dynamic_application_loader_unittest.cc", |
152 "in_process_dynamic_service_runner_unittest.cc", | 158 "in_process_dynamic_service_runner_unittest.cc", |
153 "mojo_url_resolver_unittest.cc", | 159 "mojo_url_resolver_unittest.cc", |
154 "shell_test_base.cc", | 160 "shell_test_base.cc", |
155 "shell_test_base.h", | 161 "shell_test_base.h", |
156 "shell_test_base_unittest.cc", | 162 "shell_test_base_unittest.cc", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "//mojo/edk/system", | 199 "//mojo/edk/system", |
194 "//mojo/environment:chromium", | 200 "//mojo/environment:chromium", |
195 ] | 201 ] |
196 | 202 |
197 sources = [ | 203 sources = [ |
198 "incoming_connection_listener_unittest.cc", | 204 "incoming_connection_listener_unittest.cc", |
199 "external_application_listener_unittest.cc", | 205 "external_application_listener_unittest.cc", |
200 "external_application_test_main.cc", | 206 "external_application_test_main.cc", |
201 ] | 207 ] |
202 } | 208 } |
OLD | NEW |