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

Unified Diff: mojo/public/tools/BUILD.gn

Issue 892903003: Download and copy shell binary on Android as well as Linux. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to review Created 5 years, 10 months 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 | « no previous file | mojo/public/tools/download_shell_binary.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/BUILD.gn
diff --git a/mojo/public/tools/BUILD.gn b/mojo/public/tools/BUILD.gn
index 12cca6df2e1e26cd123eb6ac3e985f76ce79c4e7..103c25973a9eb195a6ad5e9c69ae1db8adb34361 100644
--- a/mojo/public/tools/BUILD.gn
+++ b/mojo/public/tools/BUILD.gn
@@ -10,11 +10,20 @@ if (use_prebuilt_mojo_shell) {
if (is_win) {
filename += ".exe"
}
+ if (is_android) {
+ filename = "MojoShell.apk"
+ }
sources = [
"prebuilt/$filename",
]
- outputs = [
- "$root_out_dir/$filename",
- ]
+ if (is_android) {
+ outputs = [
+ "$root_out_dir/apks/$filename",
+ ]
+ } else {
+ outputs = [
+ "$root_out_dir/$filename",
+ ]
+ }
}
}
« no previous file with comments | « no previous file | mojo/public/tools/download_shell_binary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698