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) |