| Index: build/android/install_emulator_deps.py
|
| diff --git a/build/android/install_emulator_deps.py b/build/android/install_emulator_deps.py
|
| index ff84367a7ec0bf7fed7d4a890cf0ae79c411ca66..ed6ab5e8f96ffa79a0557dc35bc0cd2870fd00ed 100755
|
| --- a/build/android/install_emulator_deps.py
|
| +++ b/build/android/install_emulator_deps.py
|
| @@ -59,7 +59,11 @@ def CheckKVM():
|
| Returns:
|
| True if kvm-ok returns 0 (already enabled)
|
| """
|
| - rc = cmd_helper.RunCmd(['kvm-ok'])
|
| + try:
|
| + rc = cmd_helper.RunCmd(['kvm-ok'])
|
| + except Exception, e:
|
| + logging.info('kvm-ok not installed')
|
| + return False
|
| return not rc
|
|
|
|
|
| @@ -131,6 +135,8 @@ def main(argv):
|
| else:
|
| GetSDK()
|
|
|
| + logging.info('Emulator deps for ARM emulator complete.')
|
| +
|
| if CheckX86Image():
|
| logging.info('system-images directory already exists.')
|
| else:
|
|
|