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

Side by Side Diff: mojo/shell/BUILD.gn

Issue 574993002: Revert of Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/services/window_manager/BUILD.gn ('k') | mojo/shell/context.cc » ('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 "//mojo/application_manager",
15 "//mojo/system",
16 "//third_party/icu",
17 "//ui/gl",
18 "//url",
15 ] 19 ]
16 20
17 if (is_component_build) { 21 if (use_ozone) {
18 deps += ["//ui/gl"] 22 deps += [ "//ui/ozone" ]
19 } 23 }
20 24
21 sources = [ 25 sources = [
22 "desktop/mojo_main.cc" 26 "desktop/mojo_main.cc"
23 ] 27 ]
24 } 28 }
25 29
26 # GYP version: mojo/mojo.gyp:mojo_shell_lib 30 # GYP version: mojo/mojo.gyp:mojo_shell_lib
27 source_set("lib") { 31 source_set("lib") {
28 deps = [ 32 deps = [
29 ":app_child_process_bindings", 33 ":app_child_process_bindings",
30 ":external_service_bindings", 34 ":external_service_bindings",
31 "//base", 35 "//base",
32 "//base/third_party/dynamic_annotations", 36 "//base/third_party/dynamic_annotations",
33 "//base:base_static", 37 "//base:base_static",
34 "//mojo/application", 38 "//mojo/application",
35 "//mojo/application_manager", 39 "//mojo/application_manager",
36 "//mojo/common", 40 "//mojo/common",
37 "//mojo/gles2", 41 "//mojo/gles2",
38 "//mojo/public/interfaces/application", 42 "//mojo/public/interfaces/application",
43 "//mojo/services/native_viewport",
44 "//mojo/services/public/interfaces/native_viewport",
39 "//mojo/services/public/interfaces/network", 45 "//mojo/services/public/interfaces/network",
40 "//mojo/spy", 46 "//mojo/spy",
41 "//mojo/system", 47 "//mojo/system",
48 "//net",
49 "//url",
42 ] 50 ]
43 51
44 sources = [ 52 sources = [
45 "app_child_process.cc", 53 "app_child_process.cc",
46 "app_child_process.h", 54 "app_child_process.h",
47 "app_child_process_host.cc", 55 "app_child_process_host.cc",
48 "app_child_process_host.h", 56 "app_child_process_host.h",
49 "child_process.cc", 57 "child_process.cc",
50 "child_process.h", 58 "child_process.h",
51 "child_process_host.cc", 59 "child_process_host.cc",
(...skipping 17 matching lines...) Expand all
69 "switches.h", 77 "switches.h",
70 "task_runners.cc", 78 "task_runners.cc",
71 "task_runners.h", 79 "task_runners.h",
72 "test_child_process.cc", 80 "test_child_process.cc",
73 "test_child_process.h", 81 "test_child_process.h",
74 "ui_application_loader_android.cc", 82 "ui_application_loader_android.cc",
75 "ui_application_loader_android.h", 83 "ui_application_loader_android.h",
76 ] 84 ]
77 85
78 if (is_linux) { 86 if (is_linux) {
79 deps += ["//dbus"] 87 deps += [
88 "//dbus"
89 ]
80 } else if (is_android) { 90 } else if (is_android) {
81 deps += [ 91 deps += [
82 "//mojo/services/native_viewport:lib",
83 "//mojo/services/network:lib", 92 "//mojo/services/network:lib",
84 ] 93 ]
85 sources += [ 94 sources += [
86 "network_application_loader.cc", 95 "network_application_loader.cc",
87 "network_application_loader.h", 96 "network_application_loader.h",
88 ] 97 ]
89 } 98 }
99 if (use_aura) {
100 deps += [
101 # These are only necessary as long as we hard code use of ViewManager.
102 "//skia",
103 "//mojo/services/view_manager",
104 "//mojo/services/public/interfaces/view_manager",
105 ]
106 sources += [
107 "view_manager_loader.cc",
108 "view_manager_loader.h",
109 ]
110 }
90 } 111 }
91 112
92 mojom("app_child_process_bindings") { 113 mojom("app_child_process_bindings") {
93 sources = [ 114 sources = [
94 "app_child_process.mojom" 115 "app_child_process.mojom"
95 ] 116 ]
96 } 117 }
97 118
98 mojom("external_service_bindings") { 119 mojom("external_service_bindings") {
99 sources = [ 120 sources = [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 163
143 # GYP version: mojo/mojo.gyp:mojo_shell_test_support 164 # GYP version: mojo/mojo.gyp:mojo_shell_test_support
144 source_set("test_support") { 165 source_set("test_support") {
145 sources = [ 166 sources = [
146 "shell_test_helper.cc", 167 "shell_test_helper.cc",
147 "shell_test_helper.h", 168 "shell_test_helper.h",
148 ] 169 ]
149 170
150 deps = [ 171 deps = [
151 ":lib", 172 ":lib",
173 "//base",
152 "//base:base_static", 174 "//base:base_static",
175 "//mojo/application_manager",
153 "//mojo/system", 176 "//mojo/system",
177 "//url",
154 ] 178 ]
155 } 179 }
OLDNEW
« no previous file with comments | « mojo/services/window_manager/BUILD.gn ('k') | mojo/shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698