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

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: Rebase 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 "//mojo/application_manager", 14 "//ui/gfx",
15 "//mojo/system",
16 "//third_party/icu",
17 "//ui/gl",
18 "//url",
19 ] 15 ]
20 16
21 if (use_ozone) { 17 if (is_component_build) {
22 deps += [ "//ui/ozone" ] 18 deps += ["//ui/gl"]
23 } 19 }
24 20
25 sources = [ 21 sources = [
26 "desktop/mojo_main.cc" 22 "desktop/mojo_main.cc"
27 ] 23 ]
28 } 24 }
29 25
30 # GYP version: mojo/mojo.gyp:mojo_shell_lib 26 # GYP version: mojo/mojo.gyp:mojo_shell_lib
31 source_set("lib") { 27 source_set("lib") {
32 deps = [ 28 deps = [
33 ":app_child_process_bindings", 29 ":app_child_process_bindings",
34 ":external_service_bindings", 30 ":external_service_bindings",
35 "//base", 31 "//base",
36 "//base/third_party/dynamic_annotations", 32 "//base/third_party/dynamic_annotations",
37 "//base:base_static", 33 "//base:base_static",
38 "//mojo/application", 34 "//mojo/application",
39 "//mojo/application_manager", 35 "//mojo/application_manager",
40 "//mojo/common", 36 "//mojo/common",
41 "//mojo/gles2", 37 "//mojo/gles2",
42 "//mojo/public/interfaces/application", 38 "//mojo/public/interfaces/application",
43 "//mojo/services/native_viewport",
44 "//mojo/services/public/interfaces/native_viewport",
45 "//mojo/services/public/interfaces/network", 39 "//mojo/services/public/interfaces/network",
46 "//mojo/spy", 40 "//mojo/spy",
47 "//mojo/system", 41 "//mojo/system",
48 "//net",
49 "//url",
50 ] 42 ]
51 43
52 sources = [ 44 sources = [
53 "app_child_process.cc", 45 "app_child_process.cc",
54 "app_child_process.h", 46 "app_child_process.h",
55 "app_child_process_host.cc", 47 "app_child_process_host.cc",
56 "app_child_process_host.h", 48 "app_child_process_host.h",
57 "child_process.cc", 49 "child_process.cc",
58 "child_process.h", 50 "child_process.h",
59 "child_process_host.cc", 51 "child_process_host.cc",
(...skipping 17 matching lines...) Expand all
77 "switches.h", 69 "switches.h",
78 "task_runners.cc", 70 "task_runners.cc",
79 "task_runners.h", 71 "task_runners.h",
80 "test_child_process.cc", 72 "test_child_process.cc",
81 "test_child_process.h", 73 "test_child_process.h",
82 "ui_application_loader_android.cc", 74 "ui_application_loader_android.cc",
83 "ui_application_loader_android.h", 75 "ui_application_loader_android.h",
84 ] 76 ]
85 77
86 if (is_linux) { 78 if (is_linux) {
87 deps += [ 79 deps += ["//dbus"]
88 "//dbus"
89 ]
90 } else if (is_android) { 80 } else if (is_android) {
91 deps += [ 81 deps += [
82 "//mojo/services/native_viewport:lib",
92 "//mojo/services/network:lib", 83 "//mojo/services/network:lib",
93 ] 84 ]
94 sources += [ 85 sources += [
95 "network_application_loader.cc", 86 "network_application_loader.cc",
96 "network_application_loader.h", 87 "network_application_loader.h",
97 ] 88 ]
98 } 89 }
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 } 90 }
112 91
113 mojom("app_child_process_bindings") { 92 mojom("app_child_process_bindings") {
114 sources = [ 93 sources = [
115 "app_child_process.mojom" 94 "app_child_process.mojom"
116 ] 95 ]
117 } 96 }
118 97
119 mojom("external_service_bindings") { 98 mojom("external_service_bindings") {
120 sources = [ 99 sources = [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 142
164 # GYP version: mojo/mojo.gyp:mojo_shell_test_support 143 # GYP version: mojo/mojo.gyp:mojo_shell_test_support
165 source_set("test_support") { 144 source_set("test_support") {
166 sources = [ 145 sources = [
167 "shell_test_helper.cc", 146 "shell_test_helper.cc",
168 "shell_test_helper.h", 147 "shell_test_helper.h",
169 ] 148 ]
170 149
171 deps = [ 150 deps = [
172 ":lib", 151 ":lib",
173 "//base",
174 "//base:base_static", 152 "//base:base_static",
175 "//mojo/application_manager",
176 "//mojo/system", 153 "//mojo/system",
177 "//url",
178 ] 154 ]
179 } 155 }
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