1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/build/android/adb_run_content_shell Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +#!/bin/bash 1.5 +# 1.6 +# Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.7 +# Use of this source code is governed by a BSD-style license that can be 1.8 +# found in the LICENSE file. 1.9 + 1.10 +if [ $# -gt 0 ] ; then 1.11 + INTENT_ARGS='-d "$1"' # e.g. a URL 1.12 +fi 1.13 + 1.14 +adb shell am start \ 1.15 + -a android.intent.action.VIEW \ 1.16 + -n org.chromium.content_shell/.ContentShellActivity \ 1.17 + $INTENT_ARGS