| 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)
|
|
|