android_emulator_build module

class android_emulator_build.EmulatorBuild(require_config_file=False)[source]

Bases: mozharness.base.script.BaseScript, mozharness.mozilla.purge.PurgeMixin

adb_e(commands)[source]
android_apilevel(tag)[source]
apt_add_repo(repo)[source]
apt_get(pkgs)[source]
apt_get_dependencies()[source]
apt_update()[source]
build_aosp()[source]
build_kernel()[source]
build_orangutan_su()[source]
bundle_avds()[source]
bundle_emulators()[source]
checkout_orangutan()[source]
clone_customized_avd()[source]
config_options = [[['--host-arch'], {'dest': 'host_arch', 'help': 'architecture of the host the emulator will run on (x86, x86_64; default autodetected)'}], [['--target-arch'], {'dest': 'target_arch', 'help': 'architecture of the target the emulator will emulate (armv5te, armv7a, x86; default armv7a)'}], [['--android-version'], {'dest': 'android_version', 'help': 'android version to build (eg. 2.3.7, 4.0, 4.3.1, gingerbread, ics, jb; default gingerbread)'}], [['--android-tag'], {'dest': 'android_tag', 'help': 'android tag to check out (eg. android-2.3.7_r1; default inferred from --android-version)'}], [['--patch'], {'dest': 'patch', 'help': "'dir=url' comma-separated list of patches to apply to AOSP before building (eg. development=http://foo.com/bar.patch; default inferred)"}], [['--android-apilevel'], {'dest': 'android_apilevel', 'help': 'android API-level to build AVD for (eg. 10, 14, 18; default inferred from --android-version)'}], [['--android-url'], {'dest': 'android_url', 'help': 'where to fetch AOSP from, default https://android.googlesource.com/platform/manifest'}], [['--ndk-version'], {'dest': 'ndk_version', 'help': 'version of the NDK to fetch, default r9'}], [['--install-android-dir'], {'dest': 'install_android_dir', 'help': 'location bundled AVDs will be unpacked to, default /home/cltbld/.android'}], [['--avd-count'], {'dest': 'avd_count', 'help': 'number of AVDs to build, default 4'}], [['--jdk'], {'dest': 'jdk', 'help': 'which jdk to use (sun or openjdk; default sun)'}]]
cpu_specific_args(avddir)[source]
customize_avd()[source]
download_aosp()[source]
download_kernel()[source]
download_ndk()[source]
download_test_binaries()[source]
emu_env()[source]
is_arm_target()[source]
is_armv7_target()[source]
make_base_avd()[source]
make_one_avd(avdname)[source]
ndk_bin(b)[source]
ndk_bin_dir()[source]
ndk_cross_prefix()[source]
ndk_sysroot()[source]
patch_aosp()[source]
select_android_tag(vers)[source]
select_patches(tag)[source]
write_registry_file(avddir, avdname)[source]
android_emulator_build.sniff_host_arch()[source]