author Patrick Cloke <>
Thu, 20 Jun 2013 16:05:48 -0400
changeset 14330 c29c9f0c7405ef30201d15cb96878cab15d1e9b0
parent 13509 4c46112cb67718e10cd8043d87984ef37b52acbd
permissions -rw-r--r--
Bug 884319 - Add http.jsm to toolkit for usage by Thunderbird FileLink, Lightning and Instantbird, r=fqueze,mconley,philipp,a=Standard8.

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