summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authornavabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 08:59:20 +0000
committernavabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 08:59:20 +0000
commit067433168c4d7ccf8dcfc6bacda3c50f4bcc103c (patch)
tree3fa9ce6becba8e7b331fdca53c4d2d5be581742f /build
parent8cff950cdc0822e7e9ec212d5f3b383d05d28503 (diff)
downloadchromium_src-067433168c4d7ccf8dcfc6bacda3c50f4bcc103c.zip
chromium_src-067433168c4d7ccf8dcfc6bacda3c50f4bcc103c.tar.gz
chromium_src-067433168c4d7ccf8dcfc6bacda3c50f4bcc103c.tar.bz2
Create sdcard image for emulator.
The emulator bot currently fails when waiting for the sdcard. The emulator does not fail when the emulator has an sdcard image present. This CL creates and adds the sdcard image for emulators. TBR=cmp@chromium.org BUG=164911 Review URL: https://chromiumcodereview.appspot.com/17094019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/pylib/utils/emulator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/android/pylib/utils/emulator.py b/build/android/pylib/utils/emulator.py
index a2343a1..226956f 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)