Index: build/android/pylib/gtest/gtest_test_instance.py |
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py |
index d276592d793bdc5abf0a0a0984074566a25356ab..626e120ac19e8741a8f0d8055c60c9b9f22a97db 100644 |
--- a/build/android/pylib/gtest/gtest_test_instance.py |
+++ b/build/android/pylib/gtest/gtest_test_instance.py |
@@ -160,7 +160,7 @@ class GtestTestInstance(test_instance.TestInstance): |
if not os.path.exists(self._exe_path): |
self._exe_path = None |
- if not apk_path and not self._exe_path: |
+ if not self._apk_helper and not self._exe_path: |
error_func('Could not find apk or executable for %s' % self._suite) |
self._data_deps = [] |