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

Unified Diff: build/android/enable_asserts.py

Issue 10689132: [android] Upstream / sync most of build/android and build/android/pylib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | build/android/lighttpd_server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/enable_asserts.py
diff --git a/build/android/enable_asserts.py b/build/android/enable_asserts.py
index 37afd3fe550962747366185b9777e5db752cf8dc..5659e9e2a8824607692ef99e87f1deba666115d0 100755
--- a/build/android/enable_asserts.py
+++ b/build/android/enable_asserts.py
@@ -8,7 +8,6 @@
from pylib import android_commands
import optparse
-import os
import sys
@@ -20,7 +19,7 @@ def main(argv):
option_parser.add_option('--disable_asserts', dest='set_asserts',
action='store_false', default=None,
help='Removes the dalvik.vm.enableassertions property')
- options, args = option_parser.parse_args(argv)
+ options, _ = option_parser.parse_args(argv)
commands = android_commands.AndroidCommands()
if options.set_asserts != None:
« no previous file with comments | « no previous file | build/android/lighttpd_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698