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

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

Issue 724243002: Add a startup benchmark and rudimentary scripts for running benchmarks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« benchmarks/startup/run.py ('K') | « mojo/BUILD.gn ('k') | no next file » | no next file with comments »
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 2ad3726c200b288b05cd22049098a9d7c6baabe1..8ace770979a86a1293c80aa5da3684e5e9d94185 100644
--- a/mojo/tools/mopy/paths.py
+++ b/mojo/tools/mopy/paths.py
@@ -13,7 +13,8 @@ class Paths(object):
os.pardir, os.pardir, os.pardir, os.pardir))
self.mojo_dir = os.path.join(self.src_root, "mojo")
if build_directory:
- self.mojo_shell_path = os.path.join(self.src_root, build_directory,
- "mojo_shell")
+ self.build_dir = os.path.join(self.src_root, build_directory)
+ self.mojo_shell_path = os.path.join(self.build_dir, "mojo_shell")
else:
+ self.build_dir = None
self.mojo_shell_path = None
« benchmarks/startup/run.py ('K') | « mojo/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698