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

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

Issue 554163003: Revert of Create native_viewport_service, don't build it into mojo_shell unless Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
« 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 "//mojo/application_manager", 14 "//mojo/application_manager",
15 "//mojo/system",
16 "//third_party/icu",
17 "//ui/gl",
18 "//url",
15 ] 19 ]
16 20
17 if (use_ozone) { 21 if (use_ozone) {
18 deps += [ "//ui/ozone" ] 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 22 matching lines...) Expand all
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 += [ 87 deps += [
80 "//dbus" 88 "//dbus"
81 ] 89 ]
82 } else if (is_android) { 90 } else if (is_android) {
83 deps += [ 91 deps += [
84 "//mojo/services/native_viewport:lib",
85 "//mojo/services/network:lib", 92 "//mojo/services/network:lib",
86 ] 93 ]
87 sources += [ 94 sources += [
88 "network_application_loader.cc", 95 "network_application_loader.cc",
89 "network_application_loader.h", 96 "network_application_loader.h",
90 ] 97 ]
91 } 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 }
92 } 111 }
93 112
94 mojom("app_child_process_bindings") { 113 mojom("app_child_process_bindings") {
95 sources = [ 114 sources = [
96 "app_child_process.mojom" 115 "app_child_process.mojom"
97 ] 116 ]
98 } 117 }
99 118
100 mojom("external_service_bindings") { 119 mojom("external_service_bindings") {
101 sources = [ 120 sources = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 170
152 deps = [ 171 deps = [
153 ":lib", 172 ":lib",
154 "//base", 173 "//base",
155 "//base:base_static", 174 "//base:base_static",
156 "//mojo/application_manager", 175 "//mojo/application_manager",
157 "//mojo/system", 176 "//mojo/system",
158 "//url", 177 "//url",
159 ] 178 ]
160 } 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