author Alexander Surkov <surkov.alexander@gmail.com>
Wed, 25 May 2016 15:48:45 -0400
changeset 333082 2ab4b64da78750d82f120faa25327f25cf11e579
parent 329661 26b2eb531d94055e19f05389b5646f4c3b1181ca
child 341888 f6f4144c4dbcdf009c356de28c9a043c3aed6c99
permissions -rw-r--r--
Bug 1268069 - Embeded object collection may be not updated on removals. r=yzen, a=ritu

# -*- 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)