build/mach_bootstrap.py
author Justin Wood <Callek@gmail.com>
Wed, 12 Feb 2014 20:47:24 -0500
branchSEA_COMM280_20140210_RELBRANCH
changeset 17016 c557c752cb53235e43ab9f1c57bfe2e841ef93e0
parent 15096 4c46112cb67718e10cd8043d87984ef37b52acbd
child 28491 f4f277cc17496900064876b2564861ae9d3ab293
permissions -rw-r--r--
Bug 949884 - Disable pulseaudio in SeaMonkey. r=Callek a=IanN on a CLOSED TREE

# 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/.

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)