Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2373)

Unified Diff: build/android/adb_install_content_shell

Issue 10993069: Adds AndroidWebView and ChromiumTestShell tests to the Android FYI bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Isaac's comments. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/buildbot/buildbot_functions.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_install_content_shell
diff --git a/build/android/adb_install_content_shell b/build/android/adb_install_content_shell
deleted file mode 100755
index 1af1df4110f905027778d9ddb6760bf327213793..0000000000000000000000000000000000000000
--- a/build/android/adb_install_content_shell
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from multiprocessing import Process
-import optparse
-import os
-import sys
-
-from pylib import android_commands
-from pylib import test_options_parser
-from pylib import constants
-
-
-def InstallContentShell(device, build_type):
- apk_path = os.path.join(os.environ['CHROME_SRC'],
- 'out', build_type,
- constants.SDK_BUILD_APKS_DIR, 'ContentShell-debug.apk')
- result = android_commands.AndroidCommands(device=device).ManagedInstall(
- apk_path, False, 'org.chromium.content_shell')
- print '----- Installed on %s -----' % device
- print result
-
-
-parser = optparse.OptionParser()
-test_options_parser.AddBuildTypeOption(parser)
-options, args = parser.parse_args(sys.argv)
-
-devices = android_commands.GetAttachedDevices()
-if not devices:
- raise Exception('Error: no connected devices')
-
-procs = []
-for device in devices:
- p = Process(target=InstallContentShell, args=(device, options.build_type))
- p.start()
- procs += [p]
-
-for p in procs:
- p.join()
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/buildbot/buildbot_functions.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698