1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 option('--with-gonk', nargs=1, help='Path to the gonk base directory')
9 @depends_if('--with-gonk', '--help')
10 def gonkdir(value, _):
13 add_old_configure_assignment('gonkdir', gonkdir)
15 @depends_if('--with-gonk')
19 imply_option('--enable-default-toolkit', gonk_toolkit)
22 option('--with-gonk-toolchain-prefix', nargs=1,
23 help='Prefix to gonk toolchain commands')
25 @depends_if('--with-gonk-toolchain-prefix')
26 def gonk_toolchain_prefix(value):
29 imply_option('--with-toolchain-prefix', gonk_toolchain_prefix)
32 include('common.configure')