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 | 10 # We don't support building in the component build since mojo apps are |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 } else { | 46 } else { |
47 sources += [ | 47 sources += [ |
48 "android/context_init.h", | 48 "android/context_init.h", |
49 "android/library_loader.cc", | 49 "android/library_loader.cc", |
50 "android/main.cc", | 50 "android/main.cc", |
51 "android/main.h", | 51 "android/main.h", |
52 ] | 52 ] |
53 | 53 |
54 deps += [ | 54 deps += [ |
55 ":jni_headers", | 55 ":jni_headers", |
56 "//components/view_manager", | 56 "//components/mus", |
57 "//mojo/shell", | 57 "//mojo/shell", |
58 "//ui/gl", | 58 "//ui/gl", |
59 "//ui/platform_window/android", | 59 "//ui/platform_window/android", |
60 ] | 60 ] |
61 } | 61 } |
62 } | 62 } |
63 | 63 |
64 executable("mojo_runner") { | 64 executable("mojo_runner") { |
65 deps = [ | 65 deps = [ |
66 ":mojo_runner_lib", | 66 ":mojo_runner_lib", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 "android/android_handler_loader.h", | 164 "android/android_handler_loader.h", |
165 "android/background_application_loader.cc", | 165 "android/background_application_loader.cc", |
166 "android/background_application_loader.h", | 166 "android/background_application_loader.h", |
167 "android/ui_application_loader_android.cc", | 167 "android/ui_application_loader_android.cc", |
168 "android/ui_application_loader_android.h", | 168 "android/ui_application_loader_android.h", |
169 ] | 169 ] |
170 | 170 |
171 deps += [ | 171 deps += [ |
172 ":jni_headers", | 172 ":jni_headers", |
173 ":run_android_application_function", | 173 ":run_android_application_function", |
174 "//components/view_manager/gles2", | 174 "//components/mus/gles2", |
175 "//mojo/application/public/cpp:content_handler", | 175 "//mojo/application/public/cpp:content_handler", |
176 ] | 176 ] |
177 } | 177 } |
178 | 178 |
179 # This target includes some files behind #ifdef OS... guards. Since gn is not | 179 # This target includes some files behind #ifdef OS... guards. Since gn is not |
180 # smart enough to understand preprocess includes, it does complains about | 180 # smart enough to understand preprocess includes, it does complains about |
181 # these includes when not using the build files for that OS. Suppress checking | 181 # these includes when not using the build files for that OS. Suppress checking |
182 # so we can enable checking for the rest of the targets in this file. | 182 # so we can enable checking for the rest of the targets in this file. |
183 # TODO: Might be better to split the files with OS-specific includes out to a | 183 # TODO: Might be better to split the files with OS-specific includes out to a |
184 # separate source_set so we can leave checking on for the rest of the target. | 184 # separate source_set so we can leave checking on for the rest of the target. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 294 |
295 copy_ex("copy_mojo_runner_apptests_assets") { | 295 copy_ex("copy_mojo_runner_apptests_assets") { |
296 testonly = true | 296 testonly = true |
297 clear_dir = true | 297 clear_dir = true |
298 dest = mojo_runner_apptests_assets_dir | 298 dest = mojo_runner_apptests_assets_dir |
299 | 299 |
300 deps = [ | 300 deps = [ |
301 ":bootstrap", | 301 ":bootstrap", |
302 ":bootstrap_java", | 302 ":bootstrap_java", |
303 "//components/clipboard:apptests", | 303 "//components/clipboard:apptests", |
| 304 "//components/mus:apptests", |
304 "//components/resource_provider:apptests", | 305 "//components/resource_provider:apptests", |
305 "//components/view_manager:apptests", | |
306 "//mojo/services/network:apptests", | 306 "//mojo/services/network:apptests", |
307 ] | 307 ] |
308 | 308 |
309 sources = [ | 309 sources = [ |
310 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", | 310 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", |
311 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension", | 311 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension", |
312 ] | 312 ] |
313 | 313 |
314 apptest_outputs = [ | 314 apptest_outputs = [ |
315 "clipboard", | 315 "clipboard", |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 ] | 478 ] |
479 | 479 |
480 deps = [ | 480 deps = [ |
481 "//base", | 481 "//base", |
482 "//mojo/application/public/cpp:test_support", | 482 "//mojo/application/public/cpp:test_support", |
483 "//mojo/runner/test:bindings", | 483 "//mojo/runner/test:bindings", |
484 "//mojo/services/network/public/interfaces", | 484 "//mojo/services/network/public/interfaces", |
485 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 485 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
486 ] | 486 ] |
487 } | 487 } |
OLD | NEW |