Index: build/android/buildbot/bb_device_steps.py |
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
index c3c344bf54ff9953866a233ed346ba87e53cad59..c9be13a045d26f404da1a804365f67c11fd52bb8 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -466,6 +466,8 @@ def ProvisionDevices(options): |
provision_cmd.append('--auto-reconnect') |
if options.skip_wipe: |
provision_cmd.append('--skip-wipe') |
+ if options.disable_location: |
+ provision_cmd.append('--disable-location') |
RunCmd(provision_cmd, halt_on_failure=True) |
@@ -713,6 +715,8 @@ def GetDeviceStepsOptParser(): |
help='Push script to device which restarts adbd on disconnections.') |
parser.add_option('--skip-wipe', action='store_true', |
help='Do not wipe devices during provisioning.') |
+ parser.add_option('--disable-location', action='store_true', |
+ help='Disable location settings.') |
parser.add_option( |
'--logcat-dump-output', |
help='The logcat dump output will be "tee"-ed into this file') |