| 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("//mojo/generate_mojo_shell_assets_list.gni") | 5 import("//mojo/generate_mojo_shell_assets_list.gni") |
| 6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 9 | 9 |
| 10 # We don't support building in the component build since mojo apps are |
| 11 # inherently components. |
| 12 assert(!is_component_build) |
| 13 |
| 10 group("runner") { | 14 group("runner") { |
| 11 testonly = true | 15 testonly = true |
| 12 | 16 |
| 13 deps = [ | 17 deps = [ |
| 14 ":mojo_runner", | 18 ":mojo_runner", |
| 15 "//mojo/runner/child", | 19 "//mojo/runner/child", |
| 16 ] | 20 ] |
| 17 } | 21 } |
| 18 | 22 |
| 19 if (is_android) { | 23 if (is_android) { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "//sandbox/linux:sandbox", | 159 "//sandbox/linux:sandbox", |
| 156 "//sandbox/linux:sandbox_services", | 160 "//sandbox/linux:sandbox_services", |
| 157 ] | 161 ] |
| 158 } | 162 } |
| 159 | 163 |
| 160 public_deps = [ | 164 public_deps = [ |
| 161 ":init", | 165 ":init", |
| 162 ":switches", | 166 ":switches", |
| 163 ] | 167 ] |
| 164 | 168 |
| 165 if (!is_component_build) { | 169 data_deps = [ |
| 166 data_deps = [ | 170 "//components/devtools_service", |
| 167 "//components/devtools_service", | 171 "//mojo/services/tracing", |
| 168 "//mojo/services/tracing", | 172 ] |
| 169 ] | |
| 170 } | |
| 171 | 173 |
| 172 if (is_android) { | 174 if (is_android) { |
| 173 sources += [ | 175 sources += [ |
| 174 "android/android_handler.cc", | 176 "android/android_handler.cc", |
| 175 "android/android_handler.h", | 177 "android/android_handler.h", |
| 176 "android/android_handler_loader.cc", | 178 "android/android_handler_loader.cc", |
| 177 "android/android_handler_loader.h", | 179 "android/android_handler_loader.h", |
| 178 "android/background_application_loader.cc", | 180 "android/background_application_loader.cc", |
| 179 "android/background_application_loader.h", | 181 "android/background_application_loader.h", |
| 180 "android/ui_application_loader_android.cc", | 182 "android/ui_application_loader_android.cc", |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 ] | 496 ] |
| 495 | 497 |
| 496 deps = [ | 498 deps = [ |
| 497 "//base", | 499 "//base", |
| 498 "//mojo/application/public/cpp:test_support", | 500 "//mojo/application/public/cpp:test_support", |
| 499 "//mojo/runner/test:bindings", | 501 "//mojo/runner/test:bindings", |
| 500 "//mojo/services/network/public/interfaces", | 502 "//mojo/services/network/public/interfaces", |
| 501 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 503 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
| 502 ] | 504 ] |
| 503 } | 505 } |
| OLD | NEW |