summaryrefslogtreecommitdiffstats
path: root/build/android/adb_run_chrome_shell
blob: 79c4c32b5c3408387ec211d304d88538e2b3b06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#
# Copyright 2014 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.chrome.shell/.ChromeShellActivity \
  ${optional_url:+-d "$optional_url"}