Index: build/android/pylib/gtest/test_runner.py |
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py |
index c47bf66dfcef0cf325c364e9203b3fa517c4882c..e4f98ff8f64bf2f3ed0daebc67b8741ac6e64d89 100644 |
--- a/build/android/pylib/gtest/test_runner.py |
+++ b/build/android/pylib/gtest/test_runner.py |
@@ -52,7 +52,8 @@ class TestRunner(base_test_runner.BaseTestRunner): |
timeout = timeout * 2 |
self._timeout = timeout * self.tool.GetTimeoutScale() |
- self._perf_controller = perf_control.PerfControl(self.adb) |
+ if _TestSuiteRequiresHighPerfMode(self.test_package.suite_name): |
+ self._perf_controller = perf_control.PerfControl(self.adb) |
#override |
def InstallTestPackage(self): |