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

Unified Diff: mojo/tools/mopy/paths.py

Issue 874243002: Support uploading Mojo Shell on Android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to qsr's review Created 5 years, 11 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/tools/upload_shell_binary.py » ('j') | mojo/tools/upload_shell_binary.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mopy/paths.py
diff --git a/mojo/tools/mopy/paths.py b/mojo/tools/mopy/paths.py
index bade8c07f2e28a9eaf532eac68a4ce167d025b86..49e1c50388746061916fd36879987bb0f8055379 100644
--- a/mojo/tools/mopy/paths.py
+++ b/mojo/tools/mopy/paths.py
@@ -33,9 +33,16 @@ class Paths(object):
if Config.GetHostOS() == Config.OS_WINDOWS:
self.mojo_launcher_path += ".exe"
self.mojo_shell_path += ".exe"
+ if config and config.target_os == Config.OS_ANDROID:
+ self.target_mojo_shell_path = os.path.join(self.build_dir,
+ "apks",
+ "MojoShell.apk")
+ else:
+ self.target_mojo_shell_path = self.mojo_shell_path
else:
self.mojo_launcher_path = None
self.mojo_shell_path = None
+ self.target_mojo_shell_path = None
def RelPath(self, path):
"""Returns the given path, relative to the current directory."""
« no previous file with comments | « no previous file | mojo/tools/upload_shell_binary.py » ('j') | mojo/tools/upload_shell_binary.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698