summaryrefslogtreecommitdiffstats
path: root/build/android/adb_run_android_webview_shell
blob: 1014a731f476608d8944c83bdc28ac8d6c2f0510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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.

optional_url=$1

adb shell am start \
  -a android.intent.action.VIEW \
  -n org.chromium.android_webview.shell/.AwShellActivity \
  ${optional_url:+-d "$optional_url"}