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

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

Issue 568883003: Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows component build 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
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",
15 "//mojo/system",
16 "//third_party/icu",
17 "//ui/gl",
18 "//url",
19 ] 14 ]
20 15
21 if (use_ozone) { 16 if (is_component_build) {
22 deps += [ "//ui/ozone" ] 17 deps += [
18 "//ui/gl",
19 "//ui/gfx",
20 ]
23 } 21 }
24 22
25 sources = [ 23 sources = [
26 "desktop/mojo_main.cc" 24 "desktop/mojo_main.cc"
27 ] 25 ]
28 } 26 }
29 27
30 # GYP version: mojo/mojo.gyp:mojo_shell_lib 28 # GYP version: mojo/mojo.gyp:mojo_shell_lib
31 source_set("lib") { 29 source_set("lib") {
32 deps = [ 30 deps = [
33 ":app_child_process_bindings", 31 ":app_child_process_bindings",
34 ":external_service_bindings", 32 ":external_service_bindings",
35 "//base", 33 "//base",
36 "//base/third_party/dynamic_annotations", 34 "//base/third_party/dynamic_annotations",
37 "//base:base_static", 35 "//base:base_static",
38 "//mojo/application", 36 "//mojo/application",
39 "//mojo/application_manager", 37 "//mojo/application_manager",
40 "//mojo/common", 38 "//mojo/common",
41 "//mojo/gles2", 39 "//mojo/gles2",
42 "//mojo/public/interfaces/application", 40 "//mojo/public/interfaces/application",
43 "//mojo/services/native_viewport",
44 "//mojo/services/public/interfaces/native_viewport",
45 "//mojo/services/public/interfaces/network", 41 "//mojo/services/public/interfaces/network",
46 "//mojo/spy", 42 "//mojo/spy",
47 "//mojo/system", 43 "//mojo/system",
48 "//net",
49 "//url",
50 ] 44 ]
51 45
52 sources = [ 46 sources = [
53 "app_child_process.cc", 47 "app_child_process.cc",
54 "app_child_process.h", 48 "app_child_process.h",
55 "app_child_process_host.cc", 49 "app_child_process_host.cc",
56 "app_child_process_host.h", 50 "app_child_process_host.h",
57 "child_process.cc", 51 "child_process.cc",
58 "child_process.h", 52 "child_process.h",
59 "child_process_host.cc", 53 "child_process_host.cc",
(...skipping 22 matching lines...) Expand all
82 "ui_application_loader_android.cc", 76 "ui_application_loader_android.cc",
83 "ui_application_loader_android.h", 77 "ui_application_loader_android.h",
84 ] 78 ]
85 79
86 if (is_linux) { 80 if (is_linux) {
87 deps += [ 81 deps += [
88 "//dbus" 82 "//dbus"
89 ] 83 ]
90 } else if (is_android) { 84 } else if (is_android) {
91 deps += [ 85 deps += [
86 "//mojo/services/native_viewport:lib",
92 "//mojo/services/network:lib", 87 "//mojo/services/network:lib",
93 ] 88 ]
94 sources += [ 89 sources += [
95 "network_application_loader.cc", 90 "network_application_loader.cc",
96 "network_application_loader.h", 91 "network_application_loader.h",
97 ] 92 ]
98 } 93 }
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 }
111 } 94 }
112 95
113 mojom("app_child_process_bindings") { 96 mojom("app_child_process_bindings") {
114 sources = [ 97 sources = [
115 "app_child_process.mojom" 98 "app_child_process.mojom"
116 ] 99 ]
117 } 100 }
118 101
119 mojom("external_service_bindings") { 102 mojom("external_service_bindings") {
120 sources = [ 103 sources = [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 146
164 # GYP version: mojo/mojo.gyp:mojo_shell_test_support 147 # GYP version: mojo/mojo.gyp:mojo_shell_test_support
165 source_set("test_support") { 148 source_set("test_support") {
166 sources = [ 149 sources = [
167 "shell_test_helper.cc", 150 "shell_test_helper.cc",
168 "shell_test_helper.h", 151 "shell_test_helper.h",
169 ] 152 ]
170 153
171 deps = [ 154 deps = [
172 ":lib", 155 ":lib",
173 "//base",
174 "//base:base_static", 156 "//base:base_static",
175 "//mojo/application_manager",
176 "//mojo/system", 157 "//mojo/system",
177 "//url",
178 ] 158 ]
179 } 159 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698