Index: build/android/pylib/gtest/test_package_exe.py |
diff --git a/build/android/pylib/gtest/test_package_exe.py b/build/android/pylib/gtest/test_package_exe.py |
index aa3374e29ce056ce839c364b1584b75cdf08bdc2..7cdcb99e5586b56c468c0fd7acd320da266b8e79 100644 |
--- a/build/android/pylib/gtest/test_package_exe.py |
+++ b/build/android/pylib/gtest/test_package_exe.py |
@@ -116,9 +116,8 @@ class TestPackageExecutable(TestPackage): |
constants.TEST_EXECUTABLE_DIR, '%s_deps' % self.suite_name) |
cmd = [] |
- for wrapper in (device.GetDevicePieWrapper(), self.tool.GetTestWrapper()): |
- if wrapper: |
- cmd.append(wrapper) |
+ if self.tool.GetTestWrapper(): |
+ cmd.append(self.tool.GetTestWrapper()) |
cmd.extend([ |
posixpath.join(constants.TEST_EXECUTABLE_DIR, self.suite_name), |
'--gtest_list_tests']) |