• jbudorick's avatar
    [Android] Add zip pushing and refine push mode selection. · b53e3ccc
    jbudorick authored
    This patch revises the implementation of DeviceUtils.PushChangedFiles
    and changes its interface (slightly).
    
    PushChangedFiles now:
      - takes a list of (host_path, device_path) tuples, each of which are
        analogous to the original parameters.
      - continues to use AndroidCommands.GetFilesChanged to determine which
        files need pushing
      - attempts to pick the fastest method out of:
        - individual file pushes
        - entire directory pushes
        - zip-push-unzip
    
    BUG=400440
    
    Review URL: https://codereview.chromium.org/646523002
    
    Cr-Commit-Position: refs/heads/master@{#299098}
    b53e3ccc
__init__.py 162 Bytes