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("//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:switches", |
jamesr
2014/09/25 20:14:07
for this since we just use the one constant honest
DaveMoore
2014/09/26 18:29:23
I hardcoded it.
On 2014/09/25 20:14:07, jamesr wr
| |
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_service_bindings", | 30 ":external_service_bindings", |
31 "//base", | 31 "//base", |
32 "//base/third_party/dynamic_annotations", | 32 "//base/third_party/dynamic_annotations", |
33 "//base:base_static", | 33 "//base:base_static", |
34 "//mojo/application", | 34 "//mojo/application", |
35 "//mojo/application_manager", | 35 "//mojo/application_manager", |
36 "//mojo/common", | 36 "//mojo/common", |
37 "//mojo/gles2", | 37 "//mojo/gles2", |
38 "//mojo/public/interfaces/application", | 38 "//mojo/public/interfaces/application", |
39 "//mojo/services/public/interfaces/network", | 39 "//mojo/services/public/interfaces/network", |
40 "//mojo/spy", | 40 "//mojo/spy", |
41 "//mojo/system", | 41 "//mojo/system", |
42 "//net", | |
jamesr
2014/09/25 20:09:44
why do we need //net ?
DaveMoore
2014/09/26 18:29:23
Accident. Removed.
On 2014/09/25 20:09:44, jamesr
| |
42 ] | 43 ] |
43 | 44 |
44 sources = [ | 45 sources = [ |
45 "app_child_process.cc", | 46 "app_child_process.cc", |
46 "app_child_process.h", | 47 "app_child_process.h", |
47 "app_child_process_host.cc", | 48 "app_child_process_host.cc", |
48 "app_child_process_host.h", | 49 "app_child_process_host.h", |
49 "child_process.cc", | 50 "child_process.cc", |
50 "child_process.h", | 51 "child_process.h", |
51 "child_process_host.cc", | 52 "child_process_host.cc", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
146 "shell_test_helper.cc", | 147 "shell_test_helper.cc", |
147 "shell_test_helper.h", | 148 "shell_test_helper.h", |
148 ] | 149 ] |
149 | 150 |
150 deps = [ | 151 deps = [ |
151 ":lib", | 152 ":lib", |
152 "//base:base_static", | 153 "//base:base_static", |
153 "//mojo/system", | 154 "//mojo/system", |
154 ] | 155 ] |
155 } | 156 } |
OLD | NEW |