Commit 3b62e0f6 authored by Rob Lemley's avatar Rob Lemley
Browse files

Bug 1731158 - Allow initializing mach from a Thunderbird source repo....

Bug 1731158 - Allow initializing mach from a Thunderbird source repo. r=firefox-build-system-reviewers,mhentges

mach will initialize from comm/build/mach_initialize.py if it's present.
See bug 1731160. The initialization function wraps the one in build/mach_initialize.py,
then extends sys.path and loads more mach_commands.py files

Differential Revision: https://phabricator.services.mozilla.com/D131869
parent f9fa2783
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
thunderbird-packages.txt:comm/build/virtualenv_packages.txt
pth:build
pth:config
pth:config/mozunit
+2 −0
Original line number Diff line number Diff line
@@ -93,6 +93,8 @@ def load_mach(dir_path, mach_path):

def check_and_get_mach(dir_path):
    initialize_paths = (
        # Run Thunderbird's mach_initialize.py if it exists
        'comm/build/mach_initialize.py',
        'build/mach_initialize.py',
        # test package initialize
        'tools/mach_initialize.py',