diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 01:07:38 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 01:07:38 +0000 |
commit | b2fc0c903f8ffdb9be7620e1f387d4aa6b735845 (patch) | |
tree | a32dc76ecafce155e5afac414e3df4d7f3eeddbb /build/android/adb_run_chromium_testshell | |
parent | c00bbd693988e39bd5236ee30c76305a8b90480b (diff) | |
download | chromium_src-b2fc0c903f8ffdb9be7620e1f387d4aa6b735845.zip chromium_src-b2fc0c903f8ffdb9be7620e1f387d4aa6b735845.tar.gz chromium_src-b2fc0c903f8ffdb9be7620e1f387d4aa6b735845.tar.bz2 |
Add build/android scripts for Chromium TestShell
This is to match existing scripts for Content Shell.
There seem to be inconsistency in usages of 'testshell' vs. 'test_shell'. Since the build target is called 'chromium_testshell', and the package is called 'org.chromium.chrome.testshell', I'm leaning towards using this spelling.
R=digit@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11346007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/adb_run_chromium_testshell')
-rwxr-xr-x | build/android/adb_run_chromium_testshell | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/android/adb_run_chromium_testshell b/build/android/adb_run_chromium_testshell new file mode 100755 index 0000000..7829a76 --- /dev/null +++ b/build/android/adb_run_chromium_testshell @@ -0,0 +1,14 @@ +#!/bin/bash +# +# 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. + +if [ $# -gt 0 ] ; then + INTENT_ARGS='-d "$1"' # e.g. a URL +fi + +adb shell am start \ + -a android.intent.action.VIEW \ + -n org.chromium.chrome.testshell/.ChromiumTestShellActivity \ + $INTENT_ARGS |