# 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/.
import ctypes import os import subprocess import sys
from mozfile import which
from mozboot.base import BaseBootstrapper
def is_aarch64_host(): from ctypes import wintypes
gotValue = iswow64process2(
currentProcess, ctypes.byref(processMachine), ctypes.byref(nativeMachine)
) # If this call fails, we have no idea. ifnot gotValue: returnFalse
def __init__(self, **kwargs): if ( "MOZ_WINDOWS_BOOTSTRAP"notin os.environ or os.environ["MOZ_WINDOWS_BOOTSTRAP"] != "1"
): raise NotImplementedError( "Bootstrap support for Windows is under development. For " "now use MozillaBuild to set up a build environment on " "Windows. If you are testing Windows Bootstrap support, " "try `export MOZ_WINDOWS_BOOTSTRAP=1`"
)
BaseBootstrapper.__init__(self, **kwargs) ifnot which("pacman"): raise NotImplementedError( "The Windows bootstrapper only works with msys2 with " "pacman. Get msys2 at http://msys2.github.io/"
)
print("Using an experimental bootstrapper for Windows.")
def install_mobile_android_packages(self, mozconfig_builder): raise NotImplementedError( "We do not support building Android on Windows. Sorry!"
)
def ensure_mobile_android_packages(self): raise NotImplementedError( "We do not support building Android on Windows. Sorry!"
)
def install_mobile_android_artifact_mode_packages(self, mozconfig_builder): raise NotImplementedError( "We do not support building Android on Windows. Sorry!"
)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.