OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 assert(is_android) | 5 assert(is_android) |
6 | 6 |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 import("//mojo/generate_mojo_shell_assets_list.gni") | 9 import("//mojo/generate_mojo_shell_assets_list.gni") |
10 | 10 |
11 mandoline_assets_dir = "$root_build_dir/mandoline_assets" | 11 mandoline_assets_dir = "$root_build_dir/mandoline_assets" |
12 | 12 |
13 group("android") { | 13 group("android") { |
14 deps = [ | 14 deps = [ |
15 ":mandoline_apk", | 15 ":mandoline_apk", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 executable("mandoline_runner") { | 19 executable("mandoline_runner") { |
20 deps = [ | 20 deps = [ |
21 ":jni_headers", | 21 ":jni_headers", |
22 "//base", | 22 "//base", |
23 "//build/config/sanitizers:deps", | 23 "//build/config/sanitizers:deps", |
24 "//mandoline/ui/desktop_ui/public/interfaces", | 24 "//mandoline/ui/desktop_ui/public/interfaces", |
25 "//mojo/common", | 25 "//mojo/common", |
26 "//mojo/environment:chromium", | 26 "//mojo/environment:chromium", |
27 "//mojo/package_manager", | 27 "//mojo/package_manager", |
28 "//mojo/runner:lib", | 28 "//mojo/runner:lib", |
29 "//mojo/runner:mojo_runner_lib", | 29 "//mojo/runner:mojo_runner_lib", |
| 30 "//mojo/shell", |
30 ] | 31 ] |
31 | 32 |
32 sources = [ | 33 sources = [ |
33 "../core_services_initialization.cc", | 34 "../core_services_initialization.cc", |
34 "mandoline_activity.cc", | 35 "mandoline_activity.cc", |
35 "mandoline_context_init.cc", | 36 "mandoline_context_init.cc", |
36 ] | 37 ] |
37 | 38 |
38 # On android, the executable is also the native library used by the apk. | 39 # On android, the executable is also the native library used by the apk. |
39 # It means dynamic symbols must be preserved and exported. | 40 # It means dynamic symbols must be preserved and exported. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 ":copy_mandoline_runner", | 131 ":copy_mandoline_runner", |
131 ":java", | 132 ":java", |
132 ":mandoline_apk_resources", | 133 ":mandoline_apk_resources", |
133 "//mojo/runner:java", | 134 "//mojo/runner:java", |
134 "//mojo/runner:resources", | 135 "//mojo/runner:resources", |
135 "//base:base_java", | 136 "//base:base_java", |
136 "//ui/platform_window/android:platform_window_java", | 137 "//ui/platform_window/android:platform_window_java", |
137 google_play_services_resources, | 138 google_play_services_resources, |
138 ] | 139 ] |
139 } | 140 } |
OLD | NEW |