Debian Codegraph @

testing/mozharness/configs/android/android-x86_64-profile-generation.py

raw
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 # mozharness configuration for Android x86/x86_64 7.0 unit tests
6 #
7 # This configuration should be combined with suite definitions and other
8 # mozharness configuration from android_common.py, or similar.
9
10 config = {
11 "emulator_avd_name": "mozemulator-x86_64",
12 "emulator_process_name": "qemu-system-x86_64",
13 "emulator_extra_args": [
14 "-gpu",
15 "on",
16 "-skip-adb-auth",
17 "-verbose",
18 "-show-kernel",
19 "-ranchu",
20 "-selinux",
21 "permissive",
22 "-memory",
23 "3072",
24 "-cores",
25 "4",
26 "-skin",
27 "800x1280",
28 # Build machines cannot use KVM (because it requires a privileged docker
29 # container) so we run the profile generation with -no-accel which disables
30 # hardware acceleration.
31 "-no-accel",
32 "-no-snapstorage",
33 "-no-snapshot",
34 # Disables first-run dialogs
35 "-prop",
36 "ro.test_harness=true",
37 ],
38 "exes": {
39 "adb": "%(abs_sdk_dir)s/platform-tools/adb",
40 },
41 "env": {
42 "DISPLAY": ":0.0",
43 "PATH": "%(PATH)s:%(abs_sdk_dir)s/emulator:%(abs_sdk_dir)s/tools:%(abs_sdk_dir)s/tools/bin:%(abs_sdk_dir)s/platform-tools",
44 # "LIBGL_DEBUG": "verbose"
45 },
46 "bogomips_minimum": 3000,
47 "android_version": 24,
48 "is_emulator": True,
49 }