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

Unified Diff: tools/telemetry/telemetry/core/backends/adb_commands.py

Issue 167643002: android: Don't require aapt to be on the path during builds and tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rietfail Created 6 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
« build/android/gyp/apk_install.py ('K') | « build/java_apk.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/adb_commands.py
diff --git a/tools/telemetry/telemetry/core/backends/adb_commands.py b/tools/telemetry/telemetry/core/backends/adb_commands.py
index 737da375ff9b4cd974ebfc066bd503fb865b9569..31e691c44b398fb1115087e05cfce5c88048fef9 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -140,7 +140,8 @@ class AdbCommands(object):
constants.GetOutDirectory('Debug'), 'md5sum_bin_host'))):
constants.SetBuildType('Debug')
- apk_package_name = apk_helper.GetPackageName(apk_path)
+ apk_package_name = apk_helper.GetPackageName(constants.ANDROID_SDK_TOOLS,
+ apk_path)
return self._adb.ManagedInstall(apk_path, package_name=apk_package_name)
def StartActivity(self, package, activity, wait_for_completion=False,
« build/android/gyp/apk_install.py ('K') | « build/java_apk.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698