зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1231491 - Warn when android-emulator run from a non-Android context; r=jmaher
This commit is contained in:
Родитель
a6d6d5ef55
Коммит
66ccc940ca
|
@ -255,6 +255,15 @@ class AndroidEmulatorCommands(MachCommandBase):
|
|||
self.log(logging.WARN, "emulator", {},
|
||||
"Unable to verify that emulator is running.")
|
||||
|
||||
if conditions.is_android(self):
|
||||
self.log(logging.INFO, "emulator", {},
|
||||
"Use 'mach install' to install or update Firefox on your emulator.")
|
||||
else:
|
||||
self.log(logging.WARN, "emulator", {},
|
||||
"No Firefox for Android build detected.\n"
|
||||
"Switch to a Firefox for Android build context or use 'mach bootstrap'\n"
|
||||
"to setup an Android build environment.")
|
||||
|
||||
if wait:
|
||||
self.log(logging.INFO, "emulator", {},
|
||||
"Waiting for Android emulator to close...")
|
||||
|
|
Загрузка…
Ссылка в новой задаче