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 4cf79345104446e50f16772a4440fd47e9586962..dd2e608d095813553c6adbcb6aaed638e86a2101 100644 |
--- a/build/android/pylib/gtest/gtest_test_instance.py |
+++ b/build/android/pylib/gtest/gtest_test_instance.py |
@@ -145,6 +145,7 @@ class GtestTestInstance(test_instance.TestInstance): |
self._activity = helper.GetActivityName() |
self._package = helper.GetPackageName() |
self._runner = helper.GetInstrumentationName() |
+ self._permissions = helper.GetPermissions() |
self._extras = { |
_EXTRA_NATIVE_TEST_ACTIVITY: self._activity, |
} |
@@ -320,6 +321,10 @@ class GtestTestInstance(test_instance.TestInstance): |
return self._package |
@property |
+ def permissions(self): |
+ return self._permissions |
+ |
+ @property |
def runner(self): |
return self._runner |