Index: build/android/pylib/gtest/test_package_apk.py |
diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py |
index 3e579d20eb8350e05b5a8c821b395b6c094ceacb..8da3c749dbc63e29f1a33c744f53195dac3980e2 100644 |
--- a/build/android/pylib/gtest/test_package_apk.py |
+++ b/build/android/pylib/gtest/test_package_apk.py |
@@ -34,6 +34,10 @@ class TestPackageApk(TestPackage): |
self.suite_path = os.path.join( |
constants.GetOutDirectory(), 'apks', '%s.apk' % suite_name) |
self._package_info = constants.PACKAGE_INFO['content_browsertests'] |
+ elif suite_name == 'components_browsertests': |
+ self.suite_path = os.path.join( |
+ constants.GetOutDirectory(), 'apks', '%s.apk' % suite_name) |
+ self._package_info = constants.PACKAGE_INFO['components_browsertests'] |
else: |
self.suite_path = os.path.join( |
constants.GetOutDirectory(), '%s_apk' % suite_name, |
@@ -90,6 +94,15 @@ class TestPackageApk(TestPackage): |
# TODO(jbudorick) Handle this exception appropriately once the |
# conversions are done. |
pass |
+ elif self.suite_name == 'components_browsertests': |
+ try: |
+ device.RunShellCommand( |
+ 'rm -r %s/components_shell' % device.GetExternalStoragePath(), |
+ timeout=60 * 2) |
+ except device_errors.CommandFailedError: |
+ # TODO(jbudorick) Handle this exception appropriately once the |
+ # conversions are done. |
+ pass |
#override |
def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments): |