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

Unified Diff: build/android/pylib/linker/test_runner.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
Index: build/android/pylib/linker/test_runner.py
diff --git a/build/android/pylib/linker/test_runner.py b/build/android/pylib/linker/test_runner.py
index f64cb257a593966fa6f86aa2f807cb4c59e10fea..0e55fdf2dc9bb121157ca391aae99ba90677aeab 100644
--- a/build/android/pylib/linker/test_runner.py
+++ b/build/android/pylib/linker/test_runner.py
@@ -72,7 +72,8 @@ class LinkerTestRunner(base_test_runner.BaseTestRunner):
if not os.path.exists(apk_path):
raise Exception('%s not found, please build it' % apk_path)
- package_name = apk_helper.GetPackageName(apk_path)
+ package_name = apk_helper.GetPackageName(constants.ANDROID_SDK_TOOLS,
+ apk_path)
self.adb.ManagedInstall(apk_path, package_name)
#override

Powered by Google App Engine
This is Rietveld 408576698