Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: mojo/runner/BUILD.gn

Issue 1492963004: GN: asset_location -> android_assets() for mandoline_apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build_config_java_binary
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/generate_mojo_shell_assets_list.gni ('k') | mojo/runner/host/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/BUILD.gn
diff --git a/mojo/runner/BUILD.gn b/mojo/runner/BUILD.gn
index 1496e4e3cfa0da5c1e77c3defbc58941df81dd8f..64ba3f872ce363ab894f7a4d53e5ebe93f91ae20 100644
--- a/mojo/runner/BUILD.gn
+++ b/mojo/runner/BUILD.gn
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//mojo/generate_mojo_shell_assets_list.gni")
import("//mojo/public/mojo_application.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -268,12 +267,21 @@ if (is_android) {
custom_package = "org.chromium.mojo.shell"
}
- android_assets("mojo_runner_apptests_assets") {
- testonly = true
-
+ android_assets("android_assets") {
deps = [
":bootstrap",
":bootstrap_java",
+ ]
+ sources = [
+ "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
+ "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension",
+ ]
+ }
+
+ android_assets("mojo_runner_apptests_assets") {
+ testonly = true
+ deps = [
+ ":android_assets",
"//components/clipboard:apptests_assets",
"//components/clipboard:clipboard_assets",
"//components/mus/ws:apptests_assets",
@@ -283,11 +291,6 @@ if (is_android) {
"//mojo/services/network:network_assets",
"//third_party/icu:icu_assets",
]
-
- sources = [
- "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
- "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension",
- ]
}
copy("copy_mojo_runner") {
« no previous file with comments | « mojo/generate_mojo_shell_assets_list.gni ('k') | mojo/runner/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698