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

Unified Diff: build/android/pylib/local/device/local_device_gtest_run.py

Issue 1398953002: Android gtest runner: Create only a single ApkHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest-faster-10
Patch Set: rebase Created 5 years, 2 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 | « build/android/pylib/gtest/gtest_test_instance.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/local/device/local_device_gtest_run.py
diff --git a/build/android/pylib/local/device/local_device_gtest_run.py b/build/android/pylib/local/device/local_device_gtest_run.py
index 0f360d4a9e943045c946f68689f98788fd2966e9..23604472ce638633e998bf60aa1f499634981dd0 100644
--- a/build/android/pylib/local/device/local_device_gtest_run.py
+++ b/build/android/pylib/local/device/local_device_gtest_run.py
@@ -55,7 +55,7 @@ def PullAppFilesImpl(device, package, files, directory):
class _ApkDelegate(object):
def __init__(self, test_instance):
self._activity = test_instance.activity
- self._apk = test_instance.apk
+ self._apk_helper = test_instance.apk_helper
self._package = test_instance.package
self._runner = test_instance.runner
self._permissions = test_instance.permissions
@@ -64,7 +64,7 @@ class _ApkDelegate(object):
self._extras = test_instance.extras
def Install(self, device):
- device.Install(self._apk, permissions=self._permissions)
+ device.Install(self._apk_helper, permissions=self._permissions)
def Run(self, test, device, flags=None, **kwargs):
extras = dict(self._extras)
« no previous file with comments | « build/android/pylib/gtest/gtest_test_instance.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698