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

Side by Side Diff: shell/BUILD.gn

Issue 884303002: Launch nexes from mojo_shell. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Mojo IRT Created 5 years, 10 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/nacl/config.gni")
6 import("//mojo/public/mojo.gni") 7 import("//mojo/public/mojo.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 9 import("//testing/test.gni")
9 10
10 # We don't support building in the component build since mojo apps are 11 # We don't support building in the component build since mojo apps are
11 # inherently components. 12 # inherently components.
12 assert(!is_component_build) 13 assert(!is_component_build)
13 14
15 config("gate_nacl") {
jamesr 2015/02/03 05:15:41 it's not worth adding a new config that will be us
Nick Bray (chromium) 2015/02/03 19:06:31 Done.
16 if (mojo_use_nacl) {
17 defines = [ "MOJO_USE_NACL=1" ]
18 } else {
19 defines = [ "MOJO_USE_NACL=0" ]
20 }
21 }
22
14 group("shell") { 23 group("shell") {
15 testonly = true 24 testonly = true
16 25
17 deps = [ 26 deps = [
18 ":mojo_shell", 27 ":mojo_shell",
19 ":tests", 28 ":tests",
20 ] 29 ]
21 30
22 if (!is_win) { 31 if (!is_win) {
23 deps += [ ":mojo_launcher" ] 32 deps += [ ":mojo_launcher" ]
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 "//mojo/edk/system", 193 "//mojo/edk/system",
185 "//mojo/public/cpp/bindings", 194 "//mojo/public/cpp/bindings",
186 "//mojo/public/interfaces/application", 195 "//mojo/public/interfaces/application",
187 "//mojo/services/network/public/interfaces", 196 "//mojo/services/network/public/interfaces",
188 "//shell/application_manager", 197 "//shell/application_manager",
189 "//shell/domain_socket", 198 "//shell/domain_socket",
190 "//services/tracing:bindings", 199 "//services/tracing:bindings",
191 "//url", 200 "//url",
192 ] 201 ]
193 202
203 configs += [ ":gate_nacl" ]
204 if (mojo_use_nacl) {
205 sources += [
jamesr 2015/02/03 05:15:41 as in defines += [ .. ] in here (and if you must h
Nick Bray (chromium) 2015/02/03 19:06:31 Done, although I generally believe using -Wundef i
206 "nacl/nacl_service_runner.cc",
207 "nacl/nacl_service_runner.h",
208 ]
209
210 deps += [ "//mojo/nacl:monacl_sel" ]
211
212 data_deps = [ "//mojo/nacl:irt_mojo(//native_client/build/toolchain/nacl:irt _${cpu_arch})" ]
213 }
214
194 if (is_win) { 215 if (is_win) {
195 deps -= [ "//shell/domain_socket" ] 216 deps -= [ "//shell/domain_socket" ]
196 } 217 }
197 218
198 if (is_android) { 219 if (is_android) {
199 sources += [ 220 sources += [
200 "android/android_handler.cc", 221 "android/android_handler.cc",
201 "android/android_handler.h", 222 "android/android_handler.h",
202 "android/android_handler_loader.cc", 223 "android/android_handler_loader.cc",
203 "android/android_handler_loader.h", 224 "android/android_handler_loader.h",
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 519
499 deps -= [ 520 deps -= [
500 ":lib", 521 ":lib",
501 ":external_application_registrar_connection", 522 ":external_application_registrar_connection",
502 ":external_application_registrar_bindings", 523 ":external_application_registrar_bindings",
503 "//shell/domain_socket", 524 "//shell/domain_socket",
504 "//shell/domain_socket:tests", 525 "//shell/domain_socket:tests",
505 ] 526 ]
506 } 527 }
507 } 528 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698