| OLD | NEW |
| 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 |
| 14 group("shell") { | 15 group("shell") { |
| 15 testonly = true | 16 testonly = true |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 "//mojo/edk/system", | 185 "//mojo/edk/system", |
| 185 "//mojo/public/cpp/bindings", | 186 "//mojo/public/cpp/bindings", |
| 186 "//mojo/public/interfaces/application", | 187 "//mojo/public/interfaces/application", |
| 187 "//mojo/services/network/public/interfaces", | 188 "//mojo/services/network/public/interfaces", |
| 188 "//shell/application_manager", | 189 "//shell/application_manager", |
| 189 "//shell/domain_socket", | 190 "//shell/domain_socket", |
| 190 "//services/tracing:bindings", | 191 "//services/tracing:bindings", |
| 191 "//url", | 192 "//url", |
| 192 ] | 193 ] |
| 193 | 194 |
| 195 if (mojo_use_nacl) { |
| 196 defines = [ "MOJO_USE_NACL=1" ] |
| 197 |
| 198 sources += [ |
| 199 "nacl/nacl_service_runner.cc", |
| 200 "nacl/nacl_service_runner.h", |
| 201 ] |
| 202 |
| 203 deps += [ "//mojo/nacl:monacl_sel" ] |
| 204 |
| 205 data_deps = [ "//mojo/nacl:irt_mojo(//native_client/build/toolchain/nacl:irt
_${cpu_arch})" ] |
| 206 } |
| 207 |
| 194 if (is_win) { | 208 if (is_win) { |
| 195 deps -= [ "//shell/domain_socket" ] | 209 deps -= [ "//shell/domain_socket" ] |
| 196 } | 210 } |
| 197 | 211 |
| 198 if (is_android) { | 212 if (is_android) { |
| 199 sources += [ | 213 sources += [ |
| 200 "android/android_handler.cc", | 214 "android/android_handler.cc", |
| 201 "android/android_handler.h", | 215 "android/android_handler.h", |
| 202 "android/android_handler_loader.cc", | 216 "android/android_handler_loader.cc", |
| 203 "android/android_handler_loader.h", | 217 "android/android_handler_loader.h", |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 | 512 |
| 499 deps -= [ | 513 deps -= [ |
| 500 ":lib", | 514 ":lib", |
| 501 ":external_application_registrar_connection", | 515 ":external_application_registrar_connection", |
| 502 ":external_application_registrar_bindings", | 516 ":external_application_registrar_bindings", |
| 503 "//shell/domain_socket", | 517 "//shell/domain_socket", |
| 504 "//shell/domain_socket:tests", | 518 "//shell/domain_socket:tests", |
| 505 ] | 519 ] |
| 506 } | 520 } |
| 507 } | 521 } |
| OLD | NEW |