tor-browser

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

android_hw_config.py (974B)


      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 
      7 config = {
      8    "log_name": "raptor",
      9    "title": os.uname()[1].lower().split(".")[0],
     10    "default_actions": [
     11        "clobber",
     12        "download-and-extract",
     13        "populate-webroot",
     14        "create-virtualenv",
     15        "install-chrome-android",
     16        "install-chromium-android",
     17        "install-chromium-distribution",
     18        "install",
     19        "run-tests",
     20    ],
     21    "tooltool_cache": "/builds/tooltool_cache",
     22    "download_tooltool": True,
     23    "hostutils_manifest_path": "testing/config/tooltool-manifests/linux64/hostutils.manifest",
     24 }
     25 
     26 # raptor will pick these up in mitmproxy.py, doesn't use the mozharness config
     27 os.environ["TOOLTOOLCACHE"] = config["tooltool_cache"]
     28 os.environ["HOSTUTILS_MANIFEST_PATH"] = config["hostutils_manifest_path"]