diff options
author | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-20 12:06:53 +0000 |
---|---|---|
committer | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-20 12:06:53 +0000 |
commit | 13485fa0a0cbfb97b66cb52a298ddd278d247ec8 (patch) | |
tree | a8dfbfee2d81cb3ec82b15edd9919c904d6dbf91 /build | |
parent | 67fcbafb309eece99f37c65851cc9fa7f6fbfcc3 (diff) | |
download | chromium_src-13485fa0a0cbfb97b66cb52a298ddd278d247ec8.zip chromium_src-13485fa0a0cbfb97b66cb52a298ddd278d247ec8.tar.gz chromium_src-13485fa0a0cbfb97b66cb52a298ddd278d247ec8.tar.bz2 |
[android_webview] Add test shell for webview.
This adds a simple test shell (most code stolen from chrome testshell)
for android_webview testing.
The only currently supported rendering mode is s/w rendering.
BUG=None
Android_webview-only change, ran through trybots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12317015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/adb_run_android_webview_shell | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build/android/adb_run_android_webview_shell b/build/android/adb_run_android_webview_shell new file mode 100755 index 0000000..4c10f85 --- /dev/null +++ b/build/android/adb_run_android_webview_shell @@ -0,0 +1,15 @@ +#!/bin/bash +# +# Copyright (c) 2013 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.android_webview.shell/.AndroidWebViewTestShellActivity \ + $INTENT_ARGS + |