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