author Philipp Kewisch <>
Sat, 19 Nov 2016 20:54:33 +0100
changeset 20730 c957f6a30b9e7e1e544194de244da1d6a1cea083
parent 12093 4c46112cb67718e10cd8043d87984ef37b52acbd
child 21819 f4f277cc17496900064876b2564861ae9d3ab293
permissions -rw-r--r--
Bug 1318258 - Link libical and backend with libxul after binary components have been removed. r=aleth MozReview-Commit-ID: 2fIa2mYxVTl

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