author Dustin J. Mitchell <dustin@mozilla.com>
Thu, 12 May 2016 15:11:52 +0000
changeset 366368 427e0cb5e394a9e3b8047a0681675f350c92462d
parent 347884 26b2eb531d94055e19f05389b5646f4c3b1181ca
child 367367 d397b0f2b11730166b96481a7a9955cbe775a5fd
child 373761 877084b563e20050f0ebc1782396c40d3694c8b5
child 375635 be08973c3abfa779fd37bf2adf4cff201f004fa4
child 376135 49b5ac9dc7b725d27d216c2f71fc8f966929b4d1
permissions -rw-r--r--
Bug 1258497: Implement a new taskgraph generation system; r?gps The `taskgraph` package generates TaskCluster task graphs based on collections of task "kinds". Initially, there is only one kind, the "legacy" kind, which reads the YAML files from `testing/taskcluster/tasks` to generate the task graph. Try syntax is implemented by filtering the tasks in the taskgraph after it has been created, then extending the result to include any prerequisite tasks. A collection of `mach taskgraph` subcommands are provided for developers to extend or debug the task-graph generation process. MozReview-Commit-ID: 1TJCns4XxZ8

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

option('--with-gonk', nargs=1, help='Path to the gonk base directory')

def gonkdir(value):
    return value[0]

add_old_configure_assignment('gonkdir', gonkdir)
           depends_if(gonkdir)(lambda x: os.path.join(x, 'ndk')))

def gonk_toolkit(_):
    return 'cairo-gonk'

imply_option('--enable-default-toolkit', gonk_toolkit)

option('--with-gonk-toolchain-prefix', nargs=1,
       help='Prefix to gonk toolchain commands')

def gonk_toolchain_prefix(value):
    return value

imply_option('--with-toolchain-prefix', gonk_toolchain_prefix)