tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

android-arm-profile-generation.py (1346B)


      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/arm 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-android30-x86",
     12    "emulator_process_name": "qemu-system-x86",
     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        "4096",
     24        "-cores",
     25        "4",
     26        "-skin",
     27        "1080x1920",
     28        "-no-snapstorage",
     29        "-no-snapshot",
     30        # Disables first-run dialogs
     31        "-prop",
     32        "ro.test_harness=true",
     33    ],
     34    "exes": {
     35        "adb": "%(abs_sdk_dir)s/platform-tools/adb",
     36    },
     37    "env": {
     38        "DISPLAY": ":0.0",
     39        "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",
     40        # "LIBGL_DEBUG": "verbose"
     41    },
     42    "bogomips_minimum": 3000,
     43    "android_version": 30,
     44    "os_version": "11.0",
     45    "is_emulator": True,
     46 }