[telemetry] Don't require forwarder if we are using RNDIS on Android.

Review URL: https://chromiumcodereview.appspot.com/23653019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221627 0039d316-1c4b-4281-b951-d872f2087c98
parent 0696d1a9
...@@ -175,7 +175,8 @@ def FindAllAvailableBrowsers(finder_options, logging=real_logging): ...@@ -175,7 +175,8 @@ def FindAllAvailableBrowsers(finder_options, logging=real_logging):
# See if the "forwarder" is installed -- we need this to host content locally # See if the "forwarder" is installed -- we need this to host content locally
# but make it accessible to the device. # but make it accessible to the device.
if len(possible_browsers) and not adb_commands.HasForwarder(): if (len(possible_browsers) and not finder_options.android_rndis and
not adb_commands.HasForwarder()):
logging.warn('telemetry detected an android device. However,') logging.warn('telemetry detected an android device. However,')
logging.warn('Chrome\'s port-forwarder app is not available.') logging.warn('Chrome\'s port-forwarder app is not available.')
logging.warn('To build:') logging.warn('To build:')
......
...@@ -59,6 +59,8 @@ class BrowserFinderOptions(optparse.Values): ...@@ -59,6 +59,8 @@ class BrowserFinderOptions(optparse.Values):
self.output_file = None self.output_file = None
self.skip_navigate_on_repeat = False self.skip_navigate_on_repeat = False
self.android_rndis = False
def Copy(self): def Copy(self):
return copy.deepcopy(self) return copy.deepcopy(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment