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

Side by Side Diff: build/android/emulator.py

Issue 8667008: Fix python scripts in src/build/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Provides an interface to start and stop Android emulator. 6 """Provides an interface to start and stop Android emulator.
7 7
8 Assumes system environment ANDROID_NDK_ROOT has been set. 8 Assumes system environment ANDROID_NDK_ROOT has been set.
9 9
10 Emulator: The class provides the methods to launch/shutdown the emulator with 10 Emulator: The class provides the methods to launch/shutdown the emulator with
11 the android virtual device named 'buildbot' . 11 the android virtual device named 'buildbot' .
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 """Shuts down the process started by launch.""" 75 """Shuts down the process started by launch."""
76 self.popen.terminate() 76 self.popen.terminate()
77 77
78 78
79 def main(argv): 79 def main(argv):
80 Emulator().launch() 80 Emulator().launch()
81 81
82 82
83 if __name__ == '__main__': 83 if __name__ == '__main__':
84 main(sys.argv) 84 main(sys.argv)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698