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

Unified Diff: build/android/adb_command_line.py

Issue 1750393003: Replaced apk_command_line with adb_cast_shell_command_line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 4 years, 10 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_cast_shell_command_line ('k') | chromecast/tools/apk_command_line » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_command_line.py
diff --git a/build/android/adb_command_line.py b/build/android/adb_command_line.py
index a74094d6ff87436644d13bbdc433606dd52297fa..c242aa1c0f41ca5c7c4f6a355b190190837fb1a4 100755
--- a/build/android/adb_command_line.py
+++ b/build/android/adb_command_line.py
@@ -28,6 +28,8 @@ Otherwise: Writes command-line file.
help='Target device for apk to install on.')
parser.add_argument('--device-path', required=True,
help='Remote path to flags file.')
+ parser.add_argument('-e', '--executable', dest='executable', default='chrome',
+ help='Name of the executable.')
args, remote_args = parser.parse_known_args()
devil_chromium.Initialize()
@@ -71,7 +73,7 @@ Otherwise: Writes command-line file.
# Set flags.
quoted_args = ' '.join(cmd_helper.SingleQuote(x) for x in remote_args)
- flags_str = 'chrome %s' % quoted_args
+ flags_str = ' '.join([args.executable, quoted_args])
def write_flags(device):
device.WriteFile(args.device_path, flags_str, as_root=as_root)
« no previous file with comments | « build/android/adb_cast_shell_command_line ('k') | chromecast/tools/apk_command_line » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698