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

Unified Diff: build/android/pylib/utils/emulator.py

Issue 17094019: Create sdcard image for emulator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sd card size a constant variable. Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/emulator.py
diff --git a/build/android/pylib/utils/emulator.py b/build/android/pylib/utils/emulator.py
index a2343a1c9f861bdc1095d72ca8101c3bbc7b8513..226956f073aab79885894d346812b1fe5ab88844 100755
--- a/build/android/pylib/utils/emulator.py
+++ b/build/android/pylib/utils/emulator.py
@@ -33,6 +33,8 @@ import run_command
# Android API level
API_TARGET = 'android-%s' % constants.ANDROID_SDK_VERSION
+# SD card size
+SDCARD_SIZE = '512M'
class EmulatorLaunchException(Exception):
"""Emulator failed to launch."""
@@ -202,6 +204,7 @@ class Emulator(object):
'--name', self.avd_name,
'--abi', abi_option,
'--target', API_TARGET,
+ '--sdcard', SDCARD_SIZE,
'--force',
]
avd_cmd_str = ' '.join(avd_command)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698