author Mark Banner <>
Thu, 01 May 2014 11:09:23 +0100
changeset 23918 6ff01e40f815fde2c54543111d94edba830c28ab
parent 16282 4c46112cb67718e10cd8043d87984ef37b52acbd
child 53246 8a0755938d17d68109488e2712ee206f950ca6c5
child 53296 84bff8ee00a5e92861c4862ac61d7952aa6cb0b0
permissions -rw-r--r--
Test something with 10.6 xpcshell tests try: -b o -p macosx64 -u xpcshell -t none

# 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

from __future__ import unicode_literals

import os, sys

def bootstrap(topsrcdir, mozilla_dir=None):
    if mozilla_dir is None:
        mozilla_dir = os.path.join(topsrcdir, 'mozilla')
    sys.path[0:0] = [mozilla_dir]
    import build.mach_bootstrap
    return build.mach_bootstrap.bootstrap(topsrcdir, mozilla_dir)