Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index 65aab3c3333d6d3e43d1e793f5d15c9dec0f708e..6e1d4422c5ca41a700013ba2a2a5b81b102be7c7 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -595,9 +595,10 @@ class AndroidCommands(object): |
if not self._md5sum_path: |
default_build_type = os.environ.get('BUILD_TYPE', 'Debug') |
- md5sum_path = '%s/out/%s/md5sum_bin' % (CHROME_SRC, default_build_type) |
+ md5sum_path = '%s/%s/md5sum_bin' % (cmd_helper.OutDirectory(), |
+ default_build_type) |
if not os.path.exists(md5sum_path): |
- md5sum_path = '%s/out/Release/md5sum_bin' % (CHROME_SRC) |
+ md5sum_path = '%s/Release/md5sum_bin' % cmd_helper.OutDirectory() |
if not os.path.exists(md5sum_path): |
print >> sys.stderr, 'Please build md5sum.' |
sys.exit(1) |