Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: build/android/adb_chromium_testshell_command_line

Issue 189133005: Rename chromium_testshell target to chrome_shell_apk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/adb_chrome_shell_command_line ('k') | build/android/adb_gdb_chrome_shell » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_chromium_testshell_command_line
diff --git a/build/android/adb_chromium_testshell_command_line b/build/android/adb_chromium_testshell_command_line
deleted file mode 100755
index 8c09e3f386c4782e5a49e241638bc1a651912257..0000000000000000000000000000000000000000
--- a/build/android/adb_chromium_testshell_command_line
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/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.
-
-# If no flags are given, prints the current chromium test shell flags.
-#
-# Otherwise, the given flags are used to REPLACE (not modify) the chromium
-# test shell flags. For example:
-# adb_chromium_testshell_command_line --enable-webgl
-#
-# To remove all chromium test shell flags, pass an empty string for the flags:
-# adb_chromium_testshell_command_line ""
-
-CMD_LINE_FILE=/data/local/tmp/chromium-testshell-command-line
-
-if [ $# -eq 0 ] ; then
- # If nothing specified, print the command line (stripping off "chromium_testshell")
- tempfile=$(tempfile)
- adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
- if [ $? -eq 0 ] ; then
- rm $tempfile
- adb shell cat $CMD_LINE_FILE | cut -d " " -f "2-" 2>/dev/null
- fi
-elif [ $# -eq 1 ] && [ "$1" = '' ] ; then
- # If given an empty string, delete the command line.
- set -x
- adb shell rm $CMD_LINE_FILE >/dev/null
-else
- # Else set it.
- set -x
- adb shell "echo 'chromium_testshell $*' > $CMD_LINE_FILE"
- # Prevent other apps from modifying flags -- this can create security issues.
- adb shell chmod 0664 $CMD_LINE_FILE
-fi
-
« no previous file with comments | « build/android/adb_chrome_shell_command_line ('k') | build/android/adb_gdb_chrome_shell » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698