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

optional_url=$1

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