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 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "$root_out_dir/lib.stripped/libmandoline_runner.so", | 47 "$root_out_dir/lib.stripped/libmandoline_runner.so", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 copy_ex("copy_mandoline_assets") { | 51 copy_ex("copy_mandoline_assets") { |
52 clear_dir = true | 52 clear_dir = true |
53 dest = mandoline_assets_dir | 53 dest = mandoline_assets_dir |
54 deps = [ | 54 deps = [ |
55 "//components/devtools_service", | 55 "//components/devtools_service", |
56 "//components/html_viewer", | 56 "//components/html_viewer", |
57 "//components/view_manager", | |
58 "//components/view_manager/surfaces", | |
59 "//mandoline/services/core_services", | 57 "//mandoline/services/core_services", |
60 "//mojo/runner:bootstrap", | 58 "//mojo/runner:bootstrap", |
61 "//mojo/runner:bootstrap_java", | 59 "//mojo/runner:bootstrap_java", |
62 "//mojo/services/network", | |
63 ] | 60 ] |
64 sources = [ | 61 sources = [ |
65 "$root_out_dir/core_services.mojo", | |
66 "$root_out_dir/devtools_service.mojo", | |
67 "$root_out_dir/lib.stripped/libbootstrap.so", | 62 "$root_out_dir/lib.stripped/libbootstrap.so", |
68 "$root_out_dir/network_service.mojo", | |
69 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", | 63 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", |
70 "$root_out_dir/surfaces_service.mojo", | |
71 ] | 64 ] |
72 | 65 |
73 # Directories can't be specified as sources so pass manually to the script. | 66 # Directories can't be specified as sources so pass manually to the script. |
74 args = | 67 args = [ |
75 [ "--files=" + rebase_path("$root_out_dir/html_viewer", root_build_dir) ] | 68 "--files=" + rebase_path("$root_out_dir/core_services", root_build_dir), |
| 69 "--files=" + rebase_path("$root_out_dir/devtools_service", root_build_dir), |
| 70 "--files=" + rebase_path("$root_out_dir/html_viewer", root_build_dir), |
| 71 ] |
76 | 72 |
77 if (use_aura) { | 73 if (use_aura) { |
78 deps += [ | 74 deps += [ |
79 "//mandoline/ui/browser", | 75 "//mandoline/ui/browser", |
80 "//mandoline/ui/omnibox", | 76 "//mandoline/ui/omnibox", |
81 ] | 77 ] |
82 | 78 |
83 args += | 79 args += [ |
84 [ "--files=" + rebase_path("$root_out_dir/browser", root_build_dir) ] + | 80 "--files=" + rebase_path("$root_out_dir/browser", root_build_dir), |
85 [ "--files=" + rebase_path("$root_out_dir/omnibox", root_build_dir) ] | 81 "--files=" + rebase_path("$root_out_dir/omnibox", root_build_dir), |
| 82 ] |
86 } | 83 } |
87 } | 84 } |
88 | 85 |
89 generate_mojo_shell_assets_list("build_mandoline_assets") { | 86 generate_mojo_shell_assets_list("build_mandoline_assets") { |
90 deps = [ | 87 deps = [ |
91 ":copy_mandoline_assets", | 88 ":copy_mandoline_assets", |
92 ] | 89 ] |
93 dir = mandoline_assets_dir | 90 dir = mandoline_assets_dir |
94 } | 91 } |
95 | 92 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 ":copy_mandoline_runner", | 125 ":copy_mandoline_runner", |
129 ":java", | 126 ":java", |
130 ":mandoline_apk_resources", | 127 ":mandoline_apk_resources", |
131 "//mojo/runner:java", | 128 "//mojo/runner:java", |
132 "//mojo/runner:resources", | 129 "//mojo/runner:resources", |
133 "//base:base_java", | 130 "//base:base_java", |
134 "//third_party/android_tools:google_play_services_default_resources", | 131 "//third_party/android_tools:google_play_services_default_resources", |
135 "//ui/platform_window/android:platform_window_java", | 132 "//ui/platform_window/android:platform_window_java", |
136 ] | 133 ] |
137 } | 134 } |
OLD | NEW |