testing/mozharness/configs/single_locale/tc_macosx64.py
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 21 Jun 2017 16:36:23 +0900
changeset 598739 aae9ee0bda8e2a3464feb896825e0e14c2d2c5fd
parent 566277 e873713a2a8167a7cc248379d2c0a85684beb1c5
child 602348 0a1e9c1febef015c1884e07e378d8773f667fdee
permissions -rw-r--r--
Bug 1374946 - Only download what's needed for l10n repacks. r?Callek As of bug 1373150, l10n repacks do not require a anything to compile, so they can stop downloading most toolchains from tooltool. However some tools are still required, such as mozmake on Windows and DMG-related tools on cross OSX.

import os

EN_US_BINARY_URL = "%(en_us_binary_url)s"

config = {
    "locales_file": "src/browser/locales/all-locales",
    "tools_repo": "https://hg.mozilla.org/build/tools",
    "mozconfig": "src/browser/config/mozconfigs/macosx64/l10n-mozconfig",
    "bootstrap_env": {
        "NO_MERCURIAL_SETUP_CHECK": "1",
        "MOZ_OBJDIR": "obj-l10n",
        "EN_US_BINARY_URL": os.environ.get("EN_US_BINARY_URL", EN_US_BINARY_URL),
        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
        "MOZ_UPDATE_CHANNEL": "%(update_channel)s",
        "DIST": "%(abs_objdir)s",
        "LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
        "L10NBASEDIR": "../../l10n",
        "MOZ_MAKE_COMPLETE_MAR": "1",
        'TOOLTOOL_CACHE': os.environ.get('TOOLTOOL_CACHE'),
    },
    "upload_env": {
        'UPLOAD_HOST': 'localhost',
        'UPLOAD_PATH': '/home/worker/artifacts/',
    },

    "tooltool_url": 'http://relengapi/tooltool/',
    'tooltool_manifest_src': "browser/config/tooltool-manifests/macosx64/cross-l10n.manifest",
    "mozilla_dir": "src/",
    "simple_name_move": True,
}