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

Unified Diff: devil/devil/android/tools/screenshot.py

Issue 2923443002: [devil] Add system app replacement wrapper script. (Closed)
Patch Set: docstrings for device_temp_file Created 3 years, 6 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 | « devil/devil/android/tools/provision_devices.py ('k') | devil/devil/android/tools/script_common.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/android/tools/screenshot.py
diff --git a/devil/devil/android/tools/screenshot.py b/devil/devil/android/tools/screenshot.py
index a264c4f3d4fc1e200987c68928177ac7f03f4d09..01b56b2604b1ce38681a3ee4cbcea91140b8345b 100755
--- a/devil/devil/android/tools/screenshot.py
+++ b/devil/devil/android/tools/screenshot.py
@@ -22,9 +22,7 @@ logger = logging.getLogger(__name__)
def main():
# Parse options.
parser = argparse.ArgumentParser(description=__doc__)
- parser.add_argument('-d', '--device', dest='devices', action='append',
- help='Serial number of Android device to use.')
- parser.add_argument('--blacklist-file', help='Device blacklist JSON file.')
+ script_common.AddDeviceArguments(parser)
parser.add_argument('-f', '--file', metavar='FILE',
help='Save result to file instead of generating a '
'timestamped file name.')
« no previous file with comments | « devil/devil/android/tools/provision_devices.py ('k') | devil/devil/android/tools/script_common.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698