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 186b8fcf4c9739cbfa2e4541ef1c6e77d571fcfa..b6f83b31b2e97637c55036da84b6c9b28f6f5d28 100644 |
--- a/build/android/pylib/gtest/gtest_test_instance.py |
+++ b/build/android/pylib/gtest/gtest_test_instance.py |
@@ -92,9 +92,10 @@ class GtestTestInstance(test_instance.TestInstance): |
raise ValueError('Platform mode currently supports only 1 gtest suite') |
self._suite = args.suite_name[0] |
- if self._suite == 'content_browsertests': |
- error_func('content_browsertests are not currently supported ' |
- 'in platform mode.') |
+ if (self._suite == 'content_browsertests' or |
+ self._suite == 'components_browsertests'): |
+ error_func('%s are not currently supported ' |
+ 'in platform mode.' % self._suite) |
self._apk_path = os.path.join( |
constants.GetOutDirectory(), 'apks', '%s.apk' % self._suite) |
else: |