tor-browser

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

mac_config.py (1789B)


      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 import os
      6 import sys
      7 
      8 VENV_PATH = "%s/build/venv" % os.getcwd()
      9 
     10 config = {
     11    "log_name": "raptor",
     12    "installer_path": "installer.exe",
     13    "virtualenv_path": VENV_PATH,
     14    "title": os.uname()[1].lower().split(".")[0],
     15    "default_actions": [
     16        "clobber",
     17        "download-and-extract",
     18        "populate-webroot",
     19        "create-virtualenv",
     20        "install-chromium-distribution",
     21        "install",
     22        "run-tests",
     23    ],
     24    "run_cmd_checks_enabled": True,
     25    "preflight_run_cmd_suites": [
     26        {
     27            "name": "verify refresh rate",
     28            "cmd": [
     29                sys.executable,
     30                os.path.join(
     31                    os.getcwd(),
     32                    "mozharness",
     33                    "external_tools",
     34                    "macosx_resolution_refreshrate.py",
     35                ),
     36                "--check=refresh-rate",
     37            ],
     38            "architectures": ["64bit"],
     39            "halt_on_failure": True,
     40            "enabled": True,
     41        },
     42        {
     43            "name": "verify screen resolution",
     44            "cmd": [
     45                sys.executable,
     46                os.path.join(
     47                    os.getcwd(),
     48                    "mozharness",
     49                    "external_tools",
     50                    "macosx_resolution_refreshrate.py",
     51                ),
     52                "--check=resolution",
     53            ],
     54            "architectures": ["64bit"],
     55            "halt_on_failure": True,
     56            "enabled": True,
     57        },
     58    ],
     59    "postflight_run_cmd_suites": [],
     60    "tooltool_cache": "/builds/tooltool_cache",
     61 }