2017-02-17 05:56:12 +03:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-09-06 20:29:32 +03:00
|
|
|
from __future__ import absolute_import, print_function, unicode_literals
|
|
|
|
|
2017-02-17 05:56:12 +03:00
|
|
|
import os
|
|
|
|
|
|
|
|
GECKO = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
|
2017-11-30 20:07:02 +03:00
|
|
|
|
2018-01-27 00:09:35 +03:00
|
|
|
APP_VERSION_PATH = os.path.join(GECKO, "browser", "config", "version.txt")
|
|
|
|
VERSION_PATH = os.path.join(GECKO, "browser", "config", "version_display.txt")
|
|
|
|
|
2017-12-17 00:09:25 +03:00
|
|
|
# Maximum number of dependencies a single task can have
|
|
|
|
# https://docs.taskcluster.net/reference/platform/taskcluster-queue/references/api#createTask
|
2017-12-18 22:26:19 +03:00
|
|
|
# specifies 100, but we also optionally add the decision task id as a dep in
|
|
|
|
# taskgraph.create, so let's set this to 99.
|
|
|
|
MAX_DEPENDENCIES = 99
|
2017-12-17 00:09:25 +03:00
|
|
|
|
2017-11-30 20:07:02 +03:00
|
|
|
# Enable fast task generation for local debugging
|
|
|
|
# This is normally switched on via the --fast/-F flag to `mach taskgraph`
|
2017-12-08 06:23:57 +03:00
|
|
|
# Currently this skips toolchain task optimizations and schema validation
|
2017-11-30 20:07:02 +03:00
|
|
|
fast = False
|